[nbusers] Re: How do I overlap Swing components in Swing Creator?

  • From: Brenden Towey < >
  • To:
  • Subject: [nbusers] Re: How do I overlap Swing components in Swing Creator?
  • Date: Sun, 30 Sep 2012 19:29:53 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=DKIM-Signature:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=bY+VCz2D+4Xg0cViRQQh6INxEFfJC4m6QePoSuBKTN6YT8vymMbHm6oHGkzjZebIf/4DmQWqLszp7o6Fs0E2PPqwLQ1otSCyhqymToL3PnjRZYn4B8M5DGNoebb1G6Ezk7P4V1MN5tpFCC9E/vyMX2vTwPju03Kcepv4hpWFRkI= ;

As far as I know, there's no way to do this. The layout managers are *designed* to not overlap components, that's pretty much all they do. Hence you have to set the layout to null to get overlap, which gets rid of the layout manager.

The picture in your post looks nice, what are you trying to do that involves "overlap?"

On 9/30/2012 3:12 PM, matt773175 wrote:
How can I place Swing Components such as buttons and labels on the image to 
the left without making it a null layout?

If I try, currently it scoots everything to the right of it. (Not on top)

Is there anyways to do this in Netbeans JFrame creator without hard coding it?


[Image: http://i.imgur.com/Uqcf4.jpg ;]

[nbusers] Re: How do I overlap Swing components in Swing Creator?

Brenden Towey 10/01/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 25 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20150226.965aeb8). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
Please Confirm