web browser in java apps
843789Mar 5 2010 — edited Mar 6 2010I am wondering, how can I put a web browser into one on the panels in myApp.
I found jEditorPane, and using...
jEditorPane1.setPage("http://www.beezgetz.com");
...I opened, kind of, that web page. But, no links or form working...
so, this is no go.
Is it possible to have a web browser in java apps?
How should I go about it?
I've been searching, but all I get is how to run java apps in web browsers,
and I need right the opposite, to run web browser in my java app.
Thank you, Beezgetz
Edit;
I found this page;
[two minutes web browser in java|http://www.aswinanand.com/2006/03/two-minute-web-browser-in-java/]
I followed the steps, and I ended with one error.
the URL is underlined red, saying; cannot find symbol
symbol : class URL
location: class cleanwv.net
wb.setURL(new {color:#ff0000}_URL_{color}(jTextField1.getText()));
1 error
Whar is wrong?
Thank you, Beezgetz
Edited by: Beezgetz on Mar 5, 2010 8:29 PM
Edited by: Beezgetz on Mar 5, 2010 8:35 PM
Edited by: Beezgetz on Mar 5, 2010 8:37 PM