• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

A cute gui

 
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.
 
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 ]
 
I like you because you always keep good, crunchy cereal in your pantry. This tiny ad agrees:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic