Java 类javax.swing.plaf.basic.BasicFormattedTextFieldUI 实例源码

项目:jplot2d    文件:FormattedEditor.java   
public FormattedEditor(Format format) {
    editor = new JFormattedTextField(format);
    // workaround for mac jdk bug
    if (isMacOSX() && UIManager.getLookAndFeel().isNativeLookAndFeel()) {
        editor.setUI(new BasicFormattedTextFieldUI());
    }
    editor.setBorder(null);
}