Wow, this shows that this community knows shit.
First make a new class with this in it. Save as WebHandler.java
Code:
import java.awt.Desktop;
public class WebHandler {
public void openWebsite() {
if(Desktop.isDesktopSupported()) {
try {
Desktop.getDesktop().browse(new URI("www.yoursite.com"));
} catch (Exception e) {
System.out.println("Error upon opening webpage.");
e.printStackTrace();
}
}
}
}
Now under
Add this.
And in your Client, Player, and ActionButton class.
Add this import: