Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Just a yes or no question

Status
Not open for further replies.

Kruzer

Programmer
Jun 16, 2000
117
0
0
US
Can you place a JMenuBar in a JPanel?

Yes or No? Doesn't look you can, just wanted to make sure...

Thanks

Dano
dskryzer@hotmail.com
What's your major malfunction
 
So you can...hmmm

you can accomplish it by something like this?
JPanel obj = new JPanel(JMenuBarobj);

if not, how?

Dano
dskryzer@hotmail.com
What's your major malfunction
 
> you can accomplish it by something like this?

No

> if not, how?

That is NOT a yes or no question! YOUR FIRED! LOL

use one of the java.awt.Container.add(...) methods

Good luck
-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top