public void hyperlinkUpdate(HyperlinkEvent e) {
if(e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
System.out.println(e.getDescription());
String[] cutDescription = e.getDescription().split("/");
if (cutDescription[0].equals("invite")) {
StartupClass.customGameLobbyController = new CustomGameLobbyController(Integer.valueOf(cutDescription[1]));
} else {
if (Desktop.isDesktopSupported()) {
try {
Desktop.getDesktop().browse(e.getURL().toURI());
} catch (IOException | URISyntaxException e1) {