• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can i make canvas Transparent

 
Pooja Roshan
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Plz give me some idea or reference that how can i make canvas transparent in AWT (not in Swings).
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pooja,
I don't think that you can make a Canvas transparent... but you can draw transparent Images to a Canvas...
Please give more detail into what exactly you are trying to do...
Thanks,
-Nate
 
Pooja Roshan
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nathan ,
The problem is, that i have a panel that contains five panels. and i want to label that parent panel so that its caption appears in the middle of that parent and above all those 5 panels, if i overrides the paint method of the parent panel and draw the title string it will hide behind those five panels. kindly give me all the possible solutions.

[This message has been edited by Pooja Roshan (edited April 07, 2001).]
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic