getViewFactory problem...
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ron_DeAngelis
Posted On:   Tuesday, October 9, 2001 12:59 PM

The code snippet below returns a NULL
viewFactory. any thoughts? Using jdk 1.3.0, and textcomponent uses default editor kit.

Document document = textComponent.getDocument();

Element rootElement = document.getDefaultRootElement();

EditorKit editorKit =textComponent.getUI().getEditorKit(textComponent);

ViewFactory viewFactory = editorKit.getViewFactory();

About | Sitemap | Contact