public void paintComponent(Graphics graphics) {
        JPanel j = displayBackground(graphics);

        switch(_screen) {
            case 1 :
                displayMain(j);
                break;
            case 2 :
                displayHost(j);
                break;
            case 3 :
                displayClient(j);
                break;
			case 4 :
				displayError(j, _error);
				break;
            case 5 :
                displayInstructions(j);
                break;
            case 6 :
                displayWaiting(j);
                break;
            case 8 :
				displayInstructions2(j);
				break;
            case 9 : 
				displayPlot(j);
				break;
            default:
                displayConnecting(j);
                break;

        }
		add(j);
        setVisible(true);
    }