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

JFrame and JInternalFrame should have similar window management interfaces

XMLWordPrintable

    • swing0.8
    • generic
    • solaris_2.5
    • Verified

      Currently JFrame and JInternalFrame do not have similar window management
      strategies. e.g. you can register a WindowListener on JFrame,
      whereas you have to subclass JInternalFrame and override methods like setSelected(), setIncon() to implement similar functionality.

      Methods like pack() are missing in JInternalFrame().

      This makes programmers job and makes unnecessary duplication of functionality which is really should be common.

      These classes should only differ in terms of being a native toplevel frame
      and being an internal frame i.e. Window Manager interaction

            tballsunw Tom Ball (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: