View Javadoc

1   package org.opensync.engine.admin.gui;
2   
3   import javax.swing.*;
4   import org.opensync.engine.server.Source;
5   import org.opensync.engine.util.I18n;
6   
7   public class SourceIFrm extends OpenSyncIFrm {
8     SourcePnl panel;
9     /***
10     * @param	source
11     * @exception	Exception
12     */
13    public SourceIFrm(Source source)throws Exception{
14      super(I18n.getInstance().get("gui.source.label") + " : " + source.getName() ,400,400);
15      setFrameIcon(new ImageIcon(SourceIFrm.class.getResource("/images/source.gif")));
16      panel = new SourcePnl(source);
17      getContentPane().add(panel);
18    }
19  }