Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JTable cell background color move with column  RSS feed

 
Joey Vitoro
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The following code makes a simple table. If you drag the first column one spot to the right, the cell color follows the cells. If you move farther than 1 column, though, the color gets messed up. Any ideas? Thanks!

 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Joey, and welcome to the Ranch! We don't have too many rules here, but we do ask that you BeForthrightWhenCrossPostingToOtherSites.
http://www.java-forums.org/awt-swing/51921-jtable-cell-color-follow-drag-event.html
 
Joey Vitoro
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Darryl,

Sorry about that. I assure you that I did not spam this out to every forum I could find. I've posted it that java-forums website twice over the past month, but no where else. It has me stumped and is the final requirement before delivery.
 
Joey Vitoro
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SOLUTION



"This problem, when solved, will be simple." -Einstien
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!