|
From: <le...@us...> - 2007-10-21 17:44:47
|
Revision: 30
http://rochat.svn.sourceforge.net/rochat/?rev=30&view=rev
Author: levia
Date: 2007-10-21 10:44:42 -0700 (Sun, 21 Oct 2007)
Log Message:
-----------
- Changed the widget in StatusTab to a JTextPane.
- Fixed the scrolling issue.
Modified Paths:
--------------
trunk/src/net/sensiva/rochat/ui/tabs/StatusTab.java
Modified: trunk/src/net/sensiva/rochat/ui/tabs/StatusTab.java
===================================================================
--- trunk/src/net/sensiva/rochat/ui/tabs/StatusTab.java 2007-10-21 17:39:29 UTC (rev 29)
+++ trunk/src/net/sensiva/rochat/ui/tabs/StatusTab.java 2007-10-21 17:44:42 UTC (rev 30)
@@ -114,7 +114,7 @@
StyleConstants.setForeground(set, Color.BLACK);
m_MessageList.setCaretPosition(doc.getLength());
- doc.insertString(doc.getLength(), m_TextField.getText() + "\n", set);
+ doc.insertString(doc.getLength(), message + "\n", set);
}
catch (Exception e)
{
@@ -134,7 +134,7 @@
StyleConstants.setForeground(set, Color.BLACK);
m_MessageList.setCaretPosition(doc.getLength());
- doc.insertString(doc.getLength(), m_TextField.getText() + "\n", set);
+ doc.insertString(doc.getLength(), message + "\n", set);
}
catch (Exception e)
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|