LineWrap « JTextArea « Java Swing Q&A





1. MigLayout JTextArea is not shrinking when used with linewrap=true    stackoverflow.com

If I use a JTextArea with MigLayout like this:

MigLayout thisLayout = new MigLayout("", "[][grow]", "[]20[]");
   this.setLayout(thisLayout);
   {
jLabel1 = new JLabel();
this.add(jLabel1, "cell 0 0");
jLabel1.setText("jLabel1");
  }
  {
 ...

2. JTextArea LineWrap    coderanch.com