class Browser has method getBrowserWindo w() which returns JEditorPane(new URL("some URL")).
class MainForm calls new Browser().getBr owserWindow() and assigns it to another JEditorPane object.
Object editor.hashCode () is correct, so there's no doubt that i've got the right object.
Still, i can't see html page in the main frame.
P.S. i've tried creating instead of htmlpane simple JEditorPane filled with text only,
and this one i couldn't see neither.
class MainForm calls new Browser().getBr owserWindow() and assigns it to another JEditorPane object.
Code:
editor = new Browser().getBrowserWindow(); scrollpane = new JScrollPane(editor);
Still, i can't see html page in the main frame.
P.S. i've tried creating instead of htmlpane simple JEditorPane filled with text only,
and this one i couldn't see neither.