Am Dienstag, den 05.07.2005, 10:23 -0600 schrieb Tom Tromey: > >>>>> "Roman" == Roman Kennke <[EMAIL PROTECTED]> writes: > > Roman> I have an application that uses a > Roman> ToggleButton derived from JToggleButton but does not call super() in > Roman> its constructors. > > Just FYI ... you can't avoid calling super() in a constructor. If you > don't call it explicitly, the compiler will add it for you. (If you > call this(), some other constructor will eventually call super()).
Yeah, I noticed that too. The bug that I've seen was actually triggered by a different problem, the method setContentAreaFilled sets the property setOpaque() in the JDK, and this method was called in the JToggleButton derived classes constructor. I will fix this ASAP. /Roman _______________________________________________ Classpath-patches mailing list [email protected] http://lists.gnu.org/mailman/listinfo/classpath-patches
