Sudhansu<br />SCJP, SCWCD, SCBCD, SCJD, SCEA, SCDJWS
"I'm not back." - Bill Harding, Twister
Sudhansu<br />SCJP, SCWCD, SCBCD, SCJD, SCEA, SCDJWS
"I'm not back." - Bill Harding, Twister
SCJP & SCWCD
Sudhansu<br />SCJP, SCWCD, SCBCD, SCJD, SCEA, SCDJWS
"I'm not back." - Bill Harding, Twister
Sudhansu<br />SCJP, SCWCD, SCBCD, SCJD, SCEA, SCDJWS
"rw" Open for reading and writing. If the file does not already exist then an attempt will be made to create it.
SCJP & SCWCD
Regards, Richard
According your above posts,do I really need read Properties file to get
the file name of database(dbxx.db)?
If this,what format should I store it into suncertify.properties file and assign the string to RandomAccessFile variable as a argument
According your above posts,do I really need read Properties file to get
the file name of database(dbxx.db)?
If this,what format should I store it into suncertify.properties file and assign the string to RandomAccessFile variable as a argument
Sudhansu<br />SCJP, SCWCD, SCBCD, SCJD, SCEA, SCDJWS
In my case it is a requirement (Page 5 of Bodgitt and Scarper). So I have to provide a GUI to the users to enter the Database File Location, and that location has to be stored in a properties file.
All configuration must be done via a GUI, and must be persistent between runs of the program. Such configuration information must be stored in a file called suncertify.properties which must be located in the current working directory.
Regards, Richard
quote:
----------------------------------------------------------------------------
All configuration must be done via a GUI, and must be persistent between runs of the program. Such configuration information must be stored in a file called suncertify.properties which must be located in the current working directory.
----------------------------------------------------------------------------
As you said,does those really mean that I have to read file name from "suncertify.properties" and write configuration info with GUI components?
Please clarify that.
In my case it is a requirement (Page 5 of Bodgitt and Scarper). So I have to provide a GUI to the users to enter the Database File Location, and that location has to be stored in a properties file.
Regards, Richard
You mean that :
1.I must get the data file location (physical path) through enter file name
or JFileChooser.
2.I must store the string containing the location into properties file.
3.I must store other required information into properties file.
I agree and I will do so.
But from No.3,what info should I store into the properties file?
Please give a example.
Sudhansu<br />SCJP, SCWCD, SCBCD, SCJD, SCEA, SCDJWS
Can you really tell me that we aren't dealing with suspicious baked goods? And then there is this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|