AP-Computer Science - Final Project #3
SWING Applications and Applets

-75 points

- Can run all of the programs below and slightly modify them in some way

-85 points

Modify one of the programs below to do something interesting. You must change the layout in some way. You can use the examples at the end of the Word document if you want.

-90 points

Using the programs below write your own Swing program.

-95 points -100 points - You need to really impress me!!

Swing Demo Files - Applications

Suggestion - Make a project in JCreator called Swing. It should be an application. Download all the files below into the Swing folder for the project. Attach the WindowDestroyer.java file and ONE of the files below. Run the project and read along with the Word Document. To run the next program remove the current .java file from the project and attach the next file...keep the WindowDestroyer.java file attached at all times.

  • Swing Word document
  • WindowDestroyer.java - Attach to all projects
  • FirstSwingDemo.java
  • SecondWindowDemo.java
  • SecondWindow.java
  • BorderLayoutDemo.java
  • ButtonDemo.java
  • LabelDemo.java
  • PanelDemoTwo.java
  • MemoSaver.java - JTextArea example
  • Adder.java
  • AdderTwo.java

    Java Swing Graphics Applet Demo Files

    Suggestion - Each of these will need to be separate projects that are Applets. The project must be the exact same name as the file being downloaded.

  • GraphicsDemoApplet.java
  • AdderTwoTryAsAnApplet.java
  • ButtonDemoApplet.java
  • DrawShapesApplet.java

    Flight Using Swing - by Bryan Biedenkapp

  • AbsoluteConstraints.java
  • AbsoluteLayout.java
  • Flight.java
    An Easy to understand Swing Program
  • RectangleProgram.java