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

jdk 1.4.2_15b02 - Demo applets found with missing urls, bad formatting and missing buttons

    XMLWordPrintable

Details

    • b08
    • generic, x86
    • generic, solaris_10
    • Verified

    Backports

      Description

        JDK Demo issues:

        1. Animator Applet (example 4), Missing index.hmtl
        2. SortDemo Applet (example 1), page badly formatted
        3. DitherTest Applet (example 1), New image button to change colour does not display in browser

        Details Below:

        1. Animator Applet (example 4), Missing index html page
        ------------------------------------------------------------
        Description
        When user clicks on Animator demo applet it gives page missing error

        To recreate
        Install jdk1.4.2_15b02, setup the java plugin and open the jdk1.4.2_15/demo/applets/Animator/example4.html page in the browser. Click on the applet. A pop up error message appears informing the user the page is missing.

        Details
        The demo/applets/Animator/index.html page is missing

        More information:
        This issue also appears in jdk1.4.2_15b01 and jdk1.4.2_14, but this issue has been fixed
        in jdk1.5 and jdk1.6 where the demo was reviewed and fixed.

        jdk1.4.2_15b01 * @(#)Animator.java 1.9 03/01/23
        jdk1.6.0_01b06 * @(#)Animator.java 1.15 06/02/22

        Note: The Animator.java from jdk6 has been modified and will not work with jdk1.4.2_14

        Possible solution: The issue is resolved if the index.html is copied from the jdk6 Animator demo to jdk1.4


        2 SortDemo Applet (example 1), page badly formatted
        -------------------------------------------------------------
        Description
        When page displays the html page is not formatted correctly. The applets appear horizontally instead of vertically

        To recreate
        Install jdk1.4.2_15b02, setup the java plugin and open the jdk1.4.2_15/demo/applets/SortDemo/example1.html page in the browser. The applets are not displayed correctly on the page

        More information:
        This issue also appears in jdk1.4.2_15b01 and jdk1.4.2_14, but this issue has been fixed
        in jdk1.5 and jdk1.6

        This is a html formatting issue which has been fixed in jdk6 by using a table to display the applets vertically.


        3 DitherTest Applet (example 1), New image button to change colour does not display in browser
        -------------------------------------------------------------
        Description
        The new image button is not visible in Solaris10 mozilla 1.7(supported)

        To recreate
        Install jdk1.4.2_15b02, setup the java plugin and open the jdk1.4.2_15/demo/applets/DitherTest/example1.html page in the browser. The button to change the colour is not displayed

        More information:
        This issue also appears in jdk1.4.2_15b01 and jdk1.4.2_14 and jdk1.5 but this issue has been fixed
        in jdk1.6 (as the text is smaller)

        Even with appletviewer the 'new image' button is not initially visible and needs to be resized. Issue found to be resolved if applet width is increased in the html page to 450
        <applet code=DitherTest.class width=450 height=400>

        Attachments

          Issue Links

            Activity

              People

                asaha Abhijit Saha
                ncunningorcl Niall Cunningham (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: