[Zerofile-svn] SF.net SVN: zerofile: [33] trunk/src
Status: Pre-Alpha
Brought to you by:
karl-bengtsson
|
From: <zo...@us...> - 2007-11-07 10:45:21
|
Revision: 33
http://zerofile.svn.sourceforge.net/zerofile/?rev=33&view=rev
Author: zondar
Date: 2007-11-07 02:45:23 -0800 (Wed, 07 Nov 2007)
Log Message:
-----------
Addad names to windows etc
Modified Paths:
--------------
trunk/src/ZeroFileChatWindow.java
trunk/src/ZeroFileMainWindow.java
trunk/src/ZeroFileSettingsWindow.java
Modified: trunk/src/ZeroFileChatWindow.java
===================================================================
--- trunk/src/ZeroFileChatWindow.java 2007-11-06 19:35:39 UTC (rev 32)
+++ trunk/src/ZeroFileChatWindow.java 2007-11-07 10:45:23 UTC (rev 33)
@@ -1,4 +1,5 @@
import java.awt.*;
+
import javax.swing.*;
/**
@@ -9,6 +10,9 @@
{
JFrame chatWindowFrame = new JFrame();
chatWindowFrame.setLayout(new GridLayout(0,1,1,1));
+ chatWindowFrame.setLocation(0,400);
+ chatWindowFrame.setSize(new Dimension(300,200));
+ chatWindowFrame.setTitle("chatwindow");
JTextArea chatTextArea = new JTextArea();
chatWindowFrame.add(chatTextArea);
JPanel bottomPanel = new JPanel();
Modified: trunk/src/ZeroFileMainWindow.java
===================================================================
--- trunk/src/ZeroFileMainWindow.java 2007-11-06 19:35:39 UTC (rev 32)
+++ trunk/src/ZeroFileMainWindow.java 2007-11-07 10:45:23 UTC (rev 33)
@@ -31,6 +31,7 @@
_mainWindowFrame = new JFrame();
_mainWindowFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
_mainMenuBar = new JMenuBar();
+ _mainWindowFrame.setTitle("ZeroFile");
// File menu
_fileMenu = new JMenu("File");
Modified: trunk/src/ZeroFileSettingsWindow.java
===================================================================
--- trunk/src/ZeroFileSettingsWindow.java 2007-11-06 19:35:39 UTC (rev 32)
+++ trunk/src/ZeroFileSettingsWindow.java 2007-11-07 10:45:23 UTC (rev 33)
@@ -12,6 +12,8 @@
settingsWindowFrame.setSize(new Dimension(300,200));
settingsWindowFrame.setResizable(false);
settingsWindowFrame.setLayout(new GridLayout(0,2,1,1));
+ settingsWindowFrame.setLocation(200, 200);
+ settingsWindowFrame.setTitle("Settings");
// Label + field for Nickname parameter
JLabel nickNameLabel = new JLabel("Nickname:", JLabel.CENTER);
@@ -43,6 +45,7 @@
settingsWindowFrame.add(checkBoxLabel);
settingsWindowFrame.add(checkBoxTransfer);
+
// OK and Cancel buttons
JButton okButton = new JButton("OK");
JButton cancelButton = new JButton("Cancel");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|