• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A cute gui

 
hubert humptis
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do i make a gui for a chat client program...I just want a gui..to be just a square box with a TextArea and a text field and a few buttons.
My question is how to make the applet...just be the applet without encompasing the whole page.
i want it to look like a real bonfied chat client not look like a webpage. I can figure out the details of the buttons...but the look of the window I cant figure out.
 
Aaron Wilt
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Although I'm a little confused as to what you're looking for, perhaps this link will help:
http://java.sun.com/docs/books/tutorial/uiswing/index.html
This will walk you through how to set up a GUI using Java Swing components. It's a pretty useful tutorial if you're unfamiliar with it. You can do the sizing of the applet in your actual HTML code. It'll tell you about this in the applet tutorial at:

http://java.sun.com/docs/books/tutorial/applet/index.html
I hope this helps..
Aaron.
[ May 10, 2002: Message edited by: Aaron Wilt ]
[ May 10, 2002: Message edited by: Aaron Wilt ]
 
hubert humptis
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks man i think swing is the way to go....
Because i want to create a chat client, swing is pretty straight forward.
I am confused ...what is the difference between applets and the java.swing?
[ May 10, 2002: Message edited by: hubert humptis ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic