Hello, I am wondering whether instead of getting the user to enter in command parameters to specify the start up I could get them to select the setting from a small GUI Frame. My thoughts currently on this are that the GUI approach may be better because you could hard code some default settings but also allow the user to enter new different parameters. It is also easy to edit / validate if the user makes a mistake. (The GUI would basically consist of all command line parameters; Local / Remote etc.) But I am also thinking that because this isn't required I may loose marks for going over the top. All thoughts welcome. Thanks Ian
Ian, just so you know you're not alone out here. I'm working on this exact thing at the moment. I decided my gui will begin with loading up a JFrame (with no real functionality except a JPanel with instructions on general use). From there a user will have to set the connection through a pull down menu item or a button. These items will trigger events that will create a JDialog box for entering in such information as port number, dns, data file name and local vs remote. After the above info is extracted from the JDialog Box I will create my connection either remotely or locally.
Ian B Anderson
Joined: Jun 26, 2001
Thank you Rahul and Jarrod. I have decided to go with a GUI start up. Basically I will load my Client JFrame etc and then get the user to connect from there. (Probably a button / menu option). Doing it this way would support future enhancements such as been able to swap mode on the fly (local / remote). Thanks again.