where "pannelloBtn" is my JPanel.
The JPanel code for "pannelloBtn" is located in a custom class that extends JPanel. In the constructor I've added the following code:
Now I have a problem: when I run the application the JPanel's width is resized to zero, even if I've specified a minimun width of 400.
I can't solve it: any help is more than welcome. Thank you very much!