wood burning stoves*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes GUI requires MDI or Tabbed Pane? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "GUI requires MDI or Tabbed Pane?" Watch "GUI requires MDI or Tabbed Pane?" New topic
Author

GUI requires MDI or Tabbed Pane?

Robert Konigsberg
Ranch Hand

Joined: Jun 23, 2004
Posts: 172
I know there are all these conversations about the GUI framework, and I've only skimmed them, so let me just ask this: has anyone successfully passed the exam by writing a GUI that leverages neither the MDI / Desktop style nor the Tabbed Panel style?

I've got to think there's an easy way to do this with frames/etc without coming off like a rookie. After all, the user interface is worth 10% of the final grade (I should say, my final grade.)


SCJP 1.4 (91%)<br />SCJD 1.4 (376/400, 94%)
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11404
    
  81

Hi Robert,

I passed using CardLayout and a single window open at any time (no MDI) - 100% for my user interface.

I have also seen lots of posts where people didn't even go to my level of complexity. They used a dialog box to get startup information, a dialog box to get booking details, and everything else was in a single frame.

Having a simple interface wont make you appear to be a rookie - in fact a well designed simple interface may be preferable to a more complex interface that uses technology for the sake of the technology .

Regards, Andrew


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Robert Konigsberg
Ranch Hand

Joined: Jun 23, 2004
Posts: 172
Ahh excellent. I did not know CardLayout until now. That is way better than a Tabbed Layout. Thanks for the advice!

RK
mike acre
Ranch Hand

Joined: Sep 23, 2003
Posts: 197
I was wondering what the emphasis on CardLayout was all about. Now I infer that it is for the life cycle stages of an application instance, ie where is the server? what is the query? what are the results?

My 1st response to the design of GUI is to have dialog for server location
And a North/Centre Border Layout for query/JTable.

Surely it is a good idea to see the query and results together, so the user can verify the results are for the intended query, ie check they performed the query they thought.

Is there any criticism of this approach?

What is the advantage of CardLayout? Is this in any way preferrable to dialogs?


SCJP 1.4, SCJD
Jon Entwistle
Ranch Hand

Joined: Feb 20, 2003
Posts: 118
I agree with your approach Mike - you can create an elegant and clean interface conforming to sound useability principles from a single frame with dialogs where appropriate.

Jon


SCJD, SCEA
Billy Tsai
Ranch Hand

Joined: May 23, 2003
Posts: 1297
use JTable


BEA 8.1 Certified Administrator, IBM Certified Solution Developer For XML 1.1 and Related Technologies, SCJP, SCWCD, SCBCD, SCDJWS, SCJD, SCEA,
Oracle Certified Master Java EE 5 Enterprise Architect
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: GUI requires MDI or Tabbed Pane?
 
Similar Threads
Grading Program--Need help, please!!!
GUI: simple vs. sophisticated
JSF Library mimicking Windows MDI
need help: I'm just not getting how this whole "private" / "public" class definition thing works.
Application Inactivity