Thread: [Ejtools-cvs] CVS: applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser AboutDialog.
Brought to you by:
letiemble
From: Laurent E. <let...@us...> - 2002-05-15 20:57:05
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser In directory usw-pr-cvs1:/tmp/cvs-serv10637/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser Modified Files: AboutDialog.java JMXBrowser.java Main.java Log Message: Add some JavaDocs Index: AboutDialog.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/AboutDialog.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AboutDialog.java 30 Apr 2002 21:10:51 -0000 1.3 --- AboutDialog.java 15 May 2002 20:57:01 -0000 1.4 *************** *** 20,46 **** /** ! * Description of the Class * ! * @author letiembl ! * @created 2 novembre 2001 */ public class AboutDialog implements AboutService { ! /** Description of the Field */ ! private final static ResourceBundle res = ResourceBundle.getBundle("ApplicationResources"); ! /** Description of the Field */ private JPanel panel = null; ! /** Constructor for the AboutServiceProvider object */ ! public AboutDialog() ! { ! } /** ! * Gets the panel attribute of the AboutDialog object * ! * @return The panel value */ public Container getPanel() --- 20,45 ---- /** ! * Description of the Class * ! * @author letiemble ! * @created 2 novembre 2001 ! * @todo Javadoc to complete */ public class AboutDialog implements AboutService { ! /** Description of the Field */ private JPanel panel = null; + /** Description of the Field */ + private final static ResourceBundle res = ResourceBundle.getBundle("ApplicationResources"); ! /** Constructor for the AboutServiceProvider object */ ! public AboutDialog() { } /** ! * Gets the panel attribute of the AboutDialog object * ! * @return The panel value */ public Container getPanel() *************** *** 54,58 **** ! /** Description of the Method */ public String getTitle() { --- 53,61 ---- ! /** ! * Description of the Method ! * ! * @return The title value ! */ public String getTitle() { *************** *** 61,65 **** ! /** Description of the Method */ private void createPanel() { --- 64,68 ---- ! /** Description of the Method */ private void createPanel() { *************** *** 86,89 **** } } - --- 89,91 ---- Index: JMXBrowser.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/JMXBrowser.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** JMXBrowser.java 28 Apr 2002 13:06:25 -0000 1.3 --- JMXBrowser.java 15 May 2002 20:57:01 -0000 1.4 *************** *** 9,63 **** import java.beans.beancontext.BeanContextServicesSupport; import java.util.Vector; - import javax.swing.ImageIcon; - //import com.dreambean.awt.BeanContextPanel; import net.sourceforge.ejtools.awt.BeanContextTreePanel; import net.sourceforge.ejtools.awt.action.Command; - import net.sourceforge.ejtools.awt.action.CommandAction; import net.sourceforge.ejtools.awt.action.file.ExitAction; - import net.sourceforge.ejtools.awt.action.file.NewAction; - import net.sourceforge.ejtools.awt.action.file.OpenAction; - import net.sourceforge.ejtools.awt.action.file.SaveAction; - import net.sourceforge.ejtools.awt.action.file.SaveAsAction; import net.sourceforge.ejtools.awt.services.AboutServiceProvider; import net.sourceforge.ejtools.awt.services.FrameServiceProvider; import net.sourceforge.ejtools.awt.services.MenuBarServiceProvider; - import net.sourceforge.ejtools.awt.services.StatusBarService; import net.sourceforge.ejtools.awt.services.StatusBarServiceProvider; import net.sourceforge.ejtools.awt.services.ToolBarServiceProvider; import net.sourceforge.ejtools.jmxbrowser.model.ConnectionServiceProvider; import net.sourceforge.ejtools.jmxbrowser.model.Server; import org.apache.log4j.Category; /** ! * Description of the Class * ! * @author letiembl ! * @created 21 mars 2002 */ public class JMXBrowser extends BeanContextServicesSupport { ! /** Description of the Field */ ! private static Category cat = Category.getInstance(JMXBrowser.class.getName()); ! /** Description of the Field */ ! private static Vector factories; ! /** Description of the Field */ protected AboutServiceProvider aboutService; ! /** Description of the Field */ protected ConnectionServiceProvider connectionProvider; ! /** Description of the Field */ protected FrameServiceProvider frameService; ! /** Description of the Field */ protected MenuBarServiceProvider menuBarService; ! /** Description of the Field */ protected StatusBarServiceProvider statusBarService; ! /** Description of the Field */ protected ToolBarServiceProvider toolBarService; ! /** Constructor for the EJX object */ public JMXBrowser() { cat.debug("JMXBrowser starting..."); --- 9,60 ---- import java.beans.beancontext.BeanContextServicesSupport; import java.util.Vector; import net.sourceforge.ejtools.awt.BeanContextTreePanel; import net.sourceforge.ejtools.awt.action.Command; import net.sourceforge.ejtools.awt.action.file.ExitAction; import net.sourceforge.ejtools.awt.services.AboutServiceProvider; import net.sourceforge.ejtools.awt.services.FrameServiceProvider; import net.sourceforge.ejtools.awt.services.MenuBarServiceProvider; import net.sourceforge.ejtools.awt.services.StatusBarServiceProvider; import net.sourceforge.ejtools.awt.services.ToolBarServiceProvider; import net.sourceforge.ejtools.jmxbrowser.model.ConnectionServiceProvider; import net.sourceforge.ejtools.jmxbrowser.model.Server; + import net.sourceforge.ejtools.util.JNDI; import org.apache.log4j.Category; /** ! * Description of the Class * ! * @author letiemble ! * @created 21 mars 2002 ! * @todo Javadoc to complete */ public class JMXBrowser extends BeanContextServicesSupport { ! /** Description of the Field */ protected AboutServiceProvider aboutService; ! /** Description of the Field */ protected ConnectionServiceProvider connectionProvider; ! /** Description of the Field */ protected FrameServiceProvider frameService; ! /** Description of the Field */ protected MenuBarServiceProvider menuBarService; ! /** Description of the Field */ protected StatusBarServiceProvider statusBarService; ! /** Description of the Field */ protected ToolBarServiceProvider toolBarService; + /** Description of the Field */ + private static Category cat = Category.getInstance(JMXBrowser.class.getName()); + /** Description of the Field */ + private static Vector factories; ! /** Constructor for the EJX object */ public JMXBrowser() { + // Get JNDI environment + JNDI.setJNDIProperties(); + cat.debug("JMXBrowser starting..."); Index: Main.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/Main.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Main.java 25 Apr 2002 20:24:47 -0000 1.2 --- Main.java 15 May 2002 20:57:01 -0000 1.3 *************** *** 7,10 **** --- 7,11 ---- package net.sourceforge.ejtools.jmxbrowser; + import java.beans.Beans; import java.io.File; import java.net.URL; *************** *** 16,31 **** /** ! * Description of the Class * ! * @author letiembl ! * @created 21 mars 2002 */ public class Main { /** ! * The main program for the Main class * ! * @param args The command line arguments ! * @exception Exception Description of Exception */ public static void main(String[] args) throws Exception --- 17,33 ---- /** ! * Description of the Class * ! * @author letiemble ! * @created 21 mars 2002 ! * @todo Javadoc to complete */ public class Main { /** ! * The main program for the Main class * ! * @param args The command line arguments ! * @exception Exception Description of Exception */ public static void main(String[] args) throws Exception *************** *** 52,63 **** new SecurityManager() { ! public void checkPermission(Permission p) ! { ! } ! public void checkPermission(Permission perm, Object context) ! { ! } }); --- 54,61 ---- new SecurityManager() { ! public void checkPermission(Permission p) { } ! public void checkPermission(Permission perm, Object context) { } }); |