🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to position the original frame?

#1240
From: Ramon F Herrera
Date: Thu, 26 Feb 2004 05:23
32 lines
1893 bytes
Answering my own posting...

The original window position, obviously is set in
the same class where "main()" is.

-Ramon

Ramon F Herrera wrote:
> 
> Can anyone please tell me where the original (root?)
> window's location is set?  The JBuilder IDE generated
> the following code:
> 
> ----------------------------------------------------
>   //Component initialization
>   private void jbInit() throws Exception {
>     backGround = (JPanel)this.getContentPane();
>     backGround.setLayout(xYLayout1);
>     this.setSize(new Dimension(677, 732));
>     this.setTitle("Ramon's Java Program");
>     [...]
> ----------------------------------------------------
> 
> 
> As you can see, I could change the size of the main window
> but how do I change its original location?
> 
> Thanks,
> 
> -Ramon F. Herrera
> 
> 
Technical Details
Message-ID: <403d82d3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail
References: <403d45f5$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,55c79d886032be6e
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2004-02-25 21:35:12 PST
Date: Thu, 26 Feb 2004 00:23:33 -0500
From: Ramon F Herrera <ramon@jonjay.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: How to position the original frame?
References: <403d45f5$1@newsgroups.borland.com>
In-Reply-To: <403d45f5$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.128.136.41
Message-ID: <403d82d3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1077773011 24.128.136.41 (25 Feb 2004 21:23:31 -0800)
Lines: 34
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail