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

Java2Demo update problems with demos.Lines.LineAnim

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 5.0
    • client-libs
    • None
    • generic
    • generic

      There are some update problems with Java2Demo demos.Lines.LineAnim demo. The demo draws an outer ring with animated clock like arrows on the inside.

      When the demo window is resized, the animated arrows are properly moved to the center of the resized window. The bug is that the outer ring does not move also to adjust to the new window size.

      - This bug was reported from outside from www.javalobby.org discussion thread.
      - The bug was introduced in Tiger and is not reproducible with 1.4.2

      Steps to reproduce:
      ==================
      1) Set JAVA_HOME environment variable to FCS 1.5.0 build
      2) Go to the Java2Demo directory
      ./demo/jfc/Java2D
      3) Launch the demo
      $JAVA_HOME/bin/java -cp Java2Demo.jar java2d.demos.Lines.LineAnim
      4) Resize the window. The arrows will move to center but outer ring will remain in a fixed location.

            pmohansunw Praveen Mohan (Inactive)
            rreynagasunw Rick Reynaga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: