aspose file tools*
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 Spring in Action this week in the Spring 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
Bartender

Joined: Oct 14, 2005
Posts: 18665
    
    8

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
Marshal

Joined: Mar 22, 2005
Posts: 42286
    
  64
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


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getRGB() causing problem!