Miletone

Rp0 / Rp1.000.000

Sunday, September 29, 2019

[JAVA] How to Open URL on Browser

Action Performed :

try {
  Desktop desktop = java.awt.Desktop.getDesktop();
  URI oURL = new URI("www.dlcam.blogspot.com");
  desktop.browse(oURL);
} catch (Exception e) {
  e.printStackTrace();
}

No comments: