wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Properties Dialog Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Properties Dialog" Watch "Properties Dialog" New topic
Author

Properties Dialog

Conor O'Mahony
Greenhorn

Joined: Aug 08, 2005
Posts: 7
Hello All,

When the application starts up I had been bringing up a dialog with the following information:

Local or Remote - Either radiobutton selected.
Database Name
Database Dir
Server DNS
Server Port


Now thinking about it more the Local/Remote choice doesn;t make a whole lot of sense cause the mode I run in is determined by the flag I pass when starting up.

So now I'm thinking show same dialog (minus radiobuttons)but just enable as follows:

Alone - DBName and Dir enabled
Server - DBName and Dir and Server Port enabled
None - Server DNS and Port enabled


Am I missing something ?

Plus I've seen mention of people providing buttons for start/stop of RMI server. I hadn't even thought of doing this.
Is it necessary ?

Thanks a lot,
Conor
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11404
    
  81

Hi Conor
So now I'm thinking show same dialog (minus radiobuttons)but just enable as follows:

Alone - DBName and Dir enabled
Server - DBName and Dir and Server Port enabled
None - Server DNS and Port enabled

Am I missing something ?
Looks good to me
Plus I've seen mention of people providing buttons for start/stop of RMI server. I hadn't even thought of doing this.
Is it necessary ?
I don't think it is necessary to explictly start/stop the RMI registry - once you have the parameters listed above you should be in a position to start. You would (presumably) have some way to stop the server application as a whole though.

Regards, Andrew
[ August 30, 2005: Message edited by: Andrew Monkhouse ]

The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Properties Dialog
 
Similar Threads
standalone v server mode
IS this Interface design OK
Server Instructions...
client server
Hey, People, please resond to this question !!!!!!!!!