Download dan Belajar Software, Download, Script all Programming Dunia IT.
Bisa pakai Button atau membuat fungsi/method.
Action Performed :
try {
Desktop desktop = java.awt.Desktop.getDesktop();
URI oURL = new URI("http://www.google.com");
desktop.browse(oURL);
} catch (Exception e) {
e.printStackTrace();
}
Post a Comment
No comments:
Post a Comment