Dear R�bert,

    Thanks for responding.
    I looked at your application, and it looks like your Canvas3D component is
adjacent to (i.e., above) your splitPane component.  What I want to do is the
following:

    worldScrollPane = new JScrollPane(new Canvas3D(null));
    mapScrollPane = new JScrollPane(new Canvas3D(null));

    //Create a split pane with the two scroll panes in it
        splitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT);
        splitPane.setLeftComponent(worldScrollPane);
        splitPane.setRightComponent(mapScrollPane);
        splitPane.setOneTouchExpandable(true);

   The heavy j3D components clobbers the light swing component.



[EMAIL PROTECTED] wrote:

> Hi,
> > Dear experts,
> >
> >     I may be trying something too ambitious for the effort, but I'd like
> > to put j3D Canvases into a JSplitPane--but of course, you cannot see the
> > split pane divider or scrollbar (for starters).  The J3D FAQ suggests a
> > (possible) work around, but it is a bit "dense."  Could someone
> > unpackage this a bit?  Thanks.
> >
> My application uses a JSplitPane without any problems, its
> resizes perfectly
> all the time. There is also a Desktop version included that
> uses a JSplitPane inside a JDesktopPane, here we have some
> paint problems when moving the Canvas3D inside the JSplitPane
> wich is in turn inside a JDesktopPane. You can take a look at
> the application with full source-code at http://this.is/bang/
>
> With warm regards,
>
> R�bert Vi�ar Bjarnason
> [EMAIL PROTECTED]
> =====================================================================
> To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
> Java 3D Home Page: http://java.sun.com/products/java-media/3D/

--
 Christopher Currie       | EMAIL: [EMAIL PROTECTED]
 http://kahuna.psych.uiuc.edu/~ccurrie/homePage.html
 |
         Laboratory for Computational Astrophysics (LCA)
  at the NCSA and Beckman Institute at the University of Illinois
    INTERNET INTERFACE TO NUMERICALY SIMULATED GALAXY CLUSTERS:
                 http://sca.ncsa.uiuc.edu/
                           and
   Imaging Systems Laboratory INTERACTIVE 3-D FOREST ENVIRONMENT:
         http://imlab9.landarch.uiuc.edu/smartforest/
----


�����������������������
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to