How to do Dialog Applets

 

1)      Make a new folder for this project.

 

2)      Copy the files from http://euclid.nmu.edu/~randy/Classes/CS120a/DialogApplet and put them in this folder.

 

3)      Load MyPanel.java and PanelApplet.java into textpad.

 

4)      Compile MyPanel.java.

 

5)      Compile PanelApplet.java.

 

6)      Run PanelApplet.java.  It should work.  If not, you’ve messed something up.

 

7)      Change MyPanel.java to be what you want.  It MUST BE NAMED MyPanel.java.

 

8)      Recompile MyPanel.java.  DON’T RUN IT!!!

 

9)      Switch to PanelApplet.java.  Run that.

 

10)  Repeat steps 7-10 until you like your program.