Results 1 to 4 of 4
Thread: how to open an internet Window
- 07-29-2009, 10:33 AM #1
Member
- Join Date
- Jul 2009
- Posts
- 1
- Rep Power
- 0
- 07-30-2009, 01:32 AM #2
Give this a try...
The command that you probably will be wanting to run would be:
iexplore.exe "your URL link goes here"... for example:
iexplore.exe "www.yahoo.com"
Here's a post that explains what is needed:
http://www.java-forums.org/java-tips...a-program.html
.. and some other links with examples:
Execute an external program - Real's Java How-to
How to run external .exe programs from java - Java
Luck,
CJSLChris S.
Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.
- 07-30-2009, 02:23 AM #3
Member
- Join Date
- Dec 2008
- Posts
- 64
- Rep Power
- 0
or you can use javax.awt.Desktop.browse(someURI);
Please keep in mind this is ONLY supported in java 1.6+
- 07-30-2009, 05:20 AM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Similar Threads
-
My first post, how to open 2nd window?
By Grom in forum NetBeansReplies: 6Last Post: 08-17-2008, 03:00 AM -
How to close an open JFrame window from a jsp page?
By kasisaiganesh in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 05-27-2008, 06:29 PM -
Drive letter sniff/open explorer window
By iiz in forum New To JavaReplies: 1Last Post: 04-04-2008, 03:50 AM -
Internet Explorer is unable to open Office documents from an SSL Web site
By pramod@netedgecomputing.c in forum Web FrameworksReplies: 0Last Post: 07-19-2007, 07:18 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks