How can I print multiple Jtextfields in Java using physical printer? I can print one jTextField using jTextfield.print() But How to print multiple JtextFields using one print button?
Asked
Active
Viewed 255 times
0
-
See next [example](http://stackoverflow.com/a/750462/2894369). It explaint how to print `JPanel`/`JFrame`/`JComponent`. – alex2410 Dec 25 '13 at 16:01
-
The problem is that I want to print 8 jTextfields using a print Button. I know how to print one Jcomponent. But I don't know how to print multiple jTextfields. – user2344504 Dec 25 '13 at 16:32
-
1add your components to `JPanel` and print it. – alex2410 Dec 25 '13 at 16:40