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

Please add setIconImage() equivalent for JDialog

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 1.1.7, 1.2.1
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description



      Name: krT82822 Date: 12/09/98


      It would be nice if it were possible to set the frame icon
      on JDialogs as it is with JFrame via setIconImage().
      (Review ID: 42399)
      ======================================================================

      Name: vi73552 Date: 05/18/99


      I need a setIconImage method on the java.awt.Dialog class.

      While Dialog using it's owning frames icon is good as a default,
      it is not desirable.
      ------------------------------------------------------
      What I want to do is to be able to set a different Icon (the icon in the
      titlebar) for each dialog I have in my application.

      java.awt.Frame has a method called setIconImage(Image) which allows me to set
      the title bar icon for the frame.
      I just want to be able to have the same method for a java.awt.Dialog class.

      I found a similar request for this on your developer web site (bug ID#4196387)
      and it says that it's In progress but that's been since jdk1.1.7 and I'm trying
      to do this in jdk1.2.1. I would have though it would be done by now.

      This may seem trivial but to not have this functionality is a bit annoying. I
      should be able to decide which icons to put on which dialog. Currently the
      dialog displays the icon in the owner frame passed into it's constructor, but
      that is not good enough.

           Dialog(Frame owner)

      Thanks,
      Phillip


      (Review ID: 58022)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rraysunw Richard Ray (Inactive)
                Reporter:
                kryansunw Kevin Ryan (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: