Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public void createUI() {
- this.textArea = new RSyntaxTextArea(25, 70);
- this.scrollPane = new RTextScrollPane(this.textArea);
- this.setLayout(new BorderLayout());
- this.add(this.scrollPane, BorderLayout.CENTER);
- this.textArea.setSyntaxEditingStyle("text/dm");
- }
- RSyntaxTextArea textArea;
- RTextScrollPane scrollPane;
- for(KeyStroke ks : this.mappedKeyStrokes) {
- component.getInputMap().put(ks, "none");
- }
Add Comment
Please, Sign In to add comment