Print

Print


Commit in hps-java/src/main/java/org/lcsim/hps/monitoring on MAIN
MonitoringPlotFactory.java+3-11.1 -> 1.2
set tab title from plotter name

hps-java/src/main/java/org/lcsim/hps/monitoring
MonitoringPlotFactory.java 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- MonitoringPlotFactory.java	5 Jun 2012 18:21:06 -0000	1.1
+++ MonitoringPlotFactory.java	5 Jun 2013 17:34:59 -0000	1.2
@@ -6,6 +6,7 @@
 
 import java.awt.BorderLayout;
 
+import javax.swing.JLabel;
 import javax.swing.JPanel;
 import javax.swing.JTabbedPane;
 
@@ -17,7 +18,7 @@
  * plotter factories.  It is set externally by the MonitoringApplication before 
  * any calls to AIDA are made from Drivers.  
  * @author Jeremy McCormick <[log in to unmask]>
- * @version $Id: MonitoringPlotFactory.java,v 1.1 2012/06/05 18:21:06 jeremy Exp $
+ * @version $Id: MonitoringPlotFactory.java,v 1.2 2013/06/05 17:34:59 jeremy Exp $
  */
 class MonitoringPlotFactory extends PlotterFactory {
     
@@ -47,6 +48,7 @@
         JPanel plotterPanel = new JPanel(new BorderLayout());
         plotterPanel.add(PlotterUtilities.componentForPlotter(plotter), BorderLayout.CENTER);
         tabs.addTab(plotterName, plotterPanel);
+        tabs.setTabComponentAt(tabs.getTabCount()-1, new JLabel(plotterName));
         return plotter;
     }
     
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