hi

create a print button
JButton printButton = new JButton("Print");
printButton.addActionListener(new GUIWindow); (where guiwindow is the class that contains your frame and its object)

then...