If I use a JTextArea with MigLayout like this:
MigLayout thisLayout = new MigLayout(\"\", \"[][grow]\", \"[]20[]\");
this.setLayout(thisLayout);
{
jLab
I just discovered that this can simply be resolved by changing the line
this.add(jTextArea1, "cell 0 1 2 1,growx");
to
this.add(jTextArea1, "cell 0 1 2 1,growx, wmin 10");
and no extra panels are needed. Setting an explicit minimum size is what does the trick.
Explanation: see the note under the section on padding in the MiGLayout whitepaper:
http://www.migcalendar.com/miglayout/whitepaper.html