File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply 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: 2407
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Open an webbrowser window without any tool or address bar from Java
 
Similar Threads
Applet window opeining without breaking the socket connection
Disabling shift-click button
urgent help : servlets !!!!!
window.open() in applet
Disabling ALT + ENTER in IE7 by using javascript.