Original Post
Okay...I''ve been studying Java, and of course writing little programs. But I am making the step up now, and I have the paper design down for a real SWING program. But my problem...where do I start? Well, actually, not where to start, but where do I begin seperating GUI code with other code? When I learned C++, reading other peoples code helped me separate the code into logical chunks, functions, et cetera. But with Java, I can never seem to find a program that actually breaks things up. Mainly because they are too small, or they are applets and do not apply. I''m writing a regular program, not an applet.
For example, when I design a GUI program in C++(I use Qt), there is a main function, where I just bring up the code to initialize, setup the GUI, and call a program loop. But in Java, many of the tutorials throw all of this into one big class. The main segment of code is really simple, and normally consists of only functions, and is very easy to follow. But with Java, I have not seen this. To me it all looks like chaos, even the examples SUN uses.
So I was wondering where I might be able to find some code of significant length, where I could see some real style and form.
My program is rather simple, it''s just a GUI interface for doing serial port transfers(but has to run on Solaris, Linux, and windows computers). So I chose to use Java, instead of having to learn MOTIF and MFC. I''ve always wanted to do something with Java anyways.