🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18329

Re: A Way to keep a Window always on top?

#18329
From: Scott Ottesen
Date: Wed, 08 Jul 1998 00:00
31 lines
1888 bytes
Gerry-

Yes, I'm using awt. toFront() is being called from class java.awt.Window.  I've
tried the deactivated event, but the problem is the form redraws itself loosing
highlighted selections in a java.awt list component, and flashes behind and in
front of the calling frame in a pretty annoying manner.  I've considered Swing,
but I don't want to move that direction quite yet, primarily because of it's
lack of support on browsers right now, and since it's so new, it's probably
still quite buggy.  I'll let people work out the bugs with it before I dive too
deep into it!   I'm hoping by the time the Conference comes around to Denver,
things will be more in "swing" with Swing.

Thanks for the reply! -Scott.

Gerry Mantha wrote:

> Scott, I'll assume your not using Swing but awt?.  Where are you calling
> toFront()?  Have you tried adding toFront() within your window's deactivated
> event?  Your not trying to make your window modal are you; just "floating"?
>
> Scott Ottesen wrote in message <3598F484.A5646B6C@dced.state.ut.us>...
> >Hi-
> >
> >Is there a way to keep a window/frame always on top?  The toFront()
> >method isn't cutting it for me.
> >
> >Thanks
> >
> >Scott Ottesen
> >sottesen@dced.state.ut.us
> >
Technical Details
Message-ID: <35A388EA.3BFF3484@dced.state.ut.us>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3598F484.A5646B6C@dced.state.ut.us> <6nh1ap$8ch2@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,228d7ea072f2f54
X-Google-Attributes: gidf74b3,public
From: Scott Ottesen <sottesen@dced.state.ut.us>
Subject: Re: A Way to keep a Window always on top?
Date: 1998/07/08
Message-ID: <35A388EA.3BFF3484@dced.state.ut.us>
X-Deja-AN: 369557436
Content-Transfer-Encoding: 7bit
References: <3598F484.A5646B6C@dced.state.ut.us> <6nh1ap$8ch2@forums.borland.com>
To: Gerry Mantha <gmantha@home.com>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language