daily pastebin goal
58%
SHARE
TWEET

Untitled

a guest Jan 21st, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @Override
  2. public void createUI() {
  3.     this.textArea = new RSyntaxTextArea(25, 70);
  4.     this.scrollPane = new RTextScrollPane(this.textArea);
  5.     this.setLayout(new BorderLayout());
  6.     this.add(this.scrollPane, BorderLayout.CENTER);
  7.     this.textArea.setSyntaxEditingStyle("text/dm");
  8. }
  9.  
  10. RSyntaxTextArea textArea;
  11. RTextScrollPane scrollPane;
  12.    
  13. for(KeyStroke ks : this.mappedKeyStrokes) {
  14.     component.getInputMap().put(ks, "none");
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top