My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 86: iTunesTable does not honor enabled/disabled
  Back to list
Status:  Fixed
Owner:  kenneth.orr
Closed:  Jun 2009
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by Nephiroth, May 11, 2009
I created an iTunestable via MacWidgetFactory.createiTunesTable() and it does not seem to honor 
the enabled/disabled setting, because a column header is clickable, and even sorts (when 
applicable). When I create my JTable via 'new JTable()', the header is not clickable anymore. This 
leads me to believe the problem is iTunesTable related.
Comment 2 by Nephiroth, May 11, 2009
I fixed the part of the header that is clickable while it should not be by adding

if (!fTable.isEnabled())
{
   return;
}

In mouseClicked, mousePressed and mouseReleased. This disables the change of graphics of the header. 
However, it does still 'activate' the component so this seems a quick hacky workaround. This does not resolve 
my problem, since it still 'activates' the component. Compared to the normal JTable, this does not happen.
Comment 3 by kenneth.orr, May 11, 2009
(No comment was entered for this change.)
Status: Accepted
Owner: kenneth.orr
Comment 4 by kenneth.orr, May 12, 2009
I've got a fix for this and will submit it shortly. Let me know if you want an updated jar with this change.
Comment 5 by Nephiroth, May 18, 2009
No, that's fine thank you. I'll build it off of svn.
Comment 6 by kenneth.orr, May 18, 2009
OK...I'll let you know when it's checked in.
Comment 7 by kenneth.orr, Jun 19, 2009
I've submitted the fix.
Status: Fixed
Sign in to add a comment

Hosted by Google Code