> OK, success finally! :)
> I had to add a bunch of other jar files to the > class path. Side note: I find it amusing that > substance-all.zip distribution doesn't seem to > include substance.jar What other jars besides substance.jar did you have to add? The distribution file contains the build script, the sources and the documentation. This is by design and i don't really hear any complaints about this. > Also, isn't there some kind of way to reference the > jars you need from a single jar so you don't need to > specify them all in the class path? What jars did you have to add? substance.jar should be the only one required for an application that uses only core Swing components. If you're using SwingX, then you'd have to add substance-swingx.jar. > I've also hacked the benchmark to check for null > menu and skip it. I think that it is a correct decision. Substance adds a JPanel to the menu bar, and this panel will show the menu search widget. The new default setting in 5.0 is to have the panel, but not show the widget. > The fact that Substance's score doesn't change a > whole lot no matter if the d3d pipeline is enabled or not > suggests that the rendering may not be the bottleneck. At this stage i'm quite reluctant to use VolatileImages instead of BufferedImages. I've already mentioned (in this thread) that even moving one of the caches to use VolatileImages adds 5% to the benchmark time. And Nimbus had actually worse performance on the d3d pipeline (it was twice faster than Substance on software-rendering only, but only about 20% faster on d3d pipeline). > One thing however I've noticed is that scrolling > (text area, table, tree) with Substance seems to be much slower > (and the benchmark does lots of that). I will look into this issue. Would be great, of course, to have access to your benchmark source code, but barring that - what exactly does it do? Is it driven by the Robot class (clicking in the scroll bar), is it scrolling the tables / trees programmatically with JScrollPane APIs, and what does it time? Is the main frame rendered to an offscreen image, and if not, how do you account for coalesced repaints? Or perhaps it's just counting how much time it takes to scroll the table. Thanks Kirill [Message sent by forum member 'kirillcool' (kirillcool)] http://forums.java.net/jive/thread.jspa?messageID=272418 =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
