Forums Register Login

Question about assignment.

+Pie Number of slices to send: Send
 


The user must be able to select the operating mode, although it is acceptable that the program stay in one mode once it has started up.


If i need to build a GUI to let user select operation mode at first.If needed,how can i implement it?
+Pie Number of slices to send: Send
Hi ZhengQi:
It is a big question!
Do you have any ideas on it??
~dennis hu~
+Pie Number of slices to send: Send
Hi ZhengQi,


If i need to build a GUI to let user select operation mode at first.If needed,how can i implement it?


That's up to you, but most, including myself, have opted to select the mode based on the command line.
Hope this helps,
Michael Morris
+Pie Number of slices to send: Send
Thank Michael for your advice!!!
+Pie Number of slices to send: Send
Create a GUI(JPanel) which contains a Label some thing like " Please select ur login mode" followed by a combo box with the option for local or remote. Here if the user selects Remote then append a text field to the same GUI(JPanel) for reciving the remote IP. Finally have a ok button which will deside the the local or remote based on the selection u made earlier will set a flag. Using this flag make a call to a class which implements Factory pattern and return the reference of the appropriate DataInterface class.
regards,
RameshKumar
Thanks tiny ad, for helping me escape the terrible comfort of this chair.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 647 times.
Similar Threads
Database connection
Is Login Screen required ?
operating mode
Mouse pointer outside of application window issue
Design Questions
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 06:44:16.