Define the relationship between setVisible, setClosed, and show

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.3.0
    • Component/s: docs
    • beta
    • generic
    • generic



      Name: krT82822 Date: 02/15/2000


      java version "1.3beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3beta-O)
      Java(TM) HotSpot Client VM (build 1.3beta-O, mixed mode)

      It would be really helpful if you would FIX and DEFINE the relationship
      between setVisible(), setClosed(), show(), and hide() for JInternalFrames. In
      addition you need to better define what causes INTERNAL_FRAME_OPENED,
      INTERNAL_FRAME_CLOSING, and INTERNAL_FRAME_CLOSED events. I've been having to
      peek at the source code for JInternalFrame to figure this out, but you guys
      seem to keep changing you mind, because the behaviors of these methods in
      JDK 1.2.2-001 and JDK1.3rc1 are not the same.

      Thinks are made all the more confusing because the "Creating a GUI with
      JFC/Swing" trail in the Java Tutorial says "Just as for a regular frame, you
      must invoke setVisible(true) or show() on an internal frame to display
      [an internal frame]."
      (http://java.sun.com/docs/books/tutorial/uiswing/components/internalframe.html)
      But setVisible( true ) and show() do NOT do the same thing.
      (Review ID: 101289)
      ======================================================================

            Assignee:
            Kathy Walrath (Inactive)
            Reporter:
            Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: