Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Blocking F6 and F8 with WindowsLookAndFeel

843804Jun 22 2003 — edited Jan 18 2005
I have a Swing application which uses the WindowsLookAndFeel. The application relies critically on using function keys F1-F12 for various actions. All of the keys work, except F6 and F8. These get caught by a JSplitPane, where they are the standard keys for toggling between the splits and moving to the split bar.

Is there any way of preventing this behaviour? I've tried removing F6 and F8 from the inputmap of the object in question. I catch the key strokes for my own functions by placing an entry in the input map for each of them.

I'd be grateful for any help, as I'm not making a lot of progress on this.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 15 2005
Added on Jun 22 2003
3 comments
217 views