Reputation: 1173
For example: can this be used in a class MyPane?
public class MyPane extends JRootPane{
public static JCheckBox Debug= new JCheckBox("Debug");
....
}
Will Swing have problem? Should we always put these assignment in invokeLater? Thanks.
Upvotes: 1
Views: 137