wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes How can i make canvas Transparent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How can i make canvas Transparent" Watch "How can i make canvas Transparent" New topic
Author

How can i make canvas Transparent

Pooja Roshan
Greenhorn

Joined: Apr 06, 2001
Posts: 4
Plz give me some idea or reference that how can i make canvas transparent in AWT (not in Swings).
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

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


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Pooja Roshan
Greenhorn

Joined: Apr 06, 2001
Posts: 4
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).]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can i make canvas Transparent