Пример #1
0
  // 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);
  }
Пример #2
0
 public void Load() {
   pres.Load();
 }
Пример #3
0
 public Ludotheque getLudo() {
   return pres.getLudo();
 }