Guest User

Untitled

a guest
Jan 21st, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. // Assignment #: 7
  2. // Name: Kevin Chang
  3. // StudentID: 1201677221
  4. // Lecture: MWF 12:55PM
  5. // Description: it needs to be filled
  6.  
  7. import javax.swing.*;
  8.  
  9. public class Assignment7 extends JApplet
  10. {
  11. private WholePanel wholePanel;
  12. private JSplitPane sPane;
  13.  
  14. public void init()
  15. {
  16. // create a WholePanel object and add it to the applet
  17. wholePanel = new WholePanel();
  18. getContentPane().add(wholePanel);
  19.  
  20. //set applet size to 400 X 400
  21. setSize (400, 400);
  22. }
  23.  
  24. }
Add Comment
Please, Sign In to add comment