I have a JTable that a user can input data. I have an image that I would want to put at the top of my page when printed and also another image that I would want to work as footer. How do I print these on the same page including data from for a jtable(my images to works as logo and footer are not part of the table; i would take them from my directories)...I mean make it as shown in the image below. I would appreciate any links and ideas.
Nation
0
Lord
Recommended Answers
Jump to PostI am no expert or even being close to one in GUI design but what I would do quickly on that set up is make a jframe, you could probably use jlabels and set their background to those pictures and then a gridview with textfields in it where you can …
Jump to PostDid someone speak my Name?
Yes, except a JTable in the middle, not a hand made grid.
I don't know if you can do that with the print methods in JTable. I suspect you will have to use the normal printer support and draw your header &footer as part of …
All 5 Replies
Slavi
94
Master Poster
Featured Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
Nation
0
Lord
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
mKorbel
274
Veteran Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.