Thread View: borland.public.jbuilder.java.swing
7 messages
7 total messages
Started by Peder Sk�nning
Tue, 04 Jan 2005 11:40
MenuBar
Author: Peder Sk�nning
Date: Tue, 04 Jan 2005 11:40
Date: Tue, 04 Jan 2005 11:40
9 lines
1078 bytes
1078 bytes
I am writing an application i jBuilder 2005. On a form I have a MenuBar and two panels. When the menu drop down, they drop down behind the panels. How do I change the order, so the menu drops down on top of the panels. Thanks Peder Sk�nning
Re: MenuBar
Author: Lori M Olson [TeamB]
Date: Tue, 04 Jan 2005 14:42
Date: Tue, 04 Jan 2005 14:42
35 lines
1979 bytes
1979 bytes
Peder Sk�nning wrote:
> I am writing an application i jBuilder 2005.
>
> On a form I have a MenuBar and two panels. When the menu drop down, they
> drop down behind the panels. How do I change the order, so the menu drops
> down on top of the panels.
>
> Thanks
>
> Peder Sk�nning
>
>
You are mixing lightweight (Swing) and heavyweight (AWT) components.
This is a common problem in such instances. The solution is to NOT mix
components. Use ALL Swing or ALL AWT, but don't try to use both.
--
Regards,
Lori Olson [TeamB]
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Re: MenuBar
Author: Peder Sk�nning
Date: Fri, 07 Jan 2005 07:52
Date: Fri, 07 Jan 2005 07:52
30 lines
1775 bytes
1775 bytes
"Lori M Olson [TeamB]" <javadragon@techie.com> skrev i en meddelelse news:41daab69@newsgroups.borland.com... > Peder Sk�nning wrote: >> I am writing an application i jBuilder 2005. >> >> On a form I have a MenuBar and two panels. When the menu drop down, they >> drop down behind the panels. How do I change the order, so the menu drops >> down on top of the panels. >> >> Thanks >> >> Peder Sk�nning > > You are mixing lightweight (Swing) and heavyweight (AWT) components. This > is a common problem in such instances. The solution is to NOT mix > components. Use ALL Swing or ALL AWT, but don't try to use both. > > -- > > Regards, > > Lori Olson [TeamB] > As far as I can se both jPanel and jMenuBar are AWT components? Regards Peder Sk�nning
Re: MenuBar
Author: Lori M Olson [TeamB]
Date: Fri, 07 Jan 2005 15:15
Date: Fri, 07 Jan 2005 15:15
20 lines
1491 bytes
1491 bytes
Peder Sk�nning wrote: > > > As far as I can se both jPanel and jMenuBar are AWT components? > > Regards > > Peder Sk�nning > > Actually JPanel and JMenuBar are Swing components. But JMenuBars are static components, which do not "pop down". The menus that you attach to the JMenuBar are relevant here. What type are they? -- Regards, Lori Olson [TeamB]
Re: MenuBar
Author: Peder Sk�nning
Date: Fri, 07 Jan 2005 17:51
Date: Fri, 07 Jan 2005 17:51
32 lines
1764 bytes
1764 bytes
"Lori M Olson [TeamB]" <javadragon@techie.com> skrev i en meddelelse news:41dea782@newsgroups.borland.com... > Peder Sk�nning wrote: >> >> >> As far as I can se both jPanel and jMenuBar are AWT components? >> >> Regards >> >> Peder Sk�nning > > Actually JPanel and JMenuBar are Swing components. But JMenuBars are > static components, which do not "pop down". The menus that you attach to > the JMenuBar are relevant here. What type are they? > > -- > > Regards, > > Lori Olson [TeamB] > In the GUI of jBuilder 2005 both jPanel and jMenuBar are in the AWT page. Why are they here, if they are Swing components? The menus attached to the jMenuBar are the default jMenu by the GUI menu editor. Regards Peder Sk�nning
Re: MenuBar
Author: Lori M Olson [TeamB]
Date: Fri, 07 Jan 2005 19:02
Date: Fri, 07 Jan 2005 19:02
37 lines
2350 bytes
2350 bytes
Peder Sk�nning wrote:
>
> In the GUI of jBuilder 2005 both jPanel and jMenuBar are in the AWT page.
> Why are they here, if they are Swing components?
>
> The menus attached to the jMenuBar are the default jMenu by the GUI menu
> editor.
>
> Regards
>
> Peder Sk�nning
>
>
Ok, now you are talking about designer things. I'm talking about code
things. Let's see some of the code we are talking about here, so I can
figure out exactly what components you are using.
--
Regards,
Lori Olson [TeamB]
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Re: MenuBar
Author: John McGrath [TeamB]
Date: Sat, 08 Jan 2005 05:36
Date: Sat, 08 Jan 2005 05:36
17 lines
1640 bytes
1640 bytes
On 1/7/2005 at 12:51:57 PM, Peder Sk�nning wrote:
> In the GUI of jBuilder 2005 both jPanel and jMenuBar are in the AWT
> page. Why are they here, if they are Swing components?
That should not be the case, unless you have moved them. On the AWT page,
you should find Panel and MenuBar, not JPanel and JMenuBar. Those can be
found on the "Swing Containers" page.
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
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