daily pastebin goal
28%
SHARE
TWEET

Untitled

a guest Jul 17th, 2012 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.     public void init()
  3.     {
  4.         Container pane = getContentPane();
  5.        
  6.         JPanel p = new JPanel(new BorderLayout());
  7.        
  8.         JPanel topPan = new JPanel();
  9.         JPanel botPan = new JPanel(new FlowLayout());
  10.         JButton sub = new JButton();
  11.         JTextField number = new JTextField();
  12.         JButton add = new JButton();
  13.        
  14.         botPan.add(sub);
  15.         botPan.add(number);
  16.         botPan.add(add);
  17.         p.add(topPan, BorderLayout.CENTER);
  18.         p.add(botPan, BorderLayout.SOUTH);
  19.        
  20.         pane.add(p);
  21.        
  22.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top