Hi, Dmitri

> It works if I add lib/swingx.jar jar to the class path.

That was my fault. Accidentally, one of the new classes in Substance had an 
unnecessary dependency on SwingX. This has been addressed and you shouldn't see 
this exception anymore when using substance.jar only.

> Your benchmark (as you described it) seems to be
> testing only the rendering part (you call paint to an
> offscreen surface) and since it is rather short any minute variations
> show  huge percentage differences - these differences may
> actually not be noticeable to the end user.

Indeed this is correct. Currently it is only testing the rendering part.

> I will restart the discussion about open sourcing
> it, or at least giving you access if you'd like that.
> I'm not quite sure why we can't open it, it looks
> like it was developed by our SQE and performance teams.
> There were some talks about creating a new benchmark
> this one isn't perfect by any means.

That would be quite beneficial, especially if this is available to other LAF 
writers.

> The particular scrolling test seems to be rather
> simple - it just calls table.scrollRectToVisible() on a
> large table to simulate scrolling.
> Anther test that seems to be slow is a test which adds a bunch
> of lines to a text area. The tree test does something similar -
> creates a large tree, selects different nodes, that
> kind of thing. The test times how long does it take to complete a
> sequence. The sequence may be - adding stuff to the tree,
> selecting nodes, scrolling etc. Whatever rendering happens as
> this is being done is included in the test - the frame is visible
> on the screen all the time.

Thanks for the description. This will be the next thing to address in Substance 
5, then :)
Kirill
[Message sent by forum member 'kirillcool' (kirillcool)]

http://forums.java.net/jive/thread.jspa?messageID=272425

===========================================================================
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".

Reply via email to