1 package org.opensync.engine.admin.gui;
2
3 import javax.swing.ImageIcon;
4
5 import org.opensync.engine.server.Agenda;
6 import org.opensync.engine.util.I18n;
7
8 /***
9 *
10 * @version 1.0
11 * @author SOFTMED
12 *
13 */
14
15 public class AgendaIFrm extends OpenSyncIFrm {
16 AgendaPnl panel;
17 /***
18 * @param agenda
19 * @exception Exception
20 */
21 public AgendaIFrm(Agenda agenda)throws Exception {
22 super(I18n.getInstance().get("gui.agenda.label") + " : " + agenda.getName() ,550,100);
23 setFrameIcon(new ImageIcon(AgendaIFrm.class.getResource("/images/agenda.gif")));
24 panel = new AgendaPnl(agenda);
25 getContentPane().add(panel);
26 }
27 }