Page 1 of 1

ViewerApp integration in jPanel

Posted: Tue 19. Aug 2008, 19:13
by Recage
Dear jReality community,

I am trying to integrate the ViewerApp into a jPanel (i.e. I do not want the ViewerApp to reside in its own window). What would be the appropriate strategy to achieve this goal?

Best regards, Recage

Posted: Tue 19. Aug 2008, 20:48
by Joe
Hi,
I did it this way:

Code: Select all

_viewerApp.getViewingComponent()
... gives you a component (JPanel) which can be inserted into other components.

Posted: Fri 29. Aug 2008, 06:02
by timh
Besides that there is

Code: Select all

viewerApp.getContent()
to get the content of the viewerApp's window (including the navigator etc...) and

Code: Select all

viewerApp.getNavigatorWithAccessories()
Tim