I am thinking to make a java application that will take as an input different URLS and open them automatically on new browser tabs.I do know how to make it work up to the point where a tab is opened .Is that process something too complicated ? What should i look to in order to learn how to do it ?Thanks for any help.
Note this is for OSX
You can use Runtime.getRuntime().exec() to invoke any command from the Java application. In your case it can be the browser.
Here is the javadoc
To handle this in a somewhat OS independent manner, you could try Desktop.browse(URI). But the requirement of all URI's in the same tab can't be done this way, AFAIK.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With