org.eclipse.swt.widgets.Text equivalent in Intellij

已回答

org.eclipse.swt.widgets.Text is a User Interface component for Textfield. This class has below methods.

setData( )  - Sets the application defined property of the receiver with the specified name to the given value.

getData - Returns the application defined property of the receiver with the specified name, or null if it has not been set.

Do we have any equivalent UI control in IntelliJ where I can set some properties(key/value) in that?

0
正式评论

Swing offers a similar mechanism via javax.swing.JComponent#putClientProperty and javax.swing.JComponent#getClientProperty

请先登录再写评论。