Package org.fife.ui.rsyntaxtextarea

Examples of org.fife.ui.rsyntaxtextarea.Theme.apply()


    protected void buildUI() {
        editArea = new RSyntaxTextArea(20, 60);

        try {
            Theme theme = Theme.load(XmlSourceEditorView.class.getResourceAsStream(RSYNTAXAREA_THEME));
            theme.apply(editArea);
        } catch (IOException e) {
            SoapUI.logError(e, "Could not load XML editor color theme file");
        }

        editArea.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_XML);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.