On Tue, 08 Mar 2005 08:07:30 -0700, Aaron King <[EMAIL PROTECTED]> wrote:

> The problem I have is that I can't add components to my base class
> (like the drag bar, resizer dot, or text for displaying the time) while
> at the same time allowing the extending classes to add additional
> components based on their needs.
> 
> Does anyone have any suggestions for getting around this?

If you're creating a user interface component, you must extend
UIComponent or UIObject (see the docs). Then you should override the
createChildren() and in that create these objects like your drag bar,
resizer, etc.

Manish


Reply via email to