Click to See Complete Forum and Search --> : Extending the Button Class in AWT


VSwamina
March 1st, 2000, 10:49 PM
Hi,

I extended the button class in AWT to support user defined size variation, it works as intended in Internet Explorer 5 but in Netscape 4.7 the button is invisible !!! However i can see the layout manager alloting the space required for the control !. I have overrided the getMinimumSize() and getPrefferredSize() methods. But it is of no use.

Can any one please help ? I want a solution in AWT alone.

bye
Vignesh

Vignesh Swaminathan
Software Engineer
Luminux
Vanenburg Ventures
(Previously of the BaaN Group)

chewlim
March 21st, 2000, 10:28 PM
Most probably you used a package that is a microsoft specific...

Maybe you imported some com.ms.* packages or something like that.
Or maybe you used the microsoft WFC.

Some code will help to debug.

PS: I dont normally use company specific object like WFC or MFC etc..etc..

chewlim