Hi Ernest,
A couple of caveats. Since this property is processed by the code that
initializes the graphics system, you must use it with an application that
does some rendering. Simply typing:
java -Dsun.java2d.trace=help
will not print anything out (except a general Java interpreter "usage"
statement). Here is an example from the top directory of a 1.4beta3
Solaris installation:
% bin/java -version
java version "1.4.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)
% bin/java -Dsun.java2d.trace=help -jar demo/jfc/Java2D/Java2Demo.jar
usage:
-Dsun.java2d.trace=[log[,timestamp]],[count],[out:<filename>],[help],[verbose]
% bin/java -Dsun.java2d.trace=count -jar demo/jfc/Java2D/Java2Demo.jar
8 calls to sun.java2d.loops.DrawLine::DrawLine(OpaqueColor, SrcNoEa, AnyInt)
7 calls to sun.java2d.loops.FillRect::FillRect(OpaqueColor, SrcNoEa, AnyInt)
6 calls to sun.java2d.loops.Blit::Blit(IntBgr, SrcNoEa, IntBgr)
3 calls to sun.java2d.loops.DrawRect::DrawRect(OpaqueColor, SrcNoEa, AnyInt)
10 calls to sun.java2d.loops.DrawGlyphList::DrawGlyphList(OpaqueColor, SrcNoEa,
AnyInt)
3 calls to sun.java2d.loops.FillSpans::FillSpans(OpaqueColor, SrcNoEa, AnyInt)
37 total calls to 6 different primitives
(Note that I quit the demo very soon after the progress bar window
appeared)...
...jim
--On Wednesday, November 14, 2001 12:40:32 -0600 Ernest Hill <[EMAIL PROTECTED]>
wrote:
> i tried it. it didn't seem to do anything.
> regards,
> ernest
> At 02:40 PM 11/1/2001 -0800, Jim Graham wrote:
> > D'oh!
> >
> > I knew I'd forget an important feature. Try running your application
> > with either:
> >
> > -Dsun.java2d.trace=count
> >
> > or use:
> >
> > -Dsun.java2d.trace=help
> >
> > for more information on this feature...
> >
> > ...jim
> >
> > ===========================================================================
> > 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".
>
===========================================================================
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".