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

the method paint() is NOT called when it should be triggered

    XMLWordPrintable

Details

    • Fix Understood
    • sparc
    • solaris_8

    Description

      hercule.li@prc 2000-07-18

      I found this bug in merlin build 20, in build 22, it
      still exists.

      ---- hercule.li@prc 2000-07-18

      hercule.li@prc 2000-06-26

      We all know, when we configure the button's color , and then
      click this button, we don't hope to change its color.
      (except for changing to be grey :-) )

      ==After clicking the button, the button's color is
      changed and can't be changed back when running
      the attached file. This is only
      occured in Solaris, in Windows platform, it is OK.

      ==Running attached file to get the detailed info.

      Steps :
      1. javac Display.java
      2. java Display
          at this step, you will see a frame with a green button,
      3. click green button, you will see the button changes color,
          and can't change back to green in Solaris platform automatically

      == Analysis
      There are two different display phenomenons between Solaris
      and windows, the reason is the calling of method paint().

      In Solaris, when clicking button, the paint() method is
      NOT called, In windows platform, the method is called.

      Anyway, in Solaris and windows, the displaying phenomenon
      should be same.

      --------- hercule.li@prc 2000-06-26

      Attachments

        Issue Links

          Activity

            People

              osemenovsunw Oleg Semenov (Inactive)
              hlisunw Hercule Li (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Imported:
                Indexed: