Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • 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

GUI Design

 
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!!
 
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
 
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?
 
ranger
Posts: 17346
11
Mac IntelliJ IDE 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!!
 
I found some pretty shells, some sea glass and this lovely tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic