aspose file tools
The moose likes Swing / AWT / SWT and the fly likes Layout problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Layout problem " Watch "Layout problem " New topic
Author

Layout problem

Hui Zhao
Ranch Hand

Joined: Jul 09, 2007
Posts: 116
Hi, I want to plot a 3d and two combox, but only combox displayed.
Why my drawing no appearence?
Thanks, this is an executable code.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35258
    
    7
panel.add(drawing,"Center");


This looks a bit odd. Have you tried "panel.add(getComboPanel(), BorderLayout.CENTER)" instead?

You should also set the layout explicitly, like "panel.setLayout(new BorderLayout())".


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Layout problem
 
Similar Threads
put an applet into a web page
JSlider is not working.
JSlider is not working.
AWT Event look for help
Events listener are not working.