Tem como abrir mais URL, no momento so consigo abrir so 1
*/
package abrirurl;
import java.awt.Desktop;
import java.net.URI;
/**
*
-
@author Mezzo
*/
public class AbrirURL {/**
-
@param args the command line arguments
*/
public static void main(String[] args) {
try{
URI link = new URI(“www.globo.com”);
Desktop.getDesktop().browse(link);
}catch(Exception erro){
System.out.println(erro);
}
}
-
@param args the command line arguments
}