Sean,
I tried running your code, and it comes up, but doesn't ever seem to call
any Swing widgets. Could you put some out.println's in the Toolkit so that
we at least know when it is working?
What JDK are you using?
platform?
On the issues with initializing to the proper toolkit, I think Ryan Heise
has solved some of those problems. See:
http://www.progsoc.uts.edu.au/~rheise/projects/SwingToolkit/
Regards,
Avery J. Regier
> -----Original Message-----
> From: Sean Cribbs [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, July 19, 1999 3:56 PM
> To: [EMAIL PROTECTED]
> Subject: [JOS-UI] peer-ui mappings
>
> UI'ers:
>
> I've reached an intermediate completion point. All of the peers and the
> toolkit compile, however, there are runtime errors. In digging through
> Sun's source, I have realized the java.awt.Toolkit class maintains a
> pointer to the first initialized toolkit. Therefore, any changes to the
> awt.toolkit property are ignored after the first toolkit is created.
> (@#$%&^*&^!!!!) If you run the JOSTKtest class I have included, you can
> see everything fine. However, if you specify the awt.toolkit property
> to be org.jos.ui.core.JOSToolkit on the command line, it doesn't work.
> I would like some help with this if anyone has time. Additionally, some
> of the peers won't pass back all the appropriate events. I believe List
> and Scrollbar are a few. The Component and Container peers are still
> skeletons, until I can get a well-defined interface with graphics
> hardware (most likely using JADE). I suppose posting attachments on this
> list is not desirable, so I will put a jar file at:
>
> http://www.ens.utulsa.edu/~scribbs/jostkpeers.jar
>
> It will contain all of the compiled classes in their proper directories,
> plus the source in a src/ directory. The main class of the jar will be
> JOSTKtest, so you can just run "java -jar jostkpeers.jar" if you want.
>
> Later,
>
> Sean Cribbs
>
> _______________________________________________
> UI maillist - [EMAIL PROTECTED]
> http://jos.org/mailman/listinfo/ui
_______________________________________________
UI maillist - [EMAIL PROTECTED]
http://jos.org/mailman/listinfo/ui