Advertisement
Guest User

Untitled

a guest
Aug 18th, 2016
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. try {
  2. URI uri = new URI("https://google.com");
  3. GuiConfirmOpenLink confirmOpenLink = new GuiConfirmOpenLink(this, "https://google.com", 13, false);
  4.  
  5. this.mc.displayGuiScreen(confirmOpenLink);
  6.  
  7. Desktop.getDesktop().browse(uri);
  8. }
  9. catch(URISyntaxException e) {
  10. e.printStackTrace();
  11. } catch (IOException e) {
  12. e.printStackTrace();
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement