// private JPanel jpan public GuiMainApp(Properties properties) { pres = new PresentorApp(this); pres.initLudotheque(properties); btn.setVisible(true); btn.addActionListener(pres); this.setLayout(new BorderLayout()); p.setLayout(new BorderLayout()); p.setVisible(false); p.add(btn, BorderLayout.EAST); btnModif.setVisible(true); btnModif.addActionListener(pres); p.add(btnModif, BorderLayout.WEST); add(p, BorderLayout.NORTH); tabbedpane.setTabPlacement(JTabbedPane.TOP); tabbedpane.setForeground(Color.BLUE); add(tabbedpane, BorderLayout.CENTER); }
public void Load() { pres.Load(); }
public Ludotheque getLudo() { return pres.getLudo(); }