On Sat, 7 Aug 1999 15:41:03 EDT, Paul Merriam wrote:

>Basic Swing question:
>Ok I give up,  how exactly do we add 3D content to Swing contexts?  I've
>tried many variations of myJFrame.getContentPane().add(myCanvas3D,
>BorderLayout.CENTER);, but nothing seems to work.  It seems most people have
>figured it out long ago, how?  Thanks for any help.
>
>WannbeJava,
>Paul
>
Hi Paul,

try this:

myJFrame.getContentPane().add("Center", myCanvas3D); //BorderLayout is already
implemented
myJFrame.setVisible(true);

This should run.

Gernot

[EMAIL PROTECTED]
http://www.janet.de

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to