• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Location of Database and Server's Name

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For the Java Developer�s project the assignment stated the following:
These command lines may only take configuration parameters selected from this list:
�DNS name of the server
�Port number used by the server
�Data file name(s)
�java.rmi.server.codebase
�security manager policy file
To me, it is rather hard on the User having to type in the command arguments. Is it possible that a dialog box is displayed with two radio buttons, one for local database the other for network database and three textfields (one for location of database, one for hostname of server, one for port number of server).
i)If the user selects local database, the user is then required to enter the location of the database in the textfield.
ii)If the user selects network then the user is required to enter the hostname and portnumber of the server in the textfields.
Is that OK? I ask this question because I am concerned that I might lose some marks since the assignment says that the location of database name, hostname/port of server is via the command-line arguments. But I feel that it is much easier for the user to use the dialog box to enter all the required details.
 
author and jackaroo
Posts: 12199
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tim Adam

Is it possible that a dialog box is displayed with two radio buttons, one for local database the other for network database and three textfields (one for location of database, one for hostname of server, one for port number of server).


This is very close to what I did, however I had one panel for all options, rather than a dialog box. I did not process command line arguments for the client.
My view was that the word "may" is not "must". Therefore this should be acceptable (and far more user friendly).
This worked for me.
Regards, Andrew
 
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tim Adam.
I've had a dialog with a tabbed pane. One tab for local only asking for the location of the database and other tab for network asking the URL and port.
Miguel
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!