@Override
    public void keyPressed(KeyEvent e) {
//        this.editor.textPane.setText("");
//        this.editor.textPane.setText(""+e.getKeyCode());
        
        if(e.getKeyCode() == 17)
            this.editor.strgPressed = true;
        else if(this.editor.strgPressed && e.getKeyCode() == 120)
            this.editor.textPane.setText(FileHandling.openFromFile());
        else if(this.editor.strgPressed && e.getKeyCode() == 121)
            FileHandling.saveToFile(this.editor.textPane.getText());
        else if(this.editor.strgPressed && e.getKeyCode() == 122)
            this.editor.textPane.setText(Crypter.encrypt(this.editor.textPane.getText()));
        else if(this.editor.strgPressed && e.getKeyCode() == 123)
            this.editor.textPane.setText(Crypter.decrypt(this.editor.textPane.getText()));
    }