How to represent double values as circles in a 2d matrix in java

Posted by marco on Stack Overflow See other posts from Stack Overflow or by marco
Published on 2010-05-14T10:43:14Z Indexed on 2010/05/14 10:54 UTC
Read the original article Hit count: 286

Hello,

so I want to write a matrix explorer which enables me to reorder rows and columns of a matrix. For this porpouse I used the Jtable class. Now the problem that I have is that it is very difficult to reorder a matrix by looking at double values, so I would like to print the matrix not with the double values but with circles in which the radius of the circle represents the value. So that I can tell the difference between big values and small values quicker.

Anybody has any idea how I can turn this double values into filled circles with JTable or any table class for that matter?

© Stack Overflow or respective owner

Related posts about java

Related posts about swing