Here are two questions I've had on swing.  One pertains to java-linux,
the other doesn't, but you guys have been very helpful to me so I
thought I'd ask both.

1)  Accessing top level menus via keyboard in Swing.  Using Swing 1.0.3
and jdk 1.1.6.  I can attach keystrokes to menu items via setMnemonic
and this works.  When I attach keystrokes via setMnemonic() to top level
JMenu, however, the keystroke doesn't work, even though the mnemonicized
keystroke does appear in the Menu onscreen.  That's under redhat 5.0.
If I take the program and run it on Win95 then the key stroke access
does work.  What's going on here?

2)  Is there any way to change the colors of the arrow buttons and thumb
in a JScrollBar? I can change everything but that and with the colors
I've chosen, they look really stupid.  I realize that this probably
violates the whole look and feel idea which is so prevalent in Swing,
but there ought to be some way to get at these things.

Reply via email to