Java Swing 2D System attribute parameters detailed __java

Source: Internet
Author: User

Java Swing 2D System attribute parameters detailed
-dsun.java2d.opengl=trueIf hardware acceleration has been made, you can use this option to improve the swing GUI speed with the default value of False
-dsun.java2d.trace=[log[,timestamp]],[count],[out:<filename>],[help],[verbose]Help find out which swing component has a performance problem when drawing.
-splash:filename.pngSplash screen appears at startup. If the picture cannot be found, it will not load
-dswing.aatext=trueStart Java anti-aliasing, and many times the edges of the graphics object that swing draws are always jagged, so just add this option to the JVM startup parameters to solve the problem, and you'll see very smooth edges and text. The default value is False
-dsun.java2d.d3d=falseTurn off the Java 3D feature (Direct3D, sometimes Direct3D function may cause JVM crashed, default is open (True)
-dawt.nativedoublebuffering=trueSwing will enable the local dual cache of the operating system, and swing itself will not do any processing.
-dsun.java2d.noddraw=trueCompletely disable the DirectDraw or Direct3D functionality of the Java 2d/3d
-dsun.java2d.d3dtexbpp=16Describes the system and acceleration picture as a 16-bit (4444) format, which saves VRAM and system memory, but results in degraded image quality. Note This setting is not valid if the 3D pipe is in use.-dsun.java2d.ddoffscreen=falseTurn off the JAVA2D graphics system using Direct3D or DirectDraw to draw surfaces outside the screen, which is true by default. The default values may sometimes cause serious problems that can be turned off by using this option.-dsun.java2d.ddscale=trueTurn on hardware-accelerated scaling, the default value is False, which is turned off, mainly because of the avoidance of drawing defects in existing applications, which may be caused by different rendering methods and video cards that lead to reference references: http:// Download.oracle.com/javase/1.5.0/docs/guide/2d/flags.html http://java.sun.com/products/java-media/2D/perf_ Graphics.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.