| Author |
Layout problem
|
Hui Zhao
Ranch Hand
Joined: Jul 09, 2007
Posts: 116
|
posted

0
|
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
|
posted

0
|
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 apps – ImageJ plugins – Java web charts
|
 |
 |
|
|
subject: Layout problem
|
|
|