Hi,
Just test some code below,
public static void main(String[] args){
final HelloWorldSwing hws = new HelloWorldSwing();
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
hws.createAndShowGUI();
}
});
}
The ide ask me to add final modifier for variable hws. I don't know why this is mandatory.
anyone knows
Thanks