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

An image(256 colors) in clipboard should be displayed correctly

XMLWordPrintable

    • b11
    • x86
    • windows_xp

        An image(256 colors) copied in clipboard is not displayed in Java program correctly.
        Some right portion of orginal image moves to the left side and shows up in the Java application.

        CONFIGURATION :
         JDK: 1.4.2/5.0u16/6.0u10
         OS : WindowsXP(SP2, Japanese)

        REPRODUCE:
        The following steps are for 6.0u10.
        1) Open SwingSet3.png in "paint" tool of Windows Accesorries
        2) Save the image as **256 colors bitmap***
        3) [edit]-[select All] in paint tools window
        4) [edit]-[Copy]
          (The image data is transferred to clipboard)
        5) Compile the attached a.java
        6) invoke "java a"

        Please compare in the image in java application with the original one.
        You can see the difference between both images.

              vchoudhaorcl Vaibhav Choudhary (Inactive)
              tbaba Tadayuki Baba (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: