public void drawBackground(Graphics g) { Rectangle r = displayBox(); g.fillRoundRect(r.x, r.y, r.width, r.height, fArcWidth, fArcHeight); }