Changeset 1140


Ignore:
Timestamp:
Jul 2, 2011, 3:46:04 PM (6 years ago)
Author:
stefan
Message:

tidy up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sce/component/SCEPane.java

    r1139 r1140  
    107107    this.sourceCodeEditor = sourceCodeEditor;
    108108
    109     // TODO
    110     /*
    111     getInputMap().put(KeyStroke.getKeyStroke("control HOME"), "bla");
    112     getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke("control HOME"), "bla");
    113     getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke("control HOME"), "bla");
    114     getActionMap().put("bla", new Action() {
    115       @Override
    116       public Object getValue(String key) {
    117         System.out.println("SCEPane.getValue");
    118         return null;
    119       }
    120 
    121       @Override
    122       public void putValue(String key, Object value) {
    123         System.out.println("SCEPane.putValue");
    124       }
    125 
    126       @Override
    127       public void setEnabled(boolean b) {
    128         System.out.println("SCEPane.setEnabled");
    129       }
    130 
    131       @Override
    132       public boolean isEnabled() {
    133         System.out.println("SCEPane.isEnabled");
    134         return true;
    135       }
    136 
    137       @Override
    138       public void addPropertyChangeListener(PropertyChangeListener listener) {
    139         System.out.println("SCEPane.addPropertyChangeListener");
    140       }
    141 
    142       @Override
    143       public void removePropertyChangeListener(PropertyChangeListener listener) {
    144         System.out.println("SCEPane.removePropertyChangeListener");
    145       }
    146 
    147       @Override
    148       public void actionPerformed(ActionEvent e) {
    149         System.out.println("SCEPane.actionPerformed");
    150       }
    151     });
    152     */
    153 
    154109    setOpaque(true);
    155110    setBackground(Color.WHITE);
Note: See TracChangeset for help on using the changeset viewer.