This is true but you usually get round this by setting the layer that needs a layout manager to a non-opaque JPanel with the layout manager and size it to the full size of the JLayeredPane (you have to do this in a ComponentListener if you allow resizing).
Dave Wathen Canzonet Limited http://www.canzonet.com mailto:[EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Greg Munt Sent: 23 April 2002 16:38 To: vasista; [EMAIL PROTECTED] Subject: Re: Advanced-swing digest, Vol 1 #351 - 1 msg I believe that you cannot use a layout manager with JLayeredPane. (That is, it has to be set to null.) ----- Original Message ----- From: "vasista" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 23, 2002 2:54 PM Subject: Re: Advanced-swing digest, Vol 1 #351 - 1 msg > why don't use a JLayeredPane.You can easily set backgrounds using > JLayeredPane. > _______________________________________________ > Advanced-swing mailing list > [EMAIL PROTECTED] > http://eos.dk/mailman/listinfo/advanced-swing > _______________________________________________ Advanced-swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/advanced-swing _______________________________________________ Advanced-swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/advanced-swing
