For new users to Swing, you might be interested in this Compiling and Running Swing Programs page.
As far as working environments, for on-campus courses we are using Eclipse. You only need the Java EE Developers version if you are in CSCI 611. Otherwise, the Java Developers version works fine.
Here is a rather explicit link for downloading Java and Eclipse that I give to my CSCI 111 classes downloading software If you use other
products with supplied classes other than the Java core, you will need to
To test that your code will work on my machine, I strongly recommend
that you test it on a friend's machine outside of any environment.
Due to rumors and other people's experience, example, I suggest that you not use J++ from Microsoft as their Java core classes have been tweaked which
makes them no longer portable to other platforms.
What do I use? I'm a little tweaked myself :-(
Please remember that Java and UNIX machines are case sensitive
so make sure your code is careful with files and capitals and spaces (don't
have spaces in file names). Also make sure
that your directory separators are / not \. Your java code is only
as portable as you make it...and programming environments do
play subtle tricks. For example:
If you are using an environment (such as JBuilder) you should read
the documentation to see if your GUIBuilder uses a default layout manager.
Most of these use NO default rather than the usual Java's default of
FlowLayout. Thus, what happens is that when you send me your stuff, and
I run it from the command line, your layout looks terrible on my machine...
it will only look alright on the platform you are using.
Additional information for JavaServerPages (JSPs): here and the tutorial
On the other hand, I have heard only good things about Eclipse and others ..
I use the JDK, emacs, and
the command line in UNIX :-) OK, OK, lately I have become partial to Eclipse for development.
LESSON always use an explicit Layout Manager. (suggest GridBag Layout) if
you want your java code to be portable. Additional software for the Advanced Java Class
I provide notes on how to set up servlets on our local machine
Finally, on Windows, do not put the beanbox under "Program Files" or a directory that has a space in it. It may cause problems with connectivity during runtime (cannot make adaptors). (J2EE did not like this either.)
Class discussion... it looks like the EE version still needs you to provide a web server. Here is a comparison between the two Eclipse versions.
If the server is needed, I would like to stick with Tomcat.
See Marty Hall's Servlet pages on how to set Tomcat up for servlets