You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by ps...@apache.org on 2004/05/15 08:29:31 UTC
cvs commit: logging-log4j/src/java/org/apache/log4j/chainsaw/plugins ChainsawCentral.java
psmith 2004/05/14 23:29:31
Modified: src/java/org/apache/log4j/chainsaw/plugins
ChainsawCentral.java
Log:
Removed the Data Rate graph and label from this panel.
Would have looked puuuurty if I'd finished it, and considering it doesn't give
the user any useful functionality, I'm removing it as I move on to other things.
Revision Changes Path
1.5 +11 -11 logging-log4j/src/java/org/apache/log4j/chainsaw/plugins/ChainsawCentral.java
Index: ChainsawCentral.java
===================================================================
RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/chainsaw/plugins/ChainsawCentral.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChainsawCentral.java 27 Feb 2004 16:47:31 -0000 1.4
+++ ChainsawCentral.java 15 May 2004 06:29:31 -0000 1.5
@@ -118,20 +118,20 @@
*
*/
private void initComponents() {
- setLayout(new GridLayout(2, 1));
+ setLayout(new GridLayout(1, 1));
nf.setMaximumFractionDigits(1);
nf.setMinimumFractionDigits(1);
- JPanel grid1 = new JPanel(new GridLayout(1, 2));
- grid1.add(new JLabel("Data Rate:"));
- grid1.add(dataRateLabel);
-
- RateGraph rateGraph = new RateGraph();
- rateGraph.setBorder(
- BorderFactory.createTitledBorder(
- BorderFactory.createEtchedBorder(), "Data Rate Graph"));
- grid1.add(rateGraph);
- add(grid1);
+// JPanel grid1 = new JPanel(new GridLayout(1, 2));
+// grid1.add(new JLabel("Data Rate:"));
+// grid1.add(dataRateLabel);
+//
+// RateGraph rateGraph = new RateGraph();
+// rateGraph.setBorder(
+// BorderFactory.createTitledBorder(
+// BorderFactory.createEtchedBorder(), "Data Rate Graph"));
+// grid1.add(rateGraph);
+// add(grid1);
JPanel mc = new JPanel(new BorderLayout());
mc.setBorder(
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org