Hi everyone,

I have a challenge with printing my jframe and it's component on an A4 paper.

I created a jframe to print on an A4 paper but what printout the jframe it becomes larger and some part of the frame is cut off. Please can anybody help me with a sample code to print out the actual size of the frame on paper.

Please help me friends.