Skip to content

Commit

Permalink
Enable word wrap in results panel (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmoux authored Aug 28, 2023
1 parent 70e8838 commit 493d24a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ public void actionPerformed(ActionEvent e) {
this.results = new JTextArea(10, 60);
this.results.setEditable(false);
this.results.setText("No program loaded.");
this.results.setLineWrap(true);
this.results.setWrapStyleWord(true);
JScrollPane resultsScroll = new JScrollPane(this.results,
ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED,
ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED);
Expand Down

0 comments on commit 493d24a

Please sign in to comment.