mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
set bounds for TextArea
This commit is contained in:
+2
@@ -394,6 +394,8 @@ public class AndroidLayoutPreviewToolWindowManager implements ProjectComponent {
|
||||
final JPanel panel = new JPanel(new BorderLayout());
|
||||
final JTextArea textArea = new JTextArea(stackTrace);
|
||||
textArea.setEditable(false);
|
||||
textArea.setRows(40);
|
||||
textArea.setColumns(70);
|
||||
panel.add(ScrollPaneFactory.createScrollPane(textArea));
|
||||
return panel;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user