PrintUtilities
PrintUtilities();
None
PrintUtilities Object

METHOD DESCRIPTION
void printComponent( Component comp ) The component to be printed.
All other methods, despite being public, are for internal use only and should not be accessed directly by user code.

Allows any component to be sent to a printer. If multiple printers are available or if the printer supports an options window, then that will be displayed before printing. Some java components, such as javax.swing.JFrame and javax.swing.JPanel allow direct printing of the component. Refer to a java manual for more details.

Example: To print a panel ...
	panel = new JPanel();

	// Add some components to the panel ...
	panel.add( new JLabel( "Hello" ) );
	panel.add( new JButton( "World" ) );

	// Print the label to paper ...
	pu = PrintUtilities();
	pu.printComponent( panel );