File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes (B&S) GUI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "(B&S) GUI " Watch "(B&S) GUI " New topic


Sham Delaney
Ranch Hand

Joined: Feb 08, 2006
Posts: 39

I am thinking about having 1 screen for my GUI.
This would contain, 2 Textfields in a Search Panel to search by company and/or location.

The JTable is just located below the Search Panel.
The JTable is populated with data depending on the search.

Below the Table, I have 4 Buttons - Book, Add, Delete, Update.
Clicking on Add, brings up a popup to add a new record, by entering data into text fields in the popup and clicking ok. Update is similiar. Book brings up another popup prompting user to enter Customer no to reserve the record.

Is this a good idea, Or Am i better off explicitly moving to different screens.
Or would it be a better idea to allow the user edit the table, rather than providing popup's ?

I would appreciate everybodys views.
Kristof Janssens

Joined: Jan 05, 2005
Posts: 23
I only provided the update of a record and only off certain fields, since all the rest is out of the scope of the assigment in my opinion. I also created some kind of "framework" in which I load panels that will be shown in a tabbed pane. This way I can easily add a new panel in the future without changing a lot in the GUI. Since it is a MUST that the GUI can be easily changed without many troubles for the user.
[ March 28, 2006: Message edited by: Kristof Janssens ]

SCJP 1.4 (90%)<br />SCJD (in progress)
Anna Hays
Ranch Hand

Joined: Nov 09, 2003
Posts: 131
My opinion will be quiet slack to the client and care a lot about the scope of the project according to my working experience.

I think the most important thing is to fit the requirement and not to consider what MIGHT be needed and HOW it will be implemented for future enhancement simply because the world could change unexpectedly - the spec says the client will go web etc. If I were you, I won't care too much about Add, Delete etc. Get it right and keep it simple.

That is just my opinion. Laziness is not always bad.
Sam Codean
Ranch Hand

Joined: Feb 26, 2006
Posts: 194
Just one thing that i would like to say. Popups are almost always annoying. Try ot avoid them as far as possible.

-Sam Codean<br />SCJP 1.4 (98%)<br />SCJD 5.0 (87.5%)
I agree. Here's the link:
subject: (B&S) GUI
jQuery in Action, 3rd edition