This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Applets and the fly likes getRGB() causing problem! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "getRGB() causing problem!" Watch "getRGB() causing problem!" New topic
Author

getRGB() causing problem!

Nitesh Panchal
Ranch Hand

Joined: Dec 23, 2008
Posts: 48
here is the code


when i omit getRGB() method it works fine else it doesn't . Can anybody suggest me what is the problem?
Nitesh Panchal
Ranch Hand

Joined: Dec 23, 2008
Posts: 48
why no replies?
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19742
    
  10

Probably because you haven't described the problem. You didn't say what constituted "works fine" and "doesn't". You didn't post any error messages or say whether any errors occurred. The problem could even be that one version of the code didn't compile for all we can tell. You need to provide details.
Nitesh Panchal
Ranch Hand

Joined: Dec 23, 2008
Posts: 48
No error is caused as such but the applet isn't executing. if i omit this code then it works fine



the problem is only with the above snippet
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
We still don't know what "the problem" is. Have you checked the Java Console for error messages? What are you expecting to happen, and what is actually happening? TellTheDetails
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getRGB() causing problem!
 
jQuery in Action, 3rd edition