How can I to print (printer) a JPanel and its componets (buttons and labels)?

Printable View