Lock components into place?

View: New views
4 Messages — Rating Filter:   Alert me  

Lock components into place?

by kharabeesh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Everytime I try to move the GUI components in my design in a JApplet all components move and the main pane resizes itself! Is there a way to lock components in the Design window in place or place them in a non-relative way to everything around them So they quit moving around?

Re: Lock components into place?

by Jeff Powell-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

AbsoluteLayout works but you must include the AbsoluteLayout.jar with your applet.

On Tue, 2008-07-22 at 13:49 -0700, kharabeesh wrote:
Everytime I try to move the GUI components in my design in a JApplet all components move and the main pane resizes itself! Is there a way to lock components in the Design window in place or place them in a non-relative way to everything around them So they quit moving around?


View this message in context: Lock components into place?
Sent from the Netbeans - Users mailing list archive at Nabble.com.

Re: Lock components into place?

by Kurt Olsen-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

My solution is to get the widgets where you want them. Then I select
them all, right-click, and select Enclose-In, then I choose panel.
So I basically trap them in a box where they can't move around as
much....Its not perfect, but it helps.

kharabeesh wrote:
> Everytime I try to move the GUI components in my design in a JApplet
> all components move and the main pane resizes itself! Is there a way
> to lock components in the Design window in place or place them in a
> non-relative way to everything around them So they quit moving around?
> ------------------------------------------------------------------------
> View this message in context: Lock components into place?
> <http://www.nabble.com/Lock-components-into-place--tp18598419p18598419.html>
> Sent from the Netbeans - Users mailing list archive
> <http://www.nabble.com/Netbeans---Users-f2605.html> at Nabble.com.


Re: Lock components into place?

by Carl-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

We use a product called JFormDesigner from JGoodies.  Easy to learn (a
couple of hours, max) and the layout is predictable and clear.

Thanks,

Carl

----- Original Message -----
From: "Kurt Olsen" <kolsen@...>
To: <nbusers@...>
Sent: Tuesday, July 22, 2008 3:55 PM
Subject: Re: [nbusers] Lock components into place?


> My solution is to get the widgets where you want them. Then I select them
> all, right-click, and select Enclose-In, then I choose panel.
> So I basically trap them in a box where they can't move around as
> much....Its not perfect, but it helps.
>
> kharabeesh wrote:
>> Everytime I try to move the GUI components in my design in a JApplet all
>> components move and the main pane resizes itself! Is there a way to lock
>> components in the Design window in place or place them in a non-relative
>> way to everything around them So they quit moving around?
>> ------------------------------------------------------------------------
>> View this message in context: Lock components into place?
>> <http://www.nabble.com/Lock-components-into-place--tp18598419p18598419.html>
>> Sent from the Netbeans - Users mailing list archive
>> <http://www.nabble.com/Netbeans---Users-f2605.html> at Nabble.com.
>
>
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database:
> 270.5.4/1566 - Release Date: 7/22/2008 6:00 AM
>
>
>