rana_b 2003/01/20 07:16:42
Modified: ftpserver/src/java/org/apache/avalon/ftpserver/gui
FtpStatisticsPanel.java
Log:
background changed
Revision Changes Path
1.12 +13 -14
jakarta-avalon-apps/ftpserver/src/java/org/apache/avalon/ftpserver/gui/FtpStatisticsPanel.java
Index: FtpStatisticsPanel.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-apps/ftpserver/src/java/org/apache/avalon/ftpserver/gui/FtpStatisticsPanel.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- FtpStatisticsPanel.java 10 Oct 2002 16:02:01 -0000 1.11
+++ FtpStatisticsPanel.java 20 Jan 2003 15:16:42 -0000 1.12
@@ -103,7 +103,6 @@
setLayout(new GridBagLayout());
int yindex = -1;
-
// start time
JLabel jStartTimeLab = new JLabel("Start Time");
jStartTimeLab.setHorizontalAlignment(JLabel.RIGHT);
@@ -119,6 +118,7 @@
mjStartTimeTxt = new JTextField();
mjStartTimeTxt.setColumns(12);
mjStartTimeTxt.setEditable(false);
+ mjStartTimeTxt.setBackground(Color.WHITE);
gc = new GridBagConstraints();
gc.gridx = 1;
gc.gridy = yindex;
@@ -127,7 +127,6 @@
gc.insets = new Insets(3, 0, 0, 3);
add(mjStartTimeTxt, gc);
-
// number of uploads
JLabel jUploadNbrLab = new JLabel("Number of uploads");
jUploadNbrLab.setHorizontalAlignment(JLabel.RIGHT);
@@ -143,6 +142,7 @@
mjUploadNbrTxt = new JTextField();
mjUploadNbrTxt.setColumns(6);
mjUploadNbrTxt.setEditable(false);
+ mjUploadNbrTxt.setBackground(Color.WHITE);
gc = new GridBagConstraints();
gc.gridx = 1;
gc.gridy = yindex;
@@ -151,7 +151,6 @@
gc.insets = new Insets(3, 0, 0, 3);
add(mjUploadNbrTxt, gc);
-
// number of downloads
JLabel jDownloadNbrLab = new JLabel("Number of downloads");
jDownloadNbrLab.setHorizontalAlignment(JLabel.RIGHT);
@@ -167,6 +166,7 @@
mjDownloadNbrTxt = new JTextField();
mjDownloadNbrTxt.setColumns(6);
mjDownloadNbrTxt.setEditable(false);
+ mjDownloadNbrTxt.setBackground(Color.WHITE);
gc = new GridBagConstraints();
gc.gridx = 1;
gc.gridy = yindex;
@@ -175,7 +175,6 @@
gc.insets = new Insets(3, 0, 0, 3);
add(mjDownloadNbrTxt, gc);
-
// number of downloads
JLabel jDeleteNbrLab = new JLabel("Number of deletes");
jDeleteNbrLab.setHorizontalAlignment(JLabel.RIGHT);
@@ -191,6 +190,7 @@
mjDeleteNbrTxt = new JTextField();
mjDeleteNbrTxt.setColumns(6);
mjDeleteNbrTxt.setEditable(false);
+ mjDeleteNbrTxt.setBackground(Color.WHITE);
gc = new GridBagConstraints();
gc.gridx = 1;
gc.gridy = yindex;
@@ -199,7 +199,6 @@
gc.insets = new Insets(3, 0, 0, 3);
add(mjDeleteNbrTxt, gc);
-
// number of uploaded bytes
JLabel jUploadBytesLab = new JLabel("Uploaded bytes");
jUploadBytesLab.setHorizontalAlignment(JLabel.RIGHT);
@@ -215,6 +214,7 @@
mjUploadBytesTxt = new JTextField();
mjUploadBytesTxt.setColumns(12);
mjUploadBytesTxt.setEditable(false);
+ mjUploadBytesTxt.setBackground(Color.WHITE);
gc = new GridBagConstraints();
gc.gridx = 1;
gc.gridy = yindex;
@@ -223,7 +223,6 @@
gc.insets = new Insets(3, 0, 0, 3);
add(mjUploadBytesTxt, gc);
-
// number of uploaded bytes
JLabel jDownloadBytesLab = new JLabel("Downloaded bytes");
jDownloadBytesLab.setHorizontalAlignment(JLabel.RIGHT);
@@ -239,6 +238,7 @@
mjDownloadBytesTxt = new JTextField();
mjDownloadBytesTxt.setColumns(12);
mjDownloadBytesTxt.setEditable(false);
+ mjDownloadBytesTxt.setBackground(Color.WHITE);
gc = new GridBagConstraints();
gc.gridx = 1;
gc.gridy = yindex;
@@ -247,7 +247,6 @@
gc.insets = new Insets(3, 0, 0, 3);
add(mjDownloadBytesTxt, gc);
-
// number of current logins
JLabel jLoginNbrLab = new JLabel("Current logins");
jLoginNbrLab.setHorizontalAlignment(JLabel.RIGHT);
@@ -263,6 +262,7 @@
mjLoginNbrTxt = new JTextField();
mjLoginNbrTxt.setColumns(6);
mjLoginNbrTxt.setEditable(false);
+ mjLoginNbrTxt.setBackground(Color.WHITE);
gc = new GridBagConstraints();
gc.gridx = 1;
gc.gridy = yindex;
@@ -271,7 +271,6 @@
gc.insets = new Insets(3, 0, 0, 3);
add(mjLoginNbrTxt, gc);
-
// number of total logins
JLabel jTotalLoginNbrLab = new JLabel("Total logins");
jTotalLoginNbrLab.setHorizontalAlignment(JLabel.RIGHT);
@@ -287,6 +286,7 @@
mjTotalLoginNbrTxt = new JTextField();
mjTotalLoginNbrTxt.setColumns(6);
mjTotalLoginNbrTxt.setEditable(false);
+ mjTotalLoginNbrTxt.setBackground(Color.WHITE);
gc = new GridBagConstraints();
gc.gridx = 1;
gc.gridy = yindex;
@@ -295,7 +295,6 @@
gc.insets = new Insets(3, 0, 0, 3);
add(mjTotalLoginNbrTxt, gc);
-
// number of current anonymous logins
JLabel jAnonLoginNbrLab = new JLabel("Current anonymous logins");
jAnonLoginNbrLab.setHorizontalAlignment(JLabel.RIGHT);
@@ -311,6 +310,7 @@
mjAnonLoginNbrTxt = new JTextField();
mjAnonLoginNbrTxt.setColumns(6);
mjAnonLoginNbrTxt.setEditable(false);
+ mjAnonLoginNbrTxt.setBackground(Color.WHITE);
gc = new GridBagConstraints();
gc.gridx = 1;
gc.gridy = yindex;
@@ -319,7 +319,6 @@
gc.insets = new Insets(3, 0, 0, 3);
add(mjAnonLoginNbrTxt, gc);
-
// number of total anonymous logins
JLabel jTotalAnonLoginNbrLab = new JLabel("Total anonymous logins");
jTotalAnonLoginNbrLab.setHorizontalAlignment(JLabel.RIGHT);
@@ -335,6 +334,7 @@
mjTotalAnonLoginNbrTxt = new JTextField();
mjTotalAnonLoginNbrTxt.setColumns(6);
mjTotalAnonLoginNbrTxt.setEditable(false);
+ mjTotalAnonLoginNbrTxt.setBackground(Color.WHITE);
gc = new GridBagConstraints();
gc.gridx = 1;
gc.gridy = yindex;
@@ -343,7 +343,6 @@
gc.insets = new Insets(3, 0, 0, 3);
add(mjTotalAnonLoginNbrTxt, gc);
-
// number of current connections
JLabel jConNbrLab = new JLabel("Current connections");
jConNbrLab.setHorizontalAlignment(JLabel.RIGHT);
@@ -359,6 +358,7 @@
mjConNbrTxt = new JTextField();
mjConNbrTxt.setColumns(6);
mjConNbrTxt.setEditable(false);
+ mjConNbrTxt.setBackground(Color.WHITE);
gc = new GridBagConstraints();
gc.gridx = 1;
gc.gridy = yindex;
@@ -367,7 +367,6 @@
gc.insets = new Insets(3, 0, 0, 3);
add(mjConNbrTxt, gc);
-
// number of current connections
JLabel jTotalConNbrLab = new JLabel("Total connections");
jTotalConNbrLab.setHorizontalAlignment(JLabel.RIGHT);
@@ -383,6 +382,7 @@
mjTotalConNbrTxt = new JTextField();
mjTotalConNbrTxt.setColumns(6);
mjTotalConNbrTxt.setEditable(false);
+ mjTotalConNbrTxt.setBackground(Color.WHITE);
gc = new GridBagConstraints();
gc.gridx = 1;
gc.gridy = yindex;
@@ -391,7 +391,6 @@
gc.insets = new Insets(3, 0, 0, 3);
add(mjTotalConNbrTxt, gc);
-
// reload statistics
JButton reloadButton = new JButton("Reload");
gc = new GridBagConstraints();
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>