protected void addMenuItems(){
        connect = new JMenuItem("Connect with an IP address");
        networkOp.add(connect);
        identify = new JMenuItem("Give yourself a name");
        networkOp.add(identify);
    }