Originally posted by Maria Lepschy:
Hi all,
I have also a question concerning GUI Design. I have only one screen.
I implemented also a sort functionality on the table columns. So, if I sort the owner column, the user can see all the booked records. In this case, I don't think that a dialog to show the booked records is necessary. What do you think?
Regards, George
SCJP, SCJD, SCWCD, SCBCD
Originally posted by Seid Myadiyev:
Or more GUI controls can still be invoked from main frame's menu bar, such as: File open dialog for locating the database, additional dialog for viewing/editing properties file, and error message boxes for notifying user?
Regards, George
SCJP, SCJD, SCWCD, SCBCD
Java Developer
SCJP, SCJD, SCWCD, SCBCD
Originally posted by Fl�vio Fran�a:
I had all the GUI controls mentioned too. And also a GUI to the server, which is not required but I think it's more elegant.
Regards, George
SCJP, SCJD, SCWCD, SCBCD
Seid Myadiyev<br />SCJP, SCWCD, SCBCD, SCEA-Part 1
Originally posted by Seid Myadiyev:
For specifying the location of db.db file did you use JFileChooser? If yes, then how could the same control be used for viewing and editing properties file? Or did you create a custom control to be used in both ways?
Regards, George
SCJP, SCJD, SCWCD, SCBCD
Originally posted by George Marinkovich:
Hi Seid,
I created a custom dialog that could be selected from the File menu. This dialog allowed the user to edit the configuration items (loaded from the suncertify.properties file) in text fields. In the case where the configuration item was the database file location I followed the text field with a browse button. The browse button opened a JFileChooser. So the user could type the database file location in the text field, or press the browse button and select the database file location using the JFileChooser.
[ March 06, 2004: Message edited by: George Marinkovich ]
Marco Tedone<br />SCJP1.4,SCJP5,SCBCD,SCWCD
Originally posted by Marco Tedone:
Does this mean that the db had to be there before actually starting the application?
Regards, George
SCJP, SCJD, SCWCD, SCBCD
Originally posted by George Marinkovich:
Hi Marco,
I don't think I understand your question. Why wouldn't the db file be there before you start the application? The application uses the database file specified in the suncertify.properties file, or if that file is missing then the database file specified in the hard-coded defaults.
Marco Tedone<br />SCJP1.4,SCJP5,SCBCD,SCWCD
Originally posted by Marco Tedone:
The reason is that I haven't recevied my exam yet, so I don't really know what goes on. I thought that the assignment didn't ship with an already existing database, therefore I didn't know how the FileChoose control could let the user specify a database. Does the assignment ships already with a database?
In this case the FileChooser is perfectly reliable.
Originally posted by Marco Tedone:
I thought that the assignment didn't ship with an already existing database, therefore I didn't know how the FileChoose control could let the user specify a database. Does the assignment ships already with a database?
In this case the FileChooser is perfectly reliable.
Regards, George
SCJP, SCJD, SCWCD, SCBCD
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |