public static void handleServer(String address) {
        MainWindow window = MainWindow.getInstance();
        try {
            window.createServerTab( ConnectionDetails.fromAddress(address) );
            clearInput();
        } catch (Exception e) {
            MessageDialog.error("Chyba aplikace", "Připojení nelze uskutečnit.", window);
        }
    }