m_pnlBottom.add(m_pnlProgram); m_pnlBottom.add(m_pnlTurtle); m_pnlBottom.add(m_pnlDisplay);
m_pnlBotLeft.add(m_pnlProgram); m_pnlBotLeft.add(m_pnlTurtle); m_pnlBotLeft.add(m_pnlDisplay); m_pnlBottom.add(BorderLayout.WEST,  m_pnlBotLeft);
	public void init()	{		// Initialise the applets panel.		setLayout(new BorderLayout());		setBackground(SystemColor.control);		// Layout the left side top inner panel.		m_pnlLeftTop.add(BorderLayout.NORTH,  m_pnlGfxCmds);		m_pnlLeftTop.add(BorderLayout.SOUTH,  m_pnlFlowCmds);		// Layout the left side panel.		m_pnlLeft.add(BorderLayout.NORTH,  m_pnlLeftTop);		m_pnlLeft.add(BorderLayout.CENTER, m_pnlVars);		// Layout the right side panel.		m_pnlRight.add(BorderLayout.CENTER, m_oDisplay);		m_pnlRight.add(BorderLayout.SOUTH,  m_pnlBottom);		// Layout the bottom panel.		m_pnlBottom.add(m_pnlProgram);		m_pnlBottom.add(m_pnlTurtle);		m_pnlBottom.add(m_pnlDisplay);				// Layout the applet panel.		add(BorderLayout.NORTH,  m_oTitleBar);		add(BorderLayout.WEST,   m_pnlLeft);		add(BorderLayout.CENTER, m_pnlRight);		// Add event handlers.		m_oProgram.addActionListener(this);		m_oDisplay.addComponentListener(new ResizeListener());	}