Hi
I'm new to Graphics
and Graphics2D
in Java.
Now i have a project where i have to print an Invoice to an A4 sized sheet.
I've been reading Sun's tutorial on printing.
I realized I'll need to first render the bill on a JFrame so i know what it'll look like.
Now, how do i go about setting the right sizes?
I mean - if i design the bill on a JFrame (595, 842)
- how will i map the coordinates (of all the shapes) correctly on to the print?
I'm basically clueless about where to begin. A lil' direction please?
Thanks. : )