This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Printing tables takes a long time  RSS feed

Efrat Bar-Nahum
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am using the printerJob.printDialog() to print tables (I implemented a print method).
The problem is that when the table has many entries printing takes very long time (printing table of 100 entries might take a couple of minutes).
I am using the SwingWorker when printing in the following way:

My question is: Is there a way to send a print job in the background, but in the meanwhile, while it is being processed, keep on working?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!