File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes gui Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "gui" Watch "gui" New topic


khella smith
Ranch Hand

Joined: May 06, 2002
Posts: 39
i am writting a school project and in my gui i've got a button for print. if a user clicks on this button how am i suppose to connect the action to the printer for the hard copy i have got no clue on wat to do
thanks for ur help
oh hi
khella smith
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Perhaps the Printing Lesson of Sun's Java Tutorial will give you some ideas.

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
...also, JavaWorld offers a five part series of articles on printing in Java in Java.
Good Luck.
I agree. Here's the link:
subject: gui
Similar Threads
Creating a process from Java
Network Client
Input Display
SWT: missing a MouseListener method
populating an array via the user