Meaningless Drivel is fun!*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Using focus...  it is necessary? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Using focus...  it is necessary?" Watch "Using focus...  it is necessary?" New topic
Author

Using focus... it is necessary?

Samuel Pessorrusso
Ranch Hand

Joined: Jul 21, 2005
Posts: 164
Hi,

My project is done or I thought that it was until I tested it and I notice some behaviors with the "Focus thing".
Do I need to care about the Focus? Is it really necessary to have a GUI that works only with the keyboard?
I'm asking that because my project has 2800 LOC and I really don't want to add any more lines or complexity to it.

Thanks!
Jan Groth
Ranch Hand

Joined: Feb 03, 2004
Posts: 456
hi samuel,

never heard or read about "the focus thing".

where do you have your information from?

btw: i set a keymap for all buttons, i guess i have about 10 to 15 of them, so that would not be too much extra complexity... ;-)

many greetings,
jan
Samuel Pessorrusso
Ranch Hand

Joined: Jul 21, 2005
Posts: 164
Sorry my poor english. The "Focus thing" was a way of specifying the management of component focus. It isn't anything described on the assignment.


Example:
When booking a record, i show a dialog with all Contractor information as read-only except the owner ID, but the focus is not at the owner ID textfield, the user can not start to type the ID number, he needs to select the owner ID field and then start to type the ID.
Jan Groth
Ranch Hand

Joined: Feb 03, 2004
Posts: 456
hello,

i see... ;-)

to be honest: i didnt take care about that... as said, i'm using keymaps, so all buttons are accessible via keystroke, without moving any focuses explicitely.

i think that's fine, but that's my opinion only ...

many greetings,
jan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using focus... it is necessary?
 
Similar Threads
How to divide File in Java
Certification expires in 2 years
4-5 hour project (online telecommute)
GWT: focus management
SCJWSD Online Group Study