0

I know that i can use

Desktop.getDesktop().browse(new URI());

to open web page through user's default browser, BUT

every time i open web page it'll open in a new tab.

Do you have any idea if i want to make it opens in only the "same tab".

1
  • It depends on the user's browser settings. The user controls the "open in" behaviour. Commented Oct 15, 2014 at 9:00

1 Answer 1

1

Try

new URI("javascript:window.open('www.google.de','unique')");
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.