| Author |
Swing Web Browser problems
|
Jack Fletcher
Greenhorn
Joined: Oct 09, 2012
Posts: 9
|
|
Hi guys,
I'm trying to create a simple web browser using Swing and AWT.
So far I only have the basic structure written and plan to add more but I have encountered a pitfall in that when my code is run I am presented with two windows.
One is sized properly and has no title, the other has the correct title of 'My Web Browser' but is not sized and neither display the components which I have added eg. the JEditorPane to display the html page.
My code is below I would appreciate any points in the right direction!
Thanks.
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32649
|
|
Have you tried a JEditorPane with editable set false? Try here for a tutorial.
I shall move your post to the GUIs forum.
|
 |
Darryl Burke
Bartender
Joined: May 03, 2008
Posts: 4163
|
|
Jack, please BeForthrightWhenCrossPostingToOtherSites <- link
http://www.java-forums.org/awt-swing/66370-swing-web-browser-problems.html
|
luck, db
There are no new questions, but there may be new answers.
|
 |
 |
|
|
subject: Swing Web Browser problems
|
|
|