title: How to add a link inside a java class?
body: <p>I am working on a project (in Eclipse) and I am experiencing a problem. I created a menu with a single button and when the users presses that button his browser will open and go to the specified address. I cannot figure out how to do that. How may I create a link to a page in a java file? This is in the game "Minecraft". Here is some of my code:</p>
  
  <pre><code>if (par1GuiButton.id == 6 //That is what the button's target will be)
      {
     // I want to put a link here
  
      }
  </code></pre>