You can enable it in your main method, prior to initializing
  anything awt-related:
    System.setProperty("sun.java2d.opengl", "true");

  But we would discourage you from enabling it by default in your
  application: consider that your customer may be running it on a
  system with sub-par opengl drivers implementation, and the app
  crashes on startup.

  Also, some opengl implementations have performance issues, so
  the application may actually run slower than with the default
  pipeline.

  Thank you,
    Dmitri

On Tue, Sep 07, 2004 at 11:08:06AM -0400, Gregory Pierce wrote:
 > Hi Chet. Is there a way to enable/disable while the app is running? I
 > saw that you called it a runtime flag, but I'm assuming that means
 > that you pass it when your application is first started.
 >
 > ===========================================================================
 > 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".

Reply via email to