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

Demo app "CardTest" seems mis-written

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.1.4
    • 1.0, 1.2.0
    • client-libs
    • None
    • 1.1.4
    • other, sparc
    • generic, solaris_2.5
    • Not verified

      In the java demo package, SUNWjvdemo, the applet, "CardTest" draws
      buttons on a panel, in one of five arrangements. Each of the five
      buttons is numbered; pressing it selects the corresponding button
      arrangement, and the panel is redrawn. There are also buttons marked,
      "first," "next," "previous," and "last." One problem is that, when
      arrangement 5 is displayed, and the "next" button is pressed,
      arrangement 2 is displayed (I would have expected arrangement 1).
      Also, the "last" button displays arrangement 3 (I would have expected
      arrangement 5).

      Demo programs don't have to be perfect, but one as simple as this
      should at least not have bugs in it that are so obvious they are
      distracting.

      Also, since it is a demo of a language product, shouldn't the source
      code for the demo app be included? At least then the motivated
      end-user could fix the problem him/herself.

      -jmc 3 13 97

            cbucchersunw Christopher Bucchere (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: