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

Resizing JFileChooser: Does not have a minimum limit

    XMLWordPrintable

    Details

    • Subcomponent:
    • Understanding:
      Fix Understood
    • CPU:
      generic, x86
    • OS:
      generic, linux_sun, windows_xp

      Description

      In the Windows applications, the FileChoosers cannot be minimized beyond a reasonable viewing area. But JFileChooser allows zero minimum size.
      Also, a cosmetic stuff, there are 3 diagonal lines at the right bottom corner of a FileChooser to indicate that they indeed are resizable which is missing in JFileChooser implementation.

      Build tested: Merlin b60

      Sample code: used FileChooserDemo that came with the latest build.

      Name: rmT116609 Date: 08/03/2001


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

      A feature that could improve the Win32 (Windows 2000/Me) JFileChooser is to put
      the Outlook-style nav-bar on the left of native JFileChoosers inside a
      JScrollPane. As it is now, if the dialog containing the JFileChooser is
      resized, the icons will becom hidden and distored. For an example of the
      current JFileChooser, see here:
      http://www.murtos.com/normal.png

      Now for when the dialog has been resized, please see here:
      http://murtos.com/normals.png
      As you can see, the icon to the left is partly hidden and distored. If you add
      place the panel to the left inside a JFileChooser, it would look much nicer.
      This way, when the JFileChooser's size is decreased, JScrollBars
      will appear; thus adding a GUI enhancement for end-users. For an example of a
      JFileChooser with a JScrollPane component, please see here:
      http://murtos.com/shrunk.png

      The above screenshot was not coded, it was created via MS Paint.
      (Review ID: 129319)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              sramansunw Sridhar Raman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Imported:
                Indexed: