Cocoa and Java+Swing
Cocoa and Java+Swing
- Subject: Cocoa and Java+Swing
- From: Jason Foster <email@hidden>
- Date: Thu, 13 Jun 2002 22:25:25 -0400
This might have made it to FAQ status, but a search of the archives wasn't
terribly conclusive, so here goes...
I'm currently looking at merging the Chimera web browser and the XSmiles
SMIL viewer. Chimera is a Cocoa interface that wraps around the Mozilla
rendering engine, while XSmiles is a (mostly pure) Java application that
renders using Swing. XSmiles can also be run as an applet. What I would
like to do is basically replace the Mozilla renderer with the XSmiles
renderer.
I've seen applets run under Omniweb, which I believe is a Cocoa application,
so I have to believe that it's possible for Swing components to be
rendered inside of a Cocoa app. Unfortunately I haven't seen any code
examples, and all of the information I've been able to find says something
to the effect of "you can't use Swing within Cocoa", which doesn't seem to
jive with reality.
Can anyone definitively prove that I am delusional, and that Omniweb is not
mixing Cocoa interface widgets and Swing components, or (hopefully) confirm
that I'm not nuts and that this is possible. Sample code or a tutorial
would be greatly appreciated.
Thanks!
Jason Foster
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.