Changeset 1479


Ignore:
Timestamp:
Nov 18, 2016, 12:10:43 PM (10 months ago)
Author:
joerg
Message:
 
File:
1 edited

Legend:

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

    r1475 r1479  
    99import sce.quickhelp.QuickHelpPane;
    1010import sce.syntaxhighlighting.BracketHighlighting;
    11 import sun.swing.DefaultLookup;
    1211
    1312import javax.swing.*;
     
    424423  protected InputMap getInputMap(int condition) {
    425424    if (condition == JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT) {
    426       return (InputMap) DefaultLookup.get(pane, this, "SCEPane.ancestorInputMap");
     425      return (InputMap) UIManager.get("SCEPane.ancestorInputMap", pane.getLocale()); // DefaultLookup.get(pane, this, "SCEPane.ancestorInputMap");
    427426    }
    428427    else if (condition == JComponent.WHEN_FOCUSED) {
    429       return (InputMap) DefaultLookup.get(pane, this, "SCEPane.focusInputMap");
     428      return (InputMap) UIManager.get("SCEPane.focusInputMap", pane.getLocale()); // DefaultLookup.get(pane, this, "SCEPane.focusInputMap");
    430429    }
    431430    return null;
Note: See TracChangeset for help on using the changeset viewer.