but I would like to have a rectangular zone in my frame which would be translucent so the user can see what is behind.
JFrame
has aBorderLayout
,BorderLayout
has 5 areas,take this advantage from
BorderLayout
, create aTranslucent JFrame
and leave theCENTER
area translucent, put an opaque Panel in the the other areas.mabye now, there is real reason to mix
AWT
(doesn't support transparency & translucency) withSwing
, you can putAWT Panels
to theNORTH
,SOUTH
,EAST
andWEST
areas
a screen capture of what is behind the frame is not working for me, because I want really that the user dynamical change behind the frame.