Author: [log in to unmask]
Date: Tue May 5 02:18:34 2015
New Revision: 2902
Log:
I want to be able to hide panes if I don't care about them
Modified:
java/trunk/monitoring-app/src/main/java/org/hps/monitoring/application/MonitoringApplicationFrame.java
Modified: java/trunk/monitoring-app/src/main/java/org/hps/monitoring/application/MonitoringApplicationFrame.java
=============================================================================
--- java/trunk/monitoring-app/src/main/java/org/hps/monitoring/application/MonitoringApplicationFrame.java (original)
+++ java/trunk/monitoring-app/src/main/java/org/hps/monitoring/application/MonitoringApplicationFrame.java Tue May 5 02:18:34 2015
@@ -172,11 +172,13 @@
// Create the right panel vertical split pane for displaying plots and their information and statistics.
this.rightSplitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT, this.plotPanel, this.plotInfoPanel);
this.rightSplitPane.setDividerLocation(680);
+ this.rightSplitPane.setOneTouchExpandable(true);
rightPanel.add(this.rightSplitPane, BorderLayout.CENTER);
// Create the main horizontal split pane for dividing the left and right panels.
this.mainSplitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, leftPanel, rightPanel);
this.mainSplitPane.setDividerLocation(600);
+ this.mainSplitPane.setOneTouchExpandable(true);
bottomPanel.add(this.mainSplitPane, BorderLayout.CENTER);
// Create the menu bar.
|