This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Change canvas background colour at button click

 
khushbushah shah
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am developing Java applet, which have canvas in it.
I want to change background color of canvas at one button click.

i have changed it using



but the content of canvas which i have drawn is lost.
How to changed canvas background color of canvas.

Thanks in Advance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic