8182838485868788899091
} } } JTextArea messageField = inspectionControl.getMessageField(); messageField.setText(message.toString()); messageField.revalidate(); } /** * (overridden) *
404405406407408409410411412413414
if (component1 instanceof JTextArea) { JTextArea area = (JTextArea) component1; Dimension size = area.getSize(); size.width = 1; area.setSize(size); area.revalidate(); area.updateUI(); } } } }