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

Hor. alignment & text position methods of JLabel don't behave as stated in spec

XMLWordPrintable

    • 1.2.2
    • sparc
    • solaris_2.6

        This bug has two test case failures (api/javax_swing/interactive/JLabelTests.html#JLabel - test cases JLabelTest0013 and JLabelTest0022). They are related in terms of functionality.
        It has been noticed when running the manual JCK Swing Interactive with
        JDK 1.2.1 - H build. It did not happen with JDK 1.2.1 - G build. Testing platform was Solaris 2.6

        Steps to reproduce:

        1) Configure Javatest to test JDK 1.2.1 - H build
        2) Launch Javatest using JCK-12a
        3) Run the test package: api/javax_swing/interactive/JLabelTests.html#JLabel
        4) Two test case failures are: JLabelTest0013 and JLabelTest0022
           a) JLabelTest0013:
              In this case, the LEFT radiobutton is NOT initially selected as expected
              even the label "A JLabel" is initially aligned against the left side of
              its display area.

           b) JLabelTest0022:
              In this case, the RIGHT radiobutton is NOT initially selected as expected
              even the label 's text is to the right of its image.

        Hung


        Failing on Sol2.7 Cady for JDK122m build

        ###@###.### 1999-04-06

              bcbeck Brian Beck (Inactive)
              hungnguy Hung Nguyen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: