--- projects/cms/source/conient/uk/org/iscream/cms/conient/Conient.java 2001/01/22 05:11:40 1.12 +++ projects/cms/source/conient/uk/org/iscream/cms/conient/Conient.java 2001/01/22 12:48:38 1.13 @@ -3,24 +3,14 @@ //---IMPORTS--- import javax.swing.*; import javax.swing.border.*; -import java.awt.Color; -import uk.ac.ukc.iscream.util.*; - import java.awt.*; import java.awt.event.*; -import java.net.*; -import java.io.*; -import java.util.Date; -import java.text.DateFormat; -import java.util.Locale; -import java.util.HashMap; -import javax.swing.border.*; /** - * NASTY AND BASIC, PLEASE DON'T COMPLAIN + * Root for the SwingClient...starts the whole show off... * * @author $Author: ajm $ - * @version $Id: Conient.java,v 1.12 2001/01/22 05:11:40 ajm Exp $ + * @version $Id: Conient.java,v 1.13 2001/01/22 12:48:38 ajm Exp $ */ public class SwingClient extends JFrame { @@ -29,7 +19,7 @@ public class SwingClient extends JFrame { /** * The current CVS revision of this class */ - public final String REVISION = "$Revision: 1.12 $"; + public final String REVISION = "$Revision: 1.13 $"; private final int width = 600; private final int height = 600; @@ -125,8 +115,15 @@ public class SwingClient extends JFrame { public static void addMessage(String message) { _messages.insert(message + "\n", 0); } -//---ATTRIBUTES--- +//---ATTRIBUTES--- + + ImageIcon _serverIcon = new ImageIcon("server.gif"); + JLabel _serverCountLabel; + int _serverCount = 0; + +//---STATIC ATTRIBUTES--- + static JLabel _controlStatus = new JLabel("Control Link: Disconnected", JLabel.LEFT); { _controlStatus.setBorder(new EtchedBorder(EtchedBorder.LOWERED)); @@ -137,16 +134,9 @@ public class SwingClient extends JFrame { _dataStatus.setBorder(new EtchedBorder(EtchedBorder.LOWERED)); } - static JLabel _queueStatus = new JLabel("-", JLabel.LEFT); + static JLabel _queueStatus = new JLabel(" ", JLabel.LEFT); { _queueStatus.setBorder(new EtchedBorder(EtchedBorder.LOWERED)); } - - ImageIcon _serverIcon = new ImageIcon("server.gif"); - JLabel _serverCountLabel; - int _serverCount = 0; static JTextArea _messages = new JTextArea(); - -//---STATIC ATTRIBUTES--- - }