• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet drawing line giving problems.

 
Nitesh Panchal
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
here is the code



when i put this code outside switch it is working! but inside switch it's not working. Can anybody tell me why?
 
Maneesh Godbole
Saloon Keeper
Posts: 11327
16
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"chotta chatri" please check your private messages for an important administrative matter.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll bet dollars for donuts that the problem is in the actionPerformed method.
 
Nitesh Panchal
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:I'll bet dollars for donuts that the problem is in the actionPerformed method.


yeah but what sort of problems?if you can tell that then only it will be helpful?what problem is there with the code?
 
Maneesh Godbole
Saloon Keeper
Posts: 11327
16
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you think is happening in the action performed? It is easy to check out by running it in a debugger or printing out statements.

 
Nitesh Panchal
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops! while doing copy paste i forgot to change the name of Sources hi hi hi
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good to hear that it's solved. I figured it shouldn't be too hard to find a problem in a 6-line method...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic