posted 17 years ago
in your example, setting decorated(true) in A's constructor should not work
for A if extending JFrame
e.g.
the above should not decorate 'A'
but if constructing a JFrame in A's constructor it should work
e.g.
in all cases, B seems to decorate OK
try this, and switch between the #1/#2 A/B classes