Unable to resize panel when components are added at runtime to a panel with gridbag layout
posted 5 years ago
I am a fresher to JAVA Swing
I am trying an example problem to add components at runtime to a panel.
I am able to add the components, but unable to resize the panel.
Can someone please suggest me what I am missing here in the following code ?