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

Cannot programatically de-iconify a frame from another frame.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • None
    • 1.1.3
    • client-libs
    • None
    • sparc
    • solaris_2.5.1

    Description



      Name: rlT66838 Date: 07/14/97


      I am working on a stand-alone application on Solaris 2.5.1 using
      JDK1.1.3. The application has a "main" frame, which is the fist
      frame rendered on the screen, and a number of "secondary" frames,
      each one of which is brought up from the main frame by the click
      of an appropriate button. Each secondary frame also has a
      reference back to the main frame, and a button to bring the main
      frame to the front.

      I use setVisible(true) on the reference to the main frame to
      bring it to the front when the appropriate button on a secondary
      frame is pressed. This works fine as long as the main frame has
      not been rendered into an icon. But this scheme fails if the main
      frame has been rendered into an icon. That is, the iconified main
      frame does not "open up".

      This used to work fine in JDK1.0.2. I first noticed the breakage
      in JDK1.1.2.

      By the way, after the main frame has been iconified, calls to
      isShowing() and isVisible() on a reference to the main frame
      both return true. That does not seem right.


      ======================================================================

      Attachments

        Issue Links

          Activity

            People

              feckssunw Fred Ecks (Inactive)
              rlewis Roger Lewis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: