Gili wrote:
From past experience, whenever classes require arguments in their
constructors there is always some flexibility lost. For example, you
absolutely cannot invoke any code before super() if you subclass such
a class so if the value of one of the arguments needs to be calculated
or modified in any way prior to the super() call you're out of luck.
Very true.
It was only yesterday that it took me 4 hours to debug a very small
piece of code, only to find out that the Swing base-class called my
overridden method from the constructor. Yikes!
Erik.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user