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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P5 P5
    • None
    • 1.4.0, 5.0
    • client-libs
    • Fix Understood
    • x86
    • windows_2000, windows_xp

      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)
      ======================================================================

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

              Created:
              Updated:
              Imported:
              Indexed: