jdk/src/java.desktop/share/classes/sun/awt/im/CompositionArea.java
changeset 32865 f9cb6e427f9e
parent 25859 3317bb8137f4
equal deleted inserted replaced
32864:2a338536e642 32865:f9cb6e427f9e
    62     private CompositionAreaHandler handler;
    62     private CompositionAreaHandler handler;
    63 
    63 
    64     private TextLayout composedTextLayout;
    64     private TextLayout composedTextLayout;
    65     private TextHitInfo caret = null;
    65     private TextHitInfo caret = null;
    66     private JFrame compositionWindow;
    66     private JFrame compositionWindow;
    67     private final static int TEXT_ORIGIN_X = 5;
    67     private static final int TEXT_ORIGIN_X = 5;
    68     private final static int TEXT_ORIGIN_Y = 15;
    68     private static final int TEXT_ORIGIN_Y = 15;
    69     private final static int PASSIVE_WIDTH = 480;
    69     private static final int PASSIVE_WIDTH = 480;
    70     private final static int WIDTH_MARGIN=10;
    70     private static final int WIDTH_MARGIN=10;
    71     private final static int HEIGHT_MARGIN=3;
    71     private static final int HEIGHT_MARGIN=3;
    72 
    72 
    73     CompositionArea() {
    73     CompositionArea() {
    74         // create composition window with localized title
    74         // create composition window with localized title
    75         String windowTitle = Toolkit.getProperty("AWT.CompositionWindowTitle", "Input Window");
    75         String windowTitle = Toolkit.getProperty("AWT.CompositionWindowTitle", "Input Window");
    76         compositionWindow =
    76         compositionWindow =