Skip to content

Commit

Permalink
code gardening
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo B. de Oliveira committed Sep 22, 2012
1 parent f168528 commit 03c83e7
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -28,15 +28,15 @@ public class ReplWindowImpl extends JFrame implements ReplWindow {
public ReplWindowImpl() {

setLayout(new BorderLayout());
add (_title , BorderLayout.NORTH);
add(_title , BorderLayout.NORTH);

super.add(textArea);
super.setSize(300, 300);

textArea.addKeyListener(new KeyAdapter() {
@Override
public void keyReleased(KeyEvent e) {
if(e.isControlDown() && e.getKeyCode() == KeyEvent.VK_ENTER) {
if (e.isControlDown() && e.getKeyCode() == KeyEvent.VK_ENTER) {
executeAndShowResult();
}
}
Expand Down

0 comments on commit 03c83e7

Please sign in to comment.