Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Chris Baron
Ranch Hand
Posts: 1061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 22
Mac OS X Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 2954
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic