You are welcome and thanks for the kind words.
Type: Posts; User: jps
You are welcome and thanks for the kind words.
The lines of code:
gui.pack();
gui.setVisible(true);
...those are just floating around inside your class, outside of any method.
You can declare and define variables in that area, but not "run...