使用JComponentPack产品中的JPrintPreview和PrintFactory打印和打印预览控件

使用JComponentPack产品中的JPrintPreview和PrintFactory打印和打印预览控件



Use JPrintPreview and PrintFactory in JComponentPack

JPrintPreview is a Java Print Preview component in JComponentPack.
PrintFactory is a utility class in com.zfqjava.swing package to generate printable in JComponentPack.
PrintFactory usage. createPrintable(Component comp, Map map)
createPrintable(Image image, Map map)
It need two parameters, the first is a instance of Image or a instance of Component, the second parameter is a instance of Map, t

你可能感兴趣的:(使用JComponentPack产品中的JPrintPreview和PrintFactory打印和打印预览控件)