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.
Hi, my property editor for a priority (http://tasklist.netbeans.org/source/browse/tasklist/core/src/org/netbeans/modules/tasklist/core/editors/PriorityPropertyEditor.java?rev=1.5&content-type=text/x-cvsweb-markup) does not work in a property sheet (I'm not able to change the value. The same editor works in a TreeTableView --Tim
I believe this is a duplicate of another issue, and its already fixed on the property panel rewrite branch - the problem was that the editable combo box renderer was setting the text in its editor but not laying itself out correctly. Given that tasklist is a heavy user of TreeTableView, I'd really appreciate it if you could test out what's on the branch - it's planned to be merged a week from today, so I want to get it as tested as possible (also let me know if this problem is indeed fixed on the branch - I'm 99% sure it will be). Keyboard navigability and a bunch of other stuff is fixed in TTV on the branch. Here's what to do: cd $NB_SRC/openide/src/org/openide/explorer/propertysheet cvs update -r proppanel_rewrite cd ../view cvs update -r proppanel_rewrite2 (there are some unit tests and one class in Jelly branched as well, but I presume you don't need those). Yes, the branch names are different for the two directories, that's not a mistake.
Yes! It works! One-click editing and keyboard navigation are great. Thank you But I also found one small issue: With these 2 columns: priority: combobox as the editor done: checkbox as the editor If I use space to toggle the "done" property the combobox get opened --Tim Lebedkov
Hmmm...which cell has focus when you press space - and what is the order of the fields? TreeTable.editCellAt is overridden to check if the property is boolean, and if it is, toggle the value without ever instantiating an editor - that should happen on keyPressed. I'm wondering if there's a second keyPressed finding its way in there somehow, or something else going on. BTW, I did some digging around on the net for various tree table implementations out there. It's amazing the number of them. One interesting one belongs to a defunct mozilla project called Grendel, but it has very little to do with Swing. I also will take a look at yours. At the moment I'm just hoping that the band-aids in this patch will breathe enough life into the existing tree table view that it can survive usably until I get a few million other things off my plate.
Property panel rewrite branch merged.
ok