• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

GUI chat room

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need to do the following:

write a Java program to implement the GUI for a chat program. The program should include components attached to a form: a text field, a pop-up choice-group and up to 8 string items which will be messages entered by the user. Users should be presented with two commands, �Send� and �Exit�.
Beneath the text field and user selection choice-group, there should always be no more than 8 string items, also identifying which user wrote which message. When a message is added to the group of messages, the text field should be erased ready for the next message. After 8 messages have been added to the group of messages, any additional messages are added to the
end of the group and the first (oldest) message is removed. Another way to describe this is to display only the last 8 messages entered.


Can i get any help here?

Thanks
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That really sounds like a homework assignment. Why don't you make a start and get back to the ranch when you encounter specific problems.


Bill
 
geore ala
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I already started this is the code i did so far:



i am stuck here. Any help?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How are you stuck? What does the code do now, what do you intend to implement next, and what gets in your way so that you can't make progress?

Since this is about J2ME, I'll move it to the appropriate forum.
 
reply
    Bookmark Topic Watch Topic
  • New Topic