找了几天的jtable的打印功能,结果找出了两个基本点可能实现的方法:
1.boolean print()
2.boolean print(JTable.PrintMode printMode, MessageFormat headerFormat, MessageFormat footerFormat)
第一个方法,我调用系统说未找到打印服务,这是什么意思????是不是我的电脑没连上打印机???
对这两个基本点方法有所了解的人说说???
1.boolean print()
2.boolean print(JTable.PrintMode printMode, MessageFormat headerFormat, MessageFormat footerFormat)
第一个方法,我调用系统说未找到打印服务,这是什么意思????是不是我的电脑没连上打印机???
对这两个基本点方法有所了解的人说说???
找到一个print的服务,把它开启。之后才能打印。