Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About GUI

 
Daniel Chen
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my GUI I use three JButtons to show all flights, search, book and now I want to do some help in my GUI.I want to do a menu including an exit and a help submenu.However My main GUI used JButton so I think to add a help menu isn't very fit.I have little experence in designing GUI, somebody can give me suggestion?Does it use a help JButton maybe more fit my main style?
 
Tom Elix
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would say to stick with buttons.
 
Allen Chan
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Daniel,
When you click those three buttons, will you spawn a new window (JFrame) or present the search result on the original, if you spawn a new window, I guess just add another "help" button, if not, then you probably want to consider a menu.
 
Daniel Chen
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Allen,
All my GUI is one Frame, click buttons and show results in JTable in origin interface.Are you sure it is better to use menu?Then my GUI will have both menu and button.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic