Thread View: borland.public.jbuilder.java.swing
2 messages
2 total messages
Started by Ramon F Herrera
Thu, 26 Feb 2004 01:03
How to position the original frame?
Author: Ramon F Herrera
Date: Thu, 26 Feb 2004 01:03
Date: Thu, 26 Feb 2004 01:03
22 lines
1646 bytes
1646 bytes
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
Re: How to position the original frame?
Author: Ramon F Herrera
Date: Thu, 26 Feb 2004 05:23
Date: Thu, 26 Feb 2004 05:23
32 lines
1893 bytes
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
>
>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads