summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDor Bivas <dor1_b@walla.com>2014-02-22 18:33:29 +0200
committerDor Bivas <dor1_b@walla.com>2014-02-22 18:33:29 +0200
commit262cd29f12b0c45910a980699d89a9d90cee6757 (patch)
tree96b4e76c3afa62cedb3798e96e46c683c12d563f
parent4d462a6b01811fcd73d6fb70bf3850fa51c41c06 (diff)
Client UI: minimum size and more
* minimum size of the window is now working. * Window Title ("Dor-Chat"). * Temporary panel text color (White) * Deleting white spaces.
-rw-r--r--src/Client/UserInterface.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Client/UserInterface.java b/src/Client/UserInterface.java
index c715638..93ad69b 100644
--- a/src/Client/UserInterface.java
+++ b/src/Client/UserInterface.java
@@ -58,20 +58,20 @@ public class UserInterface extends JFrame implements ActionListener, KeyListener
public UserInterface(ChatClient client)
{
+ this.setTitle("Dor-Chat IRC");
this.client = client;
+ this.setSize(800, 400);
+ this.setMinimumSize(new Dimension(600,170));
Font font = new Font ("Ariel" , Font.BOLD ,12);
- this.setIconImage(getIconImage());
- this.setSize(800, 400);
output = new JTextArea(10, 20);
- output.setBackground(Color.green);
+ output.setBackground(Color.white);
output.setFont(font);
output.setEditable(false);
output.setLineWrap(true);
output.setWrapStyleWord(true);
-
-
+
JPanel msgPanel = new JPanel();
JPanel conPanel = new JPanel();
JPanel vertPanel = new JPanel();