/* * SyntaxEditorUI.java * * Created on December 17, 2006, 1:09 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package xmllexerapplication; import javax.swing.plaf.basic.BasicTextAreaUI; import javax.swing.text.Element; import javax.swing.text.View; /** * textarea.setUI(new SyntaxEditorUI()); * @author Yves Zoundi */ public class SyntaxEditorUI extends BasicTextAreaUI { /** Creates a new instance of SyntaxEditorUI */ public SyntaxEditorUI() { } public View create(Element elem) { return new SyntaxView(elem); } }