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

GUI Design

 
Wickes Potgieter
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
3 Questions:
* Any ideas on this:
1)Design my GUI with the expectation of future functionality enhancements?
2)Establish a control scheme that will support this with minimal disruption to the users when this occurs?
* Do I provide the user a Dialog, accessible from the toolbar, so that they can select a remote DB or local DB? or as command line entries when my Client app starts?
* Any ideas on the client UI?? I have some ideas but would appreciate some more!
Thanks!!
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi JavaWix,
Hey guy you need to change your display name to a first and last (real name) if you want to keep coming back to this huge wealth of information.

Do I provide the user a Dialog, accessible from the toolbar, so that they can select a remote DB or local DB? or as command line entries when my Client app starts?

What seems best to you? I plan on using the command line, but lots of others here have used dialogs to choose remote or local DB. So just go with your instincts.
Michael Morris
 
Najib Coutya
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've used the command line for choosing between local and remote. No problem.
 
Wickes Potgieter
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, I have changed it. All my friends knows me as JavaWix
Anyway, thanks for the reply. I think that I will be using this forum quite often.
Some more questions:
1)Do I need to format the data in the JTable?
2)The wildcard-like search, do I search the database for the letters the user entered and if the user entered "all" do I return everything?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1)Do I need to format the data in the JTable?

the only thing you might/probably will have to do id to use trim(), just to trim off the trailing balnks which show up as boxes in the JTable. As far as time or any other field to look nicer, nah, it is not necessary. I didn't and got 24/24 on GUI.
2)The wildcard-like search, do I search the database for the letters the user entered and if the user entered "all" do I return everything?

do you mean wildcard as in the * at the end? Don't need to have that. part II of question, If they choose all, all is returned, yes.
Mark
And Welcome to Javaranch.
 
Wickes Potgieter
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Mark!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic