ig = img.getGraphics();
}
- drawBackground(ig, bgColour);
+ drawBackground(ig);
drawScene(ig);
if (drawAxes)
}
/**
- * Fills the background with the specified colour
+ * Fills the background with the currently configured background colour
*
* @param g
- * @param col
*/
- public void drawBackground(Graphics g, Color col)
+ public void drawBackground(Graphics g)
{
- g.setColor(col);
+ g.setColor(bgColour);
g.fillRect(0, 0, prefSize.width, prefSize.height);
}