private void createServerMenu() {
        JMenu menu = new JMenu("Server");

        JMenuItem connect = new JMenuItem("Připojit...");
        connect.setAccelerator( KeyStroke.getKeyStroke(KeyEvent.VK_P, InputEvent.CTRL_MASK) );
        connect.addActionListener( new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                String addr = MessageDialog.inputQuestion("Rychlé připojení k serveru",
                                                          "Adresa serveru (:port)",
                                                          MainWindow.getInstance() );
                ConnectionDetails sa = ConnectionDetails.fromAddress(addr);
                if ( sa.isValid() )
                    MainWindow.getInstance().createServerTab(sa);
            }
        });

        joinToChannel = new JMenuItem("Připojit na kanál");
        joinToChannel.setVisible(false);
        joinToChannel.setAccelerator( KeyStroke.getKeyStroke(KeyEvent.VK_K, InputEvent.CTRL_MASK) );
        joinToChannel.addActionListener( new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                String channel = MessageDialog.inputQuestion("Připojení ke kanálu",
                                                             "Název kanálu",
                                                             MainWindow.getInstance() );
                if (channel != null) {
                    if ( !channel.startsWith("#") )
                        channel = "#" + channel;

                    InputHandler.handleJoin(channel);
                }
            }
        });

        disconnectFromAll = new JMenuItem("Odpojit od všech serverů");
        disconnectFromAll.setVisible(false);
        disconnectFromAll.setAccelerator( KeyStroke.getKeyStroke(KeyEvent.VK_D, InputEvent.CTRL_MASK) );
        disconnectFromAll.addActionListener( new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                actionDisconnectFromAll();
            }
        });

        disconnectFromServer = new JMenuItem("Odpojit od ???");
        disconnectFromServer.setVisible(false);
        disconnectFromServer.addActionListener( new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                InputHandler.handleQuit(null);
            }
        });

        menu.add(connect);
        menu.add(joinToChannel);
        menu.add(disconnectFromServer);
        menu.add(disconnectFromAll);

        add(menu);
    }