package com.vci.client.ui.swing.components; import java.io.IOException; import java.net.URL; import javax.swing.JEditorPane; import com.vci.client.ui.swing.VCISwingUtil; /** * *

Title:

*

Description:

*

Copyright: Copyright (c) 2012

*

Company: VCI

* @author xchao * @time 2012-5-10 * @version 1.0 */ public class VCIJEditorPane extends JEditorPane { /** * */ private static final long serialVersionUID = 2121634996734189459L; public VCIJEditorPane() { super(); customConstructor(); } public VCIJEditorPane(URL initialPage) throws IOException { super(initialPage); customConstructor(); } public VCIJEditorPane(String url) throws IOException { super(url); customConstructor(); } public VCIJEditorPane(String type, String text) { super(type, text); customConstructor(); } private void customConstructor(){ setFont(VCISwingUtil.FONT_DEFAULT); VCIJTextContextMenu.register(this); } private Object obj = null; public Object getObj() { return obj; } public void setObj(Object obj) { this.obj = obj; } }