United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4134085 ListDataEvent class missing paramString() method
JDK-4134085 : ListDataEvent class missing paramString() method

Details
Type:
Bug
Submit Date:
1998-04-30
Status:
Resolved
Updated Date:
2000-03-22
Project Name:
JDK
Resolved Date:
2000-03-22
Component:
client-libs
OS:
generic
Sub-Component:
javax.swing
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.2.0
Fixed Versions:
1.4.0 (beta)

Related Reports

Sub Tasks

Description
Abstract:       ListDataEvent class missing paramString() method

Description:    ListDataEvent details are not present upon printing
                the event...  

                For example:

                    list.addListDataListener (new ListDataListener () {
                        public void printEvent (ListDataEvent e) {
                            System.out.println (e);
                        }
                    }

Swing version:  1.0.1

                                    

Comments
EVALUATION

ListDataEvent should add list-event-specifc information when it gets converted to a string.
tom.santos@eng 1998-05-27

Yeah, this just needs a paramString() method added to it. However, there are only three member variable in this class. All three of them are accessible via getter methods. The convenience of being able to do a toString() is nice here but doing it manually is an extremely viable workaround. Plus, the addition of the paramString() method will constitute an API change (for some lame reason) which is not allowed right now.
michael.albers@Eng 1999-07-01
                                     
1999-07-01
PUBLIC COMMENTS

The toString() method of ListDataEvent will need to be overridden.
michael.albers@Eng 2000-03-08
                                     
2000-03-08
SUGGESTED FIX

Override the toString() method of ListDataEvent.
michael.albers@Eng 2000-03-08
                                     
2000-03-08
WORK AROUND

Workaround:     Can print out the event details manually...
                                     
2004-06-11
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
merlin

FIXED IN:
merlin-beta

INTEGRATED IN:
merlin-beta


                                     
2004-06-14



Hardware and Software, Engineered to Work Together