Hi LM, There is currently no way to include a Swing component in a Pivot app via WTKX. We had experimental support for a SwingAdapter component a while back, but there were some challenges in propagating mouse and keyboard input to the Swing components.
If you don't need to handle user input events, you should be able to write a wrapper component that delegates paint() calls to an embedded JEditorPane. Actually, you could still do this even if you do need to handle input events, as long as you register the events on the wrapper component, not the actual Swing component. Hope this helps, Greg On Jan 17, 2010, at 2:28 PM, Luke Merolla wrote: > Hello everybody, > > I want to ask how it is possible to mix an application with Pivot and Swing > component. > Basically what I'm trying to do is to have an application built with Pivot, > but I need to use JEditorPane to show some HTML pages. > > Is there a way to put Swing component into the wtkx file? > > Any other suggestion is very welcome. > > Thanks in advance, > LM
