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

Maximized JInternalFrames look & work better without a surrounding border

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.3.0
    • client-libs



      Name: krT82822 Date: 03/04/2000


      java version "1.3.0rc1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
      Java HotSpot(TM) Client VM (build 1.3.0rc1-S, mixed mode)

      A JInternalFrame has a standard surrounding border which allows the user to
      resize the frame. Once you mazimize the JInternalFrame, it fills up the whole
      area of the JDesktopPane and cannot be resized in that state. The surrounding
      border still remains visible although it is not usable.

      On the Win32 platform, the surrounding border of the frames in a maximized
      state (NOT the title bars and the frame control buttons) disappears thus saving
      more space. This is not the case with Swing...

      It would help JIFs to look & feel better if they followed the Win32 example. In
      my MDI application, having the JIF maximized confuses me because the appearance
      of the JIF is exactly the same as if I manually resized the JIF to the size of
      the underlying JDesktopPane (apart from the restore control button). If the JIF
      border was not there in the maximized state, then it would truly 'feel' that
      the frame is mazimized in the container.

      The border of course would need to re-appear in non-maximized states of the JIF.

      A minor feature which can manually be implemented by 'listening' to the JIF
      events and using the setBorder() method. It would be much simpler if it was
      handled automatically by Swing though.
      (Review ID: 102067)
      ======================================================================

            joutwatesunw Joshua Outwater (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: