posted 21 years ago
After fooling around with custom table models for a while, I decided life would be made simpler by implementing the JTable using HTML tables for the cells- columns essentially are either left-justified or right-justified, with the widest entry centered within the column (just for fun, I also highlight the bad-duration-formats in pink).
However, this means that the html table cells should be rewritten if the app is resized horizontally. How do you hook into a resizing event?
Fly by Night Consultants<br /> <blockquote><font size="1" face="Verdana, Arial">quote:</font><hr><i>I climbed on the back of a giant albatross<br />which flew through a crack in the cloud<br />to a place where happiness reigned...<br />all year 'round<br />the music played ever so loudly!</i><p><a href="http://thomasfly.com/songs/Traffic/Hole_in_my_Shoe_qt.htm" target="_blank" rel="nofollow">Hole in My Shoe</a><hr></blockquote>