I want to include it into another app I create. Its a normal windows app and it contains a browser object. I want the C2 game to run inside the browser object in the windows application. It will be used to show some images/banners moving along the screen and its much easier to animate objects with bullet behaviour and wrap (+ effects like particles) with C2.
Your custom app. Does it contain a FULL browser object or does it contain an HTML View?
These are hugely different. Java has an object that supports HTMLView, however that's it. It does not support JS interpreter. let alone tons of other browser features that C2 uses.
Unless your core app is about 20mb, then I suspect your app your making has an object that only handles HTML5 display. There is no way that is going to work. I found in my prior experience of wanting to use HTML5 and JS as an embded UI instead of standards uis. Was that most embeddable HTML5/JS objects were not full browsers.
Can you provide a link to the source for your Browser Object?