Update of /cvsroot/jxtaim/jxtaim/src/vsis/im/view
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv18282/src/vsis/im/view
Modified Files:
GuiController.java
Log Message:
+ use square brackets fro timestamp in chat gui
+ wrap message into a bb [block] element
+ add static font class-field ABOUT (bold, verdana) in GuiController
Index: GuiController.java
===================================================================
RCS file: /cvsroot/jxtaim/jxtaim/src/vsis/im/view/GuiController.java,v
retrieving revision 1.68
retrieving revision 1.69
diff -C2 -d -r1.68 -r1.69
*** GuiController.java 23 Jul 2006 17:10:22 -0000 1.68
--- GuiController.java 8 Dec 2006 17:24:56 -0000 1.69
***************
*** 110,113 ****
--- 110,115 ----
public static final Color FGCOLOR = new Color(130, 130, 130);
+ public static final Font ABOUT = new Font("Verdana", Font.BOLD, 35);
+
public static final Font PLAIN = new Font("Verdana", Font.PLAIN, 11);
***************
*** 601,607 ****
}
cg.appendChatText(user.getNick() + " : ", "nick");
! cg.appendChatText("( " + tmcopy.getDate().toString() + " )\n",
"date");
! cg.appendChatText(tmcopy.getContent() + "\n\n", "message");
cg.clearInputArea();
cg.getInputArea().requestFocus();
--- 603,609 ----
}
cg.appendChatText(user.getNick() + " : ", "nick");
! cg.appendChatText("[[" + tmcopy.getDate().toString() + "]]\n",
"date");
! cg.appendChatText("[block]"+tmcopy.getContent() + "\n\n[/block]", "message");
cg.clearInputArea();
cg.getInputArea().requestFocus();
***************
*** 643,647 ****
cg.appendChatText(b.getNick(), "nick");
! cg.appendChatText("( " + tm.getDate().toString() + " )\n", "date");
cg.appendChatText(tm.getContent() + "\n\n", "message");
--- 645,649 ----
cg.appendChatText(b.getNick(), "nick");
! cg.appendChatText("(" + tm.getDate().toString() + ")\n", "date");
cg.appendChatText(tm.getContent() + "\n\n", "message");
|