Article View: borland.public.jbuilder.java.language
Article #19232Re: Opinions wanted -- wisdom/performance of sub-classing most basic objects.
From: Jon Kern
Date: Thu, 26 Feb 1998 00:00
Date: Thu, 26 Feb 1998 00:00
15 lines
1173 bytes
1173 bytes
Well, this technique allows you to be more "free" from the toolkit and add
in your own twists, but I would only do it if you had good reason to. For
example, if you wanted to make some of your own "richer" versions of a
Button, then subclassing would be a good approach.
But if you only need default behavior, then don't waste your time, the
compiler's time, etc.
Remember, every line of code you write costs lots of money in maintenance,
etc. Using a library en toto is the more cost-effective means...
Here's a cool tool to view and create your classes (it's free and pure
Java):
http://www.oi.com/togetherj.htm
Technical Details
Message-ID:
<6d4bk2$5ja5@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6ckm8q$87a9@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,ba4858176e1c760f X-Google-Attributes: gidf74b3,public From: "Jon Kern" <JonKern@csi.com> Subject: Re: Opinions wanted -- wisdom/performance of sub-classing most basic objects. Date: 1998/02/26 Message-ID: <6d4bk2$5ja5@forums.borland.com> X-Deja-AN: 328903137 References: <6ckm8q$87a9@forums.borland.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.language