Win a copy of Functional Reactive Programming this week in the Other Languages 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