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

REGRESSION: Setting stagestyle attribute to Transparent throws an exception

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1
    • fx1.2
    • None
    • javafx
    • XP Prof, jdk 6u11, marina int build 668

    Description

      Setting Stage's stagestyle attribute to Transparent throws up an exception.
      This is a blocker introduced in marina and works in franca release.

      ---------------------------------START STACKTRACE-----------------------------------------------
      Error setting window transparency using AWTUtilities
      java.lang.reflect.InvocationTargetException
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at com.sun.javafx.tk.swing.WindowImpl.setWindowTransparency(WindowImpl.j
      ava:199)
              at com.sun.javafx.tk.swing.WindowStage.initializeStyle(WindowStage.java:
      142)
              at com.sun.javafx.tk.swing.FrameStage.initializeStyle(FrameStage.java:74
      )
              at com.sun.javafx.tk.swing.WindowStage.<init>(WindowStage.java:80)
              at com.sun.javafx.tk.swing.FrameStage.<init>(FrameStage.java:51)
              at com.sun.javafx.tk.swing.SwingToolkit.createTKStage$impl(SwingToolkit.
      fx:118)
              at com.sun.javafx.tk.swing.SwingToolkit.createTKStage(SwingToolkit.fx:71
      )
              at javafx.stage.Stage.applyDefaults$javafx$stage$Stage$impl_peer(Stage.f
      x:109)
              at javafx.stage.Stage.initialize$(Stage.fx:108)
              at transparentStage.javafx$run$(transparentStage.fx:6)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at com.sun.javafx.runtime.provider.GUIRuntimeProvider$1.run(GUIRuntimePr
      ovider.java:66)
              at com.sun.javafx.tk.swing.SwingToolkit$StartupRoutine.run$impl(SwingToo
      lkit.fx:754)
              at com.sun.javafx.tk.swing.SwingToolkit$StartupRoutine.run(SwingToolkit.
      fx:707)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
              at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
      ad.java:269)
              at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
      java:184)
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
      ad.java:174)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)

              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)

              at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
      Caused by: java.lang.IllegalArgumentException: The effects for decorated windows
       are not supported.
              at com.sun.awt.AWTUtilities.setWindowOpaque(AWTUtilities.java:388)
              ... 29 more

      ---------------------------------END STACKTRACE-----------------------------------------------

      Attachments

        Activity

          People

            rbair Richard Bair (Inactive)
            smandalisunw Srinivas Mandalika (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: