Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Open URL (http://...) in a new browser window

843789Jul 19 2010 — edited Jul 23 2010
Hi,

I'm trying to open a URL link (for example: http://forums.sun.com) in java. If no browser window is open, everything works fine, but as soon a browser window is open, when I tell java to open a URL, it opens the URL in that browser window and not in a new one.
I've already tryed it with desktop.browser(), with runtime, and some other API's from diferente sources. Not one worked :(
Can someone help me please?

Thanks a lot!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 20 2010
Added on Jul 19 2010
14 comments
3,228 views