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

BorderFactory borders don't have rounded corners with XP look and feel

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P5
    • Resolution: Unresolved
    • Affects Version/s: 1.4.0, 5.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Subcomponent:
    • Understanding:
      Fix Understood
    • CPU:
      x86
    • OS:
      windows_2000, windows_xp

      Description

      Name: sh120115 Date: 01/15/2004


      FULL PRODUCT VERSION :
      java version "1.5.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b31)
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b31, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      BorderFactory.createTitledBorder(String title) should create borders with rounded corners when using the Windows XP Look and Feel

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      add a border created with BorderFactory.createTitledBorder("hello") to a component using the Win XP look and feel. Compare to the native equivalent

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Native borders of the equivalent type have rounded corners.
      ACTUAL -
      sharp right-angle corners are present on the Swing borders

      REPRODUCIBILITY :
      This bug can be reproduced always.
      (Incident Review ID: 233298)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                shickeysunw Shannon Hickey (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Imported:
                  Indexed: