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 8089 - now way to map 'row selected' event for JTable object
Summary: now way to map 'row selected' event for JTable object
Status: CLOSED INVALID
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: Sun All
: P4 enhancement (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-10-30 21:40 UTC by khu
Modified: 2003-06-30 18:25 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description khu 2000-10-30 21:40:47 UTC
there is a ListSelection:valueChanged event for JTable (under TableModel).
Please enable mapping of this event in the form editor.
Comment 1 Tomas Pavek 2000-10-31 10:07:59 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);
        }
    }
);
Comment 2 Quality Engineering 2003-06-30 18:20:20 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 3 Quality Engineering 2003-06-30 18:25:40 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.