Please note that you posted this in the Meaningless Drivel forum. That's our forum that's just for entertainment, and not for serious questions. I'm a moderator here so I'll move your question to a more appropriate forum.
Hi. If you mean real printing, why don't you export it as a PDF, and print it from there afterwards. Java has quite a cool API for writing PDF's, but haven't heard about a printing one, though it might be, so right now, this seems the best option, maybe someone will come up with something better.