This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 189456 - Setting JTable custom Row Sorter does not stick
Summary: Setting JTable custom Row Sorter does not stick
Status: RESOLVED INCOMPLETE
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 6.x
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 16:37 UTC by Moqui
Modified: 2011-10-21 16:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moqui 2010-08-12 16:37:22 UTC
In the Properties Window if you select a custom row sorter for a JTable component, save and reopen Netbeans, the custom sorter goes back to "default" sorter. Any other modifications results in this field being lost in the generated code the next time.

The workaround I found was to turn off the option to "autoCreateRowSorter," but it should be more obvious in the Netbeans Properties window that if you turn on a custom sorter, the autoCreate should be disabled.
Comment 1 Jan Stola 2011-10-21 16:09:51 UTC
I am sorry, I am not able to reproduce this issue. Could you, please, provide _exact_ steps to reproduce. Thank you in advance.

I was able to reproduce the reset of the rowSorter property only when you set it and then check autoCreateRowSorter, but this is as it should be (because a new rowSorter is set when autoCreateRowSorter checked).