public class PaperStylesDemo { public static void main(String[] args) { PaperStyle style = new PaperStyleBuilder() .setFont(Font.BOLD, 12) .setBorderColor(Color.BLACK) .setMargin(10) .build(); Paper paper = new Paper(style); paper.print(); } }