T
Tom Parson
I would like to set the width of a Container/ContentPane to 400 pixel.
But the following does NOT work:
How do I do it otherwise?
Container contentPane = getContentPane();
GridBagLayout gridbag = new GridBagLayout();
contentPane.setLayout(gridbag);
contentPane.setWidth(400); -->Compiler Err
Tom
But the following does NOT work:
How do I do it otherwise?
Container contentPane = getContentPane();
GridBagLayout gridbag = new GridBagLayout();
contentPane.setLayout(gridbag);
contentPane.setWidth(400); -->Compiler Err
Tom