• Post Reply Bookmark Topic Watch Topic
  • New Topic

A4, A5, A3 ... to swing JTable

 
Mathias Nilsson
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I want my users to draw boxes in an applet thru JTable.

Columns and rows maps a specific height an with in a document. The max height of the applet is 500 and max width 500. How can I map a4 , a5 , a3 format to the JTable. Every pixel in jtable is 1.4488 and so fort. Is there an algoritm for this or what is the best approach?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!