aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JTable cell background color move with column Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable cell background color move with column" Watch "JTable cell background color move with column" New topic
Author

JTable cell background color move with column

Joey Vitoro
Greenhorn

Joined: Nov 29, 2011
Posts: 3
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

Joined: May 03, 2008
Posts: 4543
    
    5

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


luck, db
There are no new questions, but there may be new answers.
Joey Vitoro
Greenhorn

Joined: Nov 29, 2011
Posts: 3
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

Joined: Nov 29, 2011
Posts: 3
SOLUTION



"This problem, when solved, will be simple." -Einstien
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTable cell background color move with column