Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #3934
| From | "Daniele Futtorovic" <daniele.futtorovic@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: Problems with a Layer |
| Message-ID | <g7h405$qsg$1@registered.motzarella.org> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <489bffd4$0$18077$ec3e2dad@news.usenetmonster.com> |
| Date | 2011-04-27 15:47 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui On 08/08/2008 10:12, Kenneth P. Turvey allegedly wrote: > On Fri, 08 Aug 2008 07:59:59 +0000, Kenneth P. Turvey wrote: > >> On Fri, 08 Aug 2008 06:50:52 +0000, Kenneth P. Turvey wrote: >> >>> I'm changing some code I have to use a layered pane in a place where it >>> used to use a decedent of JPanel. I'm adding the old JPanel to it, and >>> right now that's all it is holding. I want it to look exactly the way >>> it looked before, with the JPanel positioned in exactly the same place. >>> >>> This seems reasonable, since that's the only thing it is holding, but I >>> can't get it to work. I should note that this component is being held >>> by a JScrollPanel. So basically I want the new JLayeredPane to look >>> just like the old JPanel to the JScrollPanel, and I want it to look >>> just like the JScrollPanel to the JPanel. >>> >>> I think it might just be a mater of getting the layout set right. >>> >>> Any help would be appreciated. >> Problem solved. I just used a 1x1 grid in the LayeredPane and it gave >> me what I wanted. It works perfectly. >> >> Thanks anyway. > > I spoke too quickly. It looks like I really need a null layout. So what > I need is a way to get the JLayeredPane to work like it has a GridLayout > while using a null layout. Huh? Never ever use a null layout out, I'd say. I couldn't quite make any sense of what you wrote upthreads. I think I understood what you were unable to achieve, overall, but I'm left guessing why you were unable, or, say, how you noticed you were unable to achieve it. Mind leaving some screenshots somewhere? Some code would be neat, too. -- DF. --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Problems with a Layered P "Kenneth P. Turvey" <kenneth.p..turvey@THRWHITE.remove-dii-this> - 2011-04-27 15:47 +0000
Re: Problems with a Layer "Kenneth P. Turvey" <kenneth.p..turvey@THRWHITE.remove-dii-this> - 2011-04-27 15:47 +0000
Re: Problems with a Layer "Kenneth P. Turvey" <kenneth.p..turvey@THRWHITE.remove-dii-this> - 2011-04-27 15:47 +0000
Re: Problems with a Layer "Daniele Futtorovic" <daniele.futtorovic@THRWHITE.remove-dii-this> - 2011-04-27 15:47 +0000
Re: Problems with a Layer "Kenneth P. Turvey" <kenneth.p..turvey@THRWHITE.remove-dii-this> - 2011-04-27 15:47 +0000
csiph-web