public void paintBorders(Graphics2D g) {
            int top = bg == background ? 30 : 15;
            g.drawImage(FileUtils.border, 0, 0, getWidth(), top, null);
            g.drawImage(FileUtils.border, 0, 0, 5, getHeight(), null);
            g.drawImage(FileUtils.border, 0, getHeight()-5, getWidth(), 5, null);
            g.drawImage(FileUtils.border, getWidth()-5, 0, 5, getHeight(), null);
        }