Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6260751

Applets can't set sun.java2d.noddraw=true

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P2 P2
    • 1.4.2_08
    • 1.4.2_08
    • deploy
    • None
    • x86
    • windows_xp

      The customer is deploying a major product to their customers via Applets. These customers are both internal and external to the Bank, and many do not have admin rights, or technical knowledge to configure Java through the Control Panel.

      We've come up with a number of programmatic methods of solving the other performance and display bugs they've found so far, but one evades us. The java2d performance issues that occur when Java2d mis-assesses the underlying hardware, and tries to use DirectDraw when it's not properly supported, leading to very poor paint performance.

      It's understood that part of this mis-assessment can be due to the underlying drivers not being completely honest about what they support. And testing such a fix before rolling out to customers would also be problematic. So what is being requested here is a method by which an Applet can switch sun.java2d.noddraw to true programmatically, such as using System.setProperty("sun.java2d.noddraw","true"); in a Java application. Right now this fails in an Applet - even though they use signed applets. This property is set in a number of the demo applications we include with the JDK, to solve this problem. Why is it not possible to do the same within applets?
      ###@###.### 2005-04-25 15:46:09 GMT

            mafishersunw Margarita Fisher (Inactive)
            mbowyer Mark Bowyer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: