Thanks for that. Yes the code is cleaner now, you're right, but it's kind of difficult for me to get that separation because I do a console program first and then turn that into the proper GUI application. Also, another thing to say is the way I was taught - which it was probably wrong I can see now :-) - which is, having a file (xxxTest.java) that takes care of the GUI window only and the rest goes into the other file
Violet_82
89
Posting Whiz in Training
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
Violet_82
89
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.