protected void keyTyped(char par1, int par2)
    {
        serverName.textboxKeyTyped(par1, par2);
        serverAddress.textboxKeyTyped(par1, par2);

        if (par1 == '\t')
        {
            if (serverName.isFocused())
            {
                serverName.setFocused(false);
                serverAddress.setFocused(true);
            }
            else
            {
                serverName.setFocused(true);
                serverAddress.setFocused(false);
            }
        }

        if (par1 == '\r')
        {
            actionPerformed((GuiButton)controlList.get(0));
        }

        ((GuiButton)controlList.get(0)).enabled = serverAddress.getText().length() > 0 && serverAddress.getText().split(":").length > 0 && serverName.getText().length() > 0;

        if (((GuiButton)controlList.get(0)).enabled)
        {
            String s = serverAddress.getText().trim();
            String as[] = s.split(":");

            if (as.length > 2)
            {
                ((GuiButton)controlList.get(0)).enabled = false;
            }
        }
    }