This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How can i make canvas Transparent  RSS feed

 
Pooja Roshan
Greenhorn
Posts: 4
  • 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
  • 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
  • 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).]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!