Download java 3d
ToolTipManager.sharedInstance().setLightWeightPopupEnabled(false) Īnother nice feature is the ability to draw over the top of the 3D canvas using Swing’s Graphics2D interface. No matter what you do, standard Swing menus will always hide behind a Canvas3D – the only workaround is to use the old Heavyweight menus. Well, for the most part, it did – with the notable exception of the menu bar. That meant putting it inside a standard Swing LayoutManager with the hope that it’d just fit in and work. I think that pretty much tells the story.Įven though we wrote PageFlow itself in Java 3D, it still had to slot into our Swing based viewer.
Even this depends on the abandoned JAI libraries for Perspective transforms, which are pretty slow – you always see blank pages while the images load in. It’s completely static and has rough edges. Here’s what PageFlow looked like when we wrote the first version in Swing: We thought it might be interesting to look back at our experience with Java 3D, and perhaps see how other technologies can learn from its successes and failures. It’s served us well, but we think now is the time to move on to newer, better supported and more widespread technologies. Top 5 interesting things Java 3D taught usĪ few years ago, we completely overhauled our simple, static PageFlow mode and started from scratch with Java 3D. He's also enjoyed working with SVG, Java 3D, Java FX and Swing. Sam Howard Sam is a developer at IDRsolutions who specialises in font rendering and conversion.