Sean Cribbs wrote:
> > Well in JOS it wont matter since it will be the default toolkit for one
> > thing.
> Yes, but it would be good to be able to test it!
> > also Id like to say this is part of JADE, and should be in something
> > like org.jos.experimental.seancribbs.ui.jade.awt.JOSToolkit.
> OK, whatever. In my opinion, the package location is trivial at this
> point. That's the easiest thing to change, and can be done on a
> moment's notice. Since I'm not posting on CVS or SourceServer, why does
> it matter right now?
it is trivial at this point but we might as well get used to doing it
this way, just as a good practice. the experimental.wikiname part is the
most important part IMO.
> > cant component, container, frame and all that just be lightweight and
> > have all the graphics stuff in Window?(since thats where it all comes
> > from) and that just use the Screen (or whatever).
>
> Well, I figured that because Window and Frame are similar in standard
> AWT, then if one is lightweight, both should be. Besides, it's not good
> practice to make each component or container a Window. You set yourself
> up for circular references because the AWT hierarchy specifies that
> Window is a Container. IMO, component and container are the only
> heavyweight peers needed. In looking at the API, apparently Container
> has no peer of its own. The ContainerPeer interface is only so a base
> class can be provided for Panel, Window and their descendents. The
> Container class uses a ComponentPeer, which means that lightweight
> containers handle all their containees themselves. Therefore we only
> need to override ComponentPeer and LightweightPeer to interface with the
> graphics guts.
Technically Window would be lightweight in that scenario to, its kinda
impossible to have a traditional heavyweight component the way were
doing it. But I meant the Window should be the only one that interfaces
to the screen since everything else either has to go into it
(Components, Container...) or descends from it (Frame).
Postscript: I had a problem with your src jar file, some download error;
can I have the URL again?
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