wood burning stoves*
The moose likes Other JSE/JEE APIs and the fly likes Open an webbrowser window without any tool or address bar from Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Open an webbrowser window without any tool or address bar from Java" Watch "Open an webbrowser window without any tool or address bar from Java" New topic
Author

Open an webbrowser window without any tool or address bar from Java

Chris Baron
Ranch Hand

Joined: Mar 21, 2003
Posts: 1049
Hi,
apart from Desktop.browse(URI uri) and JavaScript workarounds,
do you know of a good free API to open an webbrowser window without any tool or address bar from Java?

Thanks Chris
Chris Janicki
Greenhorn

Joined: Aug 30, 2006
Posts: 21

I believe the only way to control a browser that way is via javascript. The only alternative I can think of is to open a Java-based browser window (i.e. there are a few Swing-based widgets capable of rendering HTML), but they often have limited support for the latest HTML/Javascript/plug-ins. If you're controlling what's supposed to appear in the pop-up, that may be a way to go. If you're just showing something from a third-party web site, then that would be a fragile solution.
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Several way are mentioned in http://www.coderanch.com/how-to/java/Java-FAQ#launch-browser. Why would you want to avoid Desktop.browse, though?
 
GeeCON Prague 2014
 
subject: Open an webbrowser window without any tool or address bar from Java