« Return to Thread: Any swing component to run web browser like JWebPane

Re: Any swing component to run web browser like JWebPane

by jdnc-interest :: Rate this Message:

Reply to Author | View in Thread

I tried that DJ Native Swing for a quick demo, it's excellent. (At least keep me cool before Sun's JWebPane come in some long long future). Thanks again.

Except one little issue I'm not exactly sure now. I have problem to identify javascript source location when setting html content on JWebBrowser:

 <script language="JavaScript" src="./jsFunctions.js"></script>

seems not work, and location.pathname returns me blank. I have to use something like:

  <script language="JavaScript" src="http://10.0.0.6:8080/jsFunctions.js"></script>  
instead.

I guess, I may check Christoph about that question. Appreciated if anyone happened to know the answer about location of javascript in setting html content.

David
[Message sent by forum member 'david1124' (david1124)]

http://forums.java.net/jive/thread.jspa?messageID=336953

---------------------------------------------------------------------
To unsubscribe, e-mail: jdnc-unsubscribe@...
For additional commands, e-mail: jdnc-help@...

 « Return to Thread: Any swing component to run web browser like JWebPane