public void render(Graphics g){
        Graphics2D g2d = (Graphics2D) g;
        
        // Render the menu items
        for(int i = 0; i < mi.length; i++){
	    item = mi[i];
	    item.render(g);
	}
    }