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

transparency using JNA doesn't work

XMLWordPrintable

    • b12
    • b20
    • x86
    • windows_xp

      Tranparency using JNA libraries stops to work. It works on JDK 1.6u3 and prior versions
      The test case to reproduce the problem:

      1) https://jna.dev.java.net/ -> 'documents and files' -> 'latest' -> download jna.jar + examples.jar

      2) run the following test:

      import javax.swing.JFrame;
      import com.sun.jna.examples.WindowUtils;
      public class test{
         public static final void main(String args[]){
         JFrame fr = new JFrame();
         fr.setBounds(100,100,200,200);
         WindowUtils.setWindowTransparent(fr, true);
         fr.setVisible(true);
         }
      }

            anthony Anthony Petrov (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: