Gilbert Carl Herschberger II wrote:
> 
> I wonder. Isn't possible to create a smart factory (see SmartAPIPages) for
> AWT components, AWT peers, and Swing components. Why do we want to use a
> toolkit without a smart factory? The "toolkit" does not use separate
> controllers for each component, so your stuck with a factory, not a smart
> factory.
> 
> Imagine that the toolkit _uses_ a smart factory. The smart factory is
> configured with controllers for _all_ of the AWT and Swing components on
> your computer. Not just components that come with standard Java. I mean
> _all_ of your components.
> 
> If we had a smart factory for components--all components--we would be able
> to mix and match the peers behind AWT and Swing. I'm thinking that a smart
> factory for components would use the JOS Registry API (see RegistryAPI) to
> configure the list of component controllers.
> 
> This extends the idea of look and feel, I think. When you combine a
> powerful smart factory to the GUI, you can get a button without knowing the
> name of a specific button class. A smart factory should be able to create a
> button with a caption, an image, a caption and image, in both AWT _and_
> Swing. A smart factory should be able to creaet a sticky button in both AWT
> _and_ Swing.
> 
> What else? A smart factory can support Java 1.0, 1.1 and 2.0 (1.2) and the
> next version of Java, too. We can look forward to being the first operating
> system to support Java 3.

I don't know if you can apply a smart factory to /everything/ it has its place in many 
things but I think this area is to abstract for it and would just make it harder to 
make good UI's (its way to
easy to create bad ones already)

There are a few behind the scenes places it could be used in the lower level stuff Id 
imagine, and if their is it will be used. design is about picking the best pattern for 
the job, not your favorite
(my favorite happens to be the "you do it, I'll watch" pattern :)

Cheers,
DigiGod
_________________________
[EMAIL PROTECTED]
AIM:DigiGod 86
_________________________
Quote of the Moment:
        Thus spake the master Ninjei:
         "To the intelligent man, one word, to the fleet horse
          one whip, to the well-written program, a single
          command"
_________________________
Prank of the Moment:
        Using the conferencing feature of your office phone, dial
        one Induhvidual, then while it's ringing dial another and
        conference them together. Put your own phone on mute
        and listen to see how long they'll make small talk before
        figuring out that neither one placed the call.
O-

_______________________________________________
UI maillist  -  [EMAIL PROTECTED]
http://jos.org/mailman/listinfo/ui

Reply via email to