🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #10367

Re: Java frame absolute position, priority?

#10367
From: Rich Wilkman
Date: Fri, 08 Oct 1999 00:00
71 lines
2735 bytes
Ken:

Run the Application Wizard and select the "center on screen" option. 
Look at that code and where it's doing all the math to figure out where
the center of the screen is and tell it to use whatever co-ordinate
values you want instead of the results of the math.

-Rich

Ken VanCouvering wrote:
> 
> Any examples?
> 
> Rich Wilkman <rwilkman@inprise.com> wrote in message
> news:37FD20A4.3D9623FE@inprise.com...
> > Ken:
> >
> > The same code for figuring out the center can be replaced by hard
> > co-ordinates pretty easily.
> >
> > You can have "on top" enforced for other Java created items, but any
> > Windows, etc. created by the OS don't have to pay a lick of attention to
> > your Java stuff (and won't).
> >
> > -Rich
> >
> > Ken VanCouvering wrote:
> > >
> > > Hello,
> > >
> > > Can I position a java frame on an absolute location of the screen (other
> > > than
> > > center)?
> > >
> > > Also, can I enforce priority of java windows, (make one always in
> front)?
> > >
> > > Thanks for any input!
> > >
> > > Ken VanCouvering
> > > ken.vancouvering@trw.com
> >
> > --
> >
> > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> > Rich Wilkman
> > Quality Assurance Manager
> > Borland JBuilder Team
> >
> > If you see something that looks like an opinion up there,
> > it's mine and mine alone.
> >
> > Mail sent to me from the newsgroups won't bounce but will
> > be ignored.  If I have time, I'll respond, but you  have
> > a better chance if you confine your posts to the newsgroups
> > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Quality Assurance Manager
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <37FE144A.805DB25E@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7tj0me$sji7@forums.borland.com> <37FD20A4.3D9623FE@inprise.com> <7tl2k8$erf15@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,88b263909a6b374
X-Google-Attributes: gid111d45,public
From: Rich Wilkman <rwilkman@inprise.com>
Subject: Re: Java frame absolute position, priority?
Date: 1999/10/08
Message-ID: <37FE144A.805DB25E@inprise.com>
X-Deja-AN: 534365023
Content-Transfer-Encoding: 7bit
References: <7tj0me$sji7@forums.borland.com> <37FD20A4.3D9623FE@inprise.com> <7tl2k8$erf15@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing