• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

FileChooser

 
jian zheng
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I'm ready to submit my exam and review the requirement.I got confused with the following:
"Network Approaches
Your choice of RMI or serialized objects will not affect your grade, but no other approach is acceptable. In either case, the program must allow the user to specify the location of the database, "and it must also accept an indication that a local database is to be used, in which case, the networking must be bypassed entirely. No authentication is required for database access. "
I use a FileChooser to allow user specify the db file's location when starting server, but user can still locate a db file not local through Network Neighbour, is it ok?I mean on windows platform.
Thanks
 
Jacques Bosch
Ranch Hand
Posts: 319
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is perfectly fine!
J
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jian,
It is prefectly ok, I have also used FileChooser as part of my GUI for the users to select the .db file.
Nick.
 
jian zheng
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thx all!
You give me confidence!
 
amchi gelo
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I find that the JFileChooser is very slow and takes a few seconds to come up. Anyone else has this issue?
Sanjay
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic