Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Why setOpacity and setIconImage is not working in frame?  RSS feed

 
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: 5167
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: 5167
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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!