Paul Powell <moloch16_at_yahoo.com> writes:
> Hello,
>
> I am having problems under FVWM2 using Alt-? hot keys
> with Java GUI interfaces. It doesn't work. For
> example, I have a File menu where the user can hit
> Alt-F to bring up the File menu interface. This works
> fine under Gnome / Enlightenment but fails under
> FVWM2.
>
> I'm using IBM's JDK 1.1.8 and Swing 1.1.1.
>
> I used the "xmodmap" command as suggested in the JDK
> README file and that did the trick under Enlightenment
> but under FVWM it failed.
>
> Anyone have any experience using Java and FVWM that
> could help me out?
I can try. I'm a bit of a Java novice though.
Using your sample program, I was unable to get ALT-F to pull down the
file menu the same as you. I ran Java traces, and the keys
are clearly getting to the Java app.
After reading some docs, I tried hitting F10 instead. Sure enough,
F10 will make the file menu pull down.
What this seems to be related to is something Java calls "LookAndFeel".
The values for this seem to be: "Motif", "Windows", "Mac", "Metal"
In Fvwm's case, it seems to be using "Metal". I think thats where
the F10 comes in.
I don't understand the LookAndFeel class docs well enough to know
if you can set the LookAndFeel yourself. I don't know yet, how
Gnome/Enlightenment manage to convince Java to use a different
LookAndFeel either (if thats whats happening).
Perhaps someone on this list can correct me, or if I'm on the right
track, supply some more input.
--
Dan Espen
444 Hoes Lane Room RRC 1C-214 E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854 Phone: (732) 699-5570
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Nov 01 2000 - 10:23:03 GMT