ALT-TAB will switch between windows on fvwm and fvwm-95, maybe with other
window managers also.  Window.toFront() will move a window to the foreground
and get the focus; Component.requestFocus() should make a component active,
although I've found this doesn't work sometimes, particularly if the
component is in a Window, rather than a Frame.

Robert Passaro wrote:

> Hello.
>
> I'm using RedHat 6.0 and IBM's jdk1.1.8
>
> (1) Can someone tell me the linux command line to give a java app
> keyboard focus, without having to give its window a mouseclick? (I want
> to create an app that does not use a pointer of any kind)
>
> (2) Can someone tell me how I can launch a java app in X/gnome *without*
> the gnome window frame?
>
> (3) Finally, can someone tell me how I can set a default screen position
> and size for a java app through X settings?  jdk1.1.8 doesn't seem to
> listen to the settings I've made in code (which work in jdk1.2 and
> 1.2.2), and doing
>
>     ./start_java_script AppName -geometry 200x200+10+10
>
> doesn't work either.
>
> Any hints, tips would be greatly appreciated.  Thanks!
>
> Rob
> BMW Technology Office
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to