Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4055097

Lists should hold object, not Strings

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1
    • client-libs
    • None
    • x86
    • windows_nt



      Name: icT56964 Date: 05/28/97


      When you create a List (awt), I should be able to add Objects,
      and not the "description" of the object.
      That can help when selection is done: instead of selecting
      a string, you select an object, and you can continue doing
      things with it (which is usually the case.
      The object that you add needs, of course, to know how to display
      itself. It might not be a bad idea to put another hook for
      that display (as toString might be used for debug purposes).

      company - Consilium , email - ###@###.###
      ======================================================================

            msomlosunw Mike Somlo (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: