4 messages in net.java.dev.jna.users[jna-users] WindowUtils doesnt work f...
FromSent OnAttachments
tj_takehanaAug 20, 2008 11:37 pm 
Timothy WallAug 21, 2008 4:10 am 
Scott PalmerAug 21, 2008 6:41 am 
tj_takehanaAug 21, 2008 6:54 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[jna-users] WindowUtils doesnt work for JavaFXActions...
From:tj_takehana (tgen@gmail.com)
Date:Aug 20, 2008 11:37:34 pm
List:net.java.dev.jna.users

Hi, all.

I just started using WindowUtils from examples for JavaFX then got the problem on making a transparent frame. i tried followings.

javafx.application.Frame WindowUtils.setWindowTransparent(Frame.window, true); -> Frame layout is undecorated but the backgroud of a PNG picture isnt transparent.

javafx.ext.swing.SwingFrame WIndowUtils.setWindowTransparent(SwingFrame.window, true); WIndowUtils.setWindowTransparent(SwingFrame.getAWTWindow(), true); WIndowUtils.setWindowTransparent(SwingFrame.getJFrame().getWindows()[0], true); -> Frame layout is undecorated but the backgroud of a PNG picture isnt transparent but filled with light-grey.

javax.swing.JFrame WIndowUtils.setWindowTransparent(JFrame.getWindow()[0], true); -> works normally.

i dont see what's wrong on giving java.lang.Window object to WindowUtils. i tried to track out the code but it wasnt any help cos my knowledge is far from graphic things :S could anybody help me out ?

heres my environment: Windows XP SP2 Java Compiler : JDK 1.6.07 Library : JavaFX Preview SDK, examples from JNA. IDE : NetBeans 3.1

Regards.