Gomathi
Gomathi

Reputation: 1003

Send JTable to printer via Java applet

I need guidance regarding how to send a table in java applet to a printer connected to the system. It shouldn't involve internet. Is it possible in Java swing? Thanks in advance.

Upvotes: 0

Views: 247

Answers (2)

Stefan
Stefan

Reputation: 12462

Use

myJTableInstance.print();

to open a dialog, that lets you select your printer.

Upvotes: 0

StanislavL
StanislavL

Reputation: 57421

http://www.gamedev.net/topic/563757-printing-from-java-applet/ Is your applet signed?

Upvotes: 1

Related Questions