@Override
	public void paintOverlay( Graphics2D g ) {
		if( selection.isSelected() ) {
			Color color;
			switch( selection ){
				case PRIMARY:
					color = primary;
					break;
				case SECONDARY:
					color = secondary;
					break;
				default:
					return;
			}

			Rectangle bounds = parent.getBoundaries();
			int x = bounds.x;
			int y = bounds.y;
			int w = bounds.width;
			int h = bounds.height;

			g.setColor( Color.RED );
			g.drawRect( x, y, w - 1, h - 1 );
			g.drawRect( x - 1, y - 1, w + 1, h + 1 );

			g.setColor( color );
			g.setComposite( AlphaComposite.getInstance( AlphaComposite.SRC_ATOP, 0.5f ) );
			g.fillRect( x + 1, y + 1, w - 1, h - 1 );
		}
	}