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.
Summary: | now way to map 'row selected' event for JTable object | ||
---|---|---|---|
Product: | guibuilder | Reporter: | khu <khu> |
Component: | Code | Assignee: | issues@guibuilder <issues> |
Status: | CLOSED INVALID | ||
Severity: | enhancement | ||
Priority: | P4 | ||
Version: | 3.x | ||
Hardware: | Sun | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
khu
2000-10-30 21:40:47 UTC
Row selection change events are produced by ListSelectionModel of JTable, not by JTable itself - so the event cannot be presented in Component Inspector (as event of JTable). Handling this event must be done manually, e.g. like: jTable1.getSelectionModel().addListSelectionListener( new javax.swing.event.ListSelectionListener() { public void valueChanged(ListSelectionEvent evt) { customRowSelectionEventHandler(evt); } } ); Resolved for 3.3.x or earlier, no new info since then -> closing. Resolved for 3.3.x or earlier, no new info since then -> closing. |