This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Configuration view Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Configuration view" Watch "Configuration view" New topic

Configuration view

Mihai Radulescu
Ranch Hand

Joined: Sep 18, 2003
Posts: 918


Please comment my decisions/design

I have the URLy application and as like the others the URLy musts run in three modes server, client and alone. So far so good.

When the user starts the server he gets the server frame. Here he can (only) see the actual server configuration and he can start/stop the server. It also possible to alter the actual configuration by using the server configuration dialog.
With other words I have a frame for server actions(start/stop/configurate) and a dialog for configuration it self.

I do this because most of the time the server use only start/stop, the configuration is something that is not so offend used - I don't need to show it by default.

I have the same logic for the others two modes(client and alone).

I am right ?

In its book Andrew uses the same frame for both (start/stop/configurate) the same frame - the solution is simple and reliable, is this a better solution ?


P.S. Andrew, nice book !!!
[ February 17, 2006: Message edited by: Mihai Radulescu ]

I agree. Here's the link:
subject: Configuration view
It's not a secret anymore!