Skip to content

Commit

Permalink
Console resizes when height of window is changed
Browse files Browse the repository at this point in the history
  • Loading branch information
tenny1028 authored and tenny1028 committed Oct 22, 2014
1 parent d74ebfa commit 0c1ef43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jarbundler/Frame.java
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public String getDescription() {
JPanel panel7 = new JPanel(new BorderLayout());
buildButton.addActionListener((ActionEvent e) -> new Thread(bundleThread).start());
panel7.add(buildButton, BorderLayout.NORTH);
outputArea = new JTextArea(4,30);
outputArea = new JTextArea(6,30);
outputArea.setFont(new Font("Monospaced",Font.PLAIN,12));
outputArea.setForeground(Color.WHITE);
outputArea.setBackground(Color.BLACK);
Expand All @@ -201,8 +201,8 @@ public String getDescription() {
panel7.add(scrollPane,BorderLayout.CENTER);
add(panel7);

add(panel8, BorderLayout.CENTER);
add(panel7, BorderLayout.SOUTH);
add(panel8, BorderLayout.NORTH);
add(panel7, BorderLayout.CENTER);

setDefaultCloseOperation(DISPOSE_ON_CLOSE);
setVisible(true);
Expand Down

0 comments on commit 0c1ef43

Please sign in to comment.