Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java 6 Update N b.12 - AWTUtilities translucency  RSS feed

 
Isaac Hewitt
Ranch Hand
Posts: 191
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a small JDialog. After an action is requested via a JButton in the JDialog, I would like to be able to set JDialog translucent using the new method available in Java 6 Update N build 12.

I tested the method applying translucency before the JFrame was realized and of course it works.

My question is how to update the GUI after calling the method:

AWTUtilities.setWindowOpacity(the Window, 0.1);

I have searched the forums, but since this is a new method, I didn't find much.

Thanks
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
bit of a discussion here

http://www.pushing-pixels.org/?p=260

might be worth posting the question there.

(I don't have 1.6-12, so can't even test it)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!