Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Why setOpacity and setIconImage is not working in frame?

 
vinoth vino
Ranch Hand
Posts: 67
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Why setOpacity and setIconImage method is not working for me? Please anyone help me?
1.png
[Thumbnail for 1.png]
Output
 
Darryl Burke
Bartender
Posts: 5155
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your screenshot shows an exception stack trace that you didn't tell us about. Have you read the API for the method called on line 15? What are the three conditions that must be met?
 
vinoth vino
Ranch Hand
Posts: 67
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
setOpacity value ranges from 0 to 1f so i put 0.4f but it doesn't work even if i put 0f it also not working? please anyone help me with this?
 
Darryl Burke
Bartender
Posts: 5155
11
Java Netbeans IDE Opera
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You haven't answered the question I asked. What are the three conditions that must be met for setOpacity(...) to succeed?
 
Bras cause cancer. And tiny ads:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!