how to refer to an existing Hotjava browser?

if i want to use hotjava to view html files, and when i click a button or something in application, how can i get an existing hotjava window and update its contents?in Netscape, we have -remote option to find out. Thanks for replying!!! -Frank
[297 byte] By [chunyun] at [2007-9-26 2:35:02]
# 1

if you are referring to getting an edited HTML source page to reload the new content, then the answer is that the Reload button for Hotjava will automatically check for newer changes on the source HTML.

If you are referring to something else other than what I have described, then there isn't enough data for us to advise you.

Allen Lai

SUN Developer Technical Support

allenlai at 2007-6-29 10:00:40 > top of Java-index,Desktop,Runtime Environment...
# 2

what I meant is:

e.g, I have two buttons(A and B) in my Swing application, A is to view website http://www.sun.com, the other B is to view http://java.sun.com,

when i click A button, my application will launch a hotjava browser by using:

Runtime.getRuntime().exec(" hotjava http://www.sun.com")

then, i click button B, Iwant the existing hotjava browser will go to website: http://java.sun.com instead of bringing another new hotjava browser.

what kind of option should i use in hotjava command?

Thanks.

-Frank

chunyun at 2007-6-29 10:00:40 > top of Java-index,Desktop,Runtime Environment...