Can a Native App load a JPanel?

Does anyone know how (or if) I can have an application's window (built in c++) load a jPanel as it's only window contents?

In other words, I have a java class file that is a jPanel (with a bunch of other things on it of course) that I want to basically be the gui of a window of a c++ native app. I'd like the jPanel to load and get some parameters passed into it to do it's stuff.

Thanks

[425 byte] By [quietline] at [2007-9-26 5:33:39]
# 1
You would need to use the Invocation API in order to invoke a JVM and then you can load any classes you like, instantiate any object and call methods on those objects as you like. Refer to the Native Methods tutorial on how to do this.
andyba at 2007-6-29 19:44:58 > top of Java-index,Java HotSpot Virtual Machine,Specifications...