Commit in hps-java/src/main/java/org/lcsim/hps/monitoring on MAIN
MonitoringApplication.java+7-41.55 -> 1.56
make variable static class member

hps-java/src/main/java/org/lcsim/hps/monitoring
MonitoringApplication.java 1.55 -> 1.56
diff -u -r1.55 -r1.56
--- MonitoringApplication.java	5 Jun 2013 15:59:57 -0000	1.55
+++ MonitoringApplication.java	5 Jun 2013 17:55:28 -0000	1.56
@@ -92,7 +92,7 @@
  * calling its main() method.
  *
  * @author Jeremy McCormick <[log in to unmask]>
- * @version $Id: MonitoringApplication.java,v 1.55 2013/06/05 15:59:57 jeremy Exp $
+ * @version $Id: MonitoringApplication.java,v 1.56 2013/06/05 17:55:28 jeremy Exp $
  */
 public class MonitoringApplication {
 
@@ -151,6 +151,7 @@
     private static Logger logger;
     private Handler logHandler;
     private DefaultTableModel logTableModel;
+    static final String[] logTableColumns = {"Source", "Message", "Date", "Level"};
     private JTable logTable;
     private Level defaultLogMessageLevel = Level.INFO;
     
@@ -185,8 +186,8 @@
     private static final int connectionStatusPanelWidth = 400;
     
     /**
-     * Constructor for monitoring application. Users should not need to use
-     * this; call main() method instead.
+     * Constructor for the monitoring application. Users cannot access this.
+     * Call the main method instead.
      */
     private MonitoringApplication() {
 
@@ -490,7 +491,7 @@
      * containing messages from the logger.
      */
     private void createLogTable() {
-        final String[] logTableColumns = {"Source", "Message", "Date", "Level"};
+        
         String data[][] = new String[0][0];
         logTableModel = new DefaultTableModel(data, logTableColumns);
         logTable = new JTable(logTableModel);
@@ -1489,6 +1490,8 @@
             log(Level.FINE, "Stopping the event processor.");
             eventProcessor.stop();
         }
+        
+        
 
         // Set the application status from the caller.
         setConnectionStatus(status);
CVSspam 0.2.12


Use REPLY-ALL to reply to list

To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1