>>>>> "Chetan" == Chetan Kumar <[EMAIL PROTECTED]> writes:
Chetan> Now the problem is that when I activate the menu, the
Chetan> pulldown menu come behind the canvas. i.e some item of the
Chetan> menu are hidden behind the canvas.
Hava a look at
http://java.sun.com/products/jfc/swingdoc-archive/mixing.html
which explains the problem in detail.
What you should do: Subclass JComponent instead of Canvas. This makes
your "canvas" lightweight and Swing-compatible (e.g. you can add a
tooltip).
Best regards,
Ulli
--
ETH Zentrum, IFW B43, CH-8092 Zürich
Phone +41-1-63 27393 // FAX +41-1-63 21172