Skip to content

Commit

Permalink
Issue mabe02#217: Make SwingTerminalFrame dispose on close by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mabe02 committed Mar 13, 2016
1 parent 65a4231 commit f5e45d8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ private SwingTerminalFrame(String title, SwingTerminal swingTerminal, TerminalEm

getContentPane().setLayout(new BorderLayout());
getContentPane().add(swingTerminal, BorderLayout.CENTER);
setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
setBackground(Color.BLACK); //This will reduce white flicker when resizing the window
pack();

Expand Down

0 comments on commit f5e45d8

Please sign in to comment.