Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Agenda extends JFrame{
- String agenda [] = new String[10];
- JPanel pane;
- public Agenda(){
- BorderLayout layout = new BorderLayout();
- this.setLayout(layout);
- inicializaAgenda();
- JButton fuder = new JButton("Tomar no cu");
- add(BorderLayout.NORTH,fuder);
- pane = RetornarPanel();
- this.add(pane);
- pane.setVisible(false);
- this.setVisible(true);
- fuder.addActionListener(new ActionListener(){
- public void actionPerformed(ActionEvent e) {
- pane.setVisible(true);
- }
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement