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.
Without getNodeFromRow being accessible it's hard to create custom renderer that replaces the default one. Example Usecase: a user wants a different background color for the row when a nodes lookup contains a certain object.
I do not see what would you do with the Node if getNodeFromRow() was accessible. You probably want to use JTable.setDefaultRenderer(...)
> I do not see what would you do with the Node if getNodeFromRow() was > accessible. I want to use the method for it's intended purpose, helping to access a node in order to render it. E.g. I want to access the Nodes lookup. Nodes usually are wrappers around dataobjects contained in nodes lookup. if I want to render based on the dataobject there is currently no way to access it. Use case I want to set the background color of the row based on a property of the dataobject. Currently there is no way > You probably want to use JTable.setDefaultRenderer(...) Could you explain how it would solve the use case (set the background color of the row based on a property of the dataobject)?
I bump this feature report. I need a solution to show a different background color for cells with missing properties. In outlines I show different nodes (with different property-sets). The user can't see if a property is empty or a property doesn't exists.