/** * Draws the border around the perimeter of the specified area. * * @param g2 the graphics device. * @param area the area. */ protected void drawBorder(Graphics2D g2, Rectangle2D area) { this.frame.draw(g2, area); }
/** * Draws the border around the perimeter of the specified area. * * @param g2 the graphics device. * @param area the area. */ protected void drawBorder(Graphics2D g2, Rectangle2D area) { this.frame.draw(g2, area); }
g2.fill(target); getFrame().draw(g2, target); getFrame().getInsets().trim(target); target = trimPadding(target);
g2.fill(target); getFrame().draw(g2, target); getFrame().getInsets().trim(target); target = trimPadding(target);
border.draw(g2, target); border.getInsets().trim(target); BlockContainer container = this.wrapper;
border.draw(g2, target); border.getInsets().trim(target); BlockContainer container = this.wrapper;