aspose file tools
The moose likes Applets and the fly likes getRGB() causing problem! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Applets
Reply 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: 16480
    
    2

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: 35223
    
    7
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


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://jrebel.com/download
 
subject: getRGB() causing problem!
 
Similar Threads
Calling an applet from another class of the same package
KeyEvent problem on a JPanel
Moving Circles
Need help breaking up this code
How to draw a chart with multiple y-axises