Advertisement
Guest User

Untitled

a guest
Jul 24th, 2014
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. public class Agenda extends JFrame{
  2. String agenda [] = new String[10];
  3. JPanel pane;
  4.  
  5. public Agenda(){
  6.  
  7.  
  8.  
  9. BorderLayout layout = new BorderLayout();
  10. this.setLayout(layout);
  11. inicializaAgenda();
  12. JButton fuder = new JButton("Tomar no cu");
  13. add(BorderLayout.NORTH,fuder);
  14. pane = RetornarPanel();
  15. this.add(pane);
  16. pane.setVisible(false);
  17. this.setVisible(true);
  18. fuder.addActionListener(new ActionListener(){
  19.  
  20. public void actionPerformed(ActionEvent e) {
  21. pane.setVisible(true);
  22.  
  23. }
  24.  
  25.  
  26.  
  27.  
  28.  
  29. });
  30.  
  31.  
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement