Advertisement
bigLiukTheory

Viewer per la faccia simpatica

Jun 26th, 2013
1,820
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.37 KB | None | 0 0
  1. import javax.swing.JFrame;
  2.  
  3. public class FaceViewer
  4. {
  5.     public static void main(String[] args)
  6.     {
  7.         JFrame frame = new JFrame();
  8.         frame.setSize(150, 250);
  9.         frame.setTitle("Una faccia simpatica");
  10.         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  11.        
  12.         FaceComponent myFace = new FaceComponent();
  13.         frame.add(myFace);
  14.        
  15.         frame.setVisible(true);
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement