public static void main(String[] args) throws TwitterException {
   MainFrame panel = new MainFrame();
   jframe = panel;
   panel.setVisible(true);
   panel.setResizable(false);
   panel.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
 }
Exemple #2
0
 public static void main(String[] args) {
   frame.setTitle("Mobile Phone Demo");
   frame.setSize(325, 490);
   frame.setLocation(300, 100);
   frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
   frame.setResizable(false);
   frame.setVisible(true);
 }