View Single Post
Old 06-07-2012, 03:08 PM   PM User | #4
TestingPHP
New Coder

 
Join Date: Jun 2012
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
TestingPHP is an unknown quantity at this point
I'm very new to Java

Why isn't this working?

Code:
class test
{
public static void man(String[] args)
try 
{ 
    java.net.URI uri = new java.net.URI.create("http://mywebsite.com"); 
    int iBrowserWindows = 5; 
    for (int i = 0; i < iBrowserWindows; ++i) 
    { 
        java.awt.Desktop.getDesktop().browse(uri); 
    } 
} 
catch (java.IO.IOException ex) 
{ 
}
TestingPHP is offline   Reply With Quote