Re: setVisible on a JWindow steals focus from other apps?
- From: "Bill Joy" <wcjoy@xxxxxxxxxxx>
- Date: Thu, 23 Feb 2006 04:45:27 GMT
Just subclass JWindow and override the toFront() method so it does nothing.
"Trademark" <TMTrademark@xxxxxxxxx> wrote in message
news:1140649957.577565.84460@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hey all. I need to popup a window without the user necessarily noticing
it immediately. I'm using a technique involving a JWindow that starts
mostly offscreen and slides in to reveal information.
The problem is that when I surface the JWindow with setVisible(true),
the focus is stolen away from other applications, alerting the user too
early and just being annoying. Anyone have any advice on how to fix
this?
--TM
.
- Follow-Ups:
- Re: setVisible on a JWindow steals focus from other apps?
- From: Trademark
- Re: setVisible on a JWindow steals focus from other apps?
- References:
- setVisible on a JWindow steals focus from other apps?
- From: Trademark
- setVisible on a JWindow steals focus from other apps?
- Prev by Date: Re: setVisible on a JWindow steals focus from other apps?
- Next by Date: Re: configuration required to load icons from disk
- Previous by thread: Re: setVisible on a JWindow steals focus from other apps?
- Next by thread: Re: setVisible on a JWindow steals focus from other apps?
- Index(es):