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

GTK L&F: JSpinner, JComboBox does not look like native

XMLWordPrintable

    • b03
    • x86, sparc
    • linux, solaris_10
    • Verified

        FULL PRODUCT VERSION :
        java version "1.6.0-ea"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b42)
        Java HotSpot(TM) Client VM (build 1.6.0-ea-b42, mixed mode, sharing)


        ADDITIONAL OS VERSION INFORMATION :
        Fedora Core release 4 (Stentz)
        Linux localhost.localdomain 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686 athlon i386 GNU/Linux

        A DESCRIPTION OF THE PROBLEM :
        There are some descreptancies between the native GTK+ LaF and native applications.

        * The top spinner button appears to be drawn with the border of the bottom one, causing it to be rounded on the bottom rather than the top.
        * The text entry widget is rounded on all four sides while the native one is rounded only on the ones that do not touch the buttons.
        * The arrows are a bit larger than on the native ones.

        Image: http://www.cse.ohio-state.edu/~eckenror/Java/Spinners.png

        REGRESSION. Last worked in version mustang

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        Run a Swing app that uses a JSpinner

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        Spinner looks native
        ACTUAL -
        Spinner does not look native.

        REPRODUCIBILITY :
        This bug can be reproduced always.
        ###@###.### 2005-06-30 08:15:29 GMT

              campbell Christopher Campbell (Inactive)
              jssunw Jitender S (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: