I just tested Java 7 b19 with
java3d 1.5.1. It seems like lightweight/heavyweight mixing issue is
successfully solved! Even the OrbitBehavior works fine!
Take a look at the attachment.
it seems that [b]Java SE 6 Update 12[/b] already supports Canvas3D in JInternalFrames. Only the outline dragging mode issue still exists (can this be solved at all?).
This is a very good news !
Thanks for this report ;)
Nice! Finally heavyweight performance combined with lightweight widgets.
Has anyone ever tried running different canvases in a tabbed pane?
BTW, the bug detail concerning this is:
Just tried :) It works :)
The whole thing finally opens a wide spectrum of overlay approaches. Very, very nice.
That's very great.
Any information about performances? How does that compare to JOGLPanel?
suprised by this news I reactivated an older MDI application based on JDesktopPane, JInternalFrame and Canvas3D. I compiled and ran it under JDK/JRE 1.7.0_b19:
- Z-order of JInternalFrame and Canvas3D works fine
- Java3D rendering has similar/same performance compared to JRE 1.6
- When a non selected JInternalFrame is selected the background is shown for a few milliseconds before its Canvas3D is rendered
- JInternalFrames which were moved back are often not fully repainted
- In outline dragging mode the JInternalFrame's outline is hidden by its own Canvas3D and those of other JInternalFrames
Screenshots are available here: http://www.interactivemesh.org/off/heavylightweighttest.html
Posted to 'Java SE Snapshots: Project Feedback' as well http://forums.java.net/jive/thread.jspa?messageID=233659&tstart=0#233659.
Hi Everybody, specially interactivemesh, I've been trying to find a way of use Canvas3D inside of a JInternalFrame, I've just seen your screenshots and I think that's what I need, So Let me ask you for a sample code or whatever you want that can help me. I'd really thank you very much for this favor.
Have a look here:
Heavyweight Internal Frames : Java 3D Sample. http://forums.java.net/jive/thread.jspa?threadID=68282&tstart=0
Corresponding web page http://www.interactivemesh.org/testspace/j3dmeetsswing.html#heavyweight
Sample ScPropeller http://www.interactivemesh.org/testspace/j3dmeetsscala.html
is it possible for u to post ur code over here or send it to me?I am trying to solve a specific prolem since 3 days now but hav'nt got any idea how to do that. I've to integrate a canvas3d in a JInternalFrame. I saw in the screenshots tht u've done exactly wht i need to do. if u could send me ur code it will solve my problem and will help me to finish my project. thanku
I suppose the sample PropellerUniverse is the subject of your interest. The PropellerUniverse1.0.zip file includes the code and resources. You'll find the download link here http://www.interactivemesh.org/testspace/j3dmeetsswing.html#heavyweight
Is this what you're looking for? August
did you try it on mac os x? Because I tried it and all the problems with
heavyweight mixing are still there on mac os :-( At least with the installed
This is a well known 'bug'. See thread 'Mixing heavyweight and lightweight components on OS X' on Apple Mailing Lists http://lists.apple.com/archives/java-dev/2010/Jun/msg00153.html.
Also follow the link given by Mike Swingler, Java Engineering, Apple Inc..
Please, post him your frustration.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.