public void updateStatus()
    {
        switch (m_netStatus)
        {
            case NETSTATE_NONE:
            {
                m_status.setText(" " + lang.DISCONNECTED);
            }
            break;

            case NETSTATE_JOINED:
            {
                m_status.setText(" " + lang.CONNECTED + ": ");
            }
            break;

            case NETSTATE_HOST:
            {
                m_status.setText(" " + lang.HOSTING + ": ");
            }
            break;

            default:
            {
                m_status.setText(" " + lang.UNKNOWN_STATE + " ");
            }
            break;
        }

        if (m_netStatus != NETSTATE_NONE)
        {
            m_status.setText(m_status.getText() + m_players.size() + (m_players.size() == 1 ? " player" : " players")
                + " " + lang.CONNECTED);
            switch (m_typing.size())
            {
                case 0:
                {
                }
                break;

                case 1:
                {
                    m_status.setText(m_status.getText() + m_typing.get(0) + " " + lang.IS_TYPING);
                }
                break;

                case 2:
                {
                    m_status.setText(m_status.getText() + m_typing.get(0) + " " + lang.AND + " " + m_typing.get(1) + " " + lang.ARE_TYPING);
                }
                break;

                default:
                {
                    for (int i = 0; i < m_typing.size() - 1; i++)
                    {
                        m_status.setText(m_status.getText() + m_typing.get(i) + ", ");
                    }
                    m_status.setText(m_status.getText() + " " + lang.AND + " " + m_typing.get(m_typing.size() - 1) + " " + lang.ARE_TYPING);
                }
            }
        }
    }