SwingExamples Notes
Fall 2007, David Matuszek

SwingExamples.jar is a program designed to help you write Swing applications. It is designed to be executed, not to be looked at. You can examine the source code if you wish, but you are likely to find it confusing.

To run SwingExamples.jar on your own computer:

If you have Java properly installed, all you should have to do is

  1. Download the SwingExamples.jar file to a directory of your choosing.
  2. Double-click the SwingExamples.jar file.

If you get an unsupported version error, you have an old version of Java.

To run SwingExamples.jar in Moore 207:

Java is not installed completely correctly, so you will have to do the following:

  1. Download the SwingExamples.jar file (it will be put on the Desktop).
  2. Open the Konsole application from the task bar at the bottom of the screen.
  3. Change directory to the desktop by typing into the console window:    cd Desktop
  4. Type into the console window:     java -jar SwingExamples.jar