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

Border around JSplitPane separator is plain UGLY in Metal.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.3.0
    • client-libs
    • beta
    • x86
    • windows_98, windows_nt



      Name: krT82822 Date: 01/29/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)


      Run the SwingSet2 demo, select the JSplitPane demo. The bottom border of the
      divider bar looks like it's raised, while the top border looks like it's
      lowered. It would look so much better if the top & bottom borders just blend in
      with the border of the JSplitPane. This is under Metal.
      (Review ID: 100500)
      ======================================================================

      Name: krT82822 Date: 02/06/2000


      6 Feb 2000 eval1127@eng -- am changing #4308365 to bug vs. RFE.

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


      The changes concerning JSplitPane's divider painting introduced in JDK1.3
      are INCOMPATIBLE:

      The divider painting in JDK1.3 has one line highlighted on the left/top and
      one line shadowed on the right/bottom - which I call the divider border -
      added to the painting in JDK 1.2.2.

      This divider border is defined at the wrong place:
      ***************************************************************************
      * Any borders are properties definitely owned by the contained components *
      * (left and right resp. top and bottom components) and NOT properties *
      * owned by the splitpane divider! *
      ***************************************************************************
      Maybe someday the swing engineers will accept this fact (hopefully soon).

      The current behaviour:
      -does not allow for seamless integration and painting of a JSplitPane into
       another one or more generally HTML-Framesets like framesets realized using
       splitpanes
       (imagine a vertical oriented JSplitPane as the left component
       of a horizontal oriented JSplitPane)
       (Validation: check some Windows 95
       applications containing a splitpane/splitter like the file explorer
       (EXPLORER.EXE))
      -cannot be not programmatically disabled over the JSplitPane-API.
      -looks ugly and terrible
      -is a regression
      (Review ID: 100877)
      ======================================================================

            svioletsunw Scott Violet (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: