This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can i make canvas Transparent

 
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).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic