Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems with paint(Graphics g) in 10.2



oz <email@hidden> wrote:

>Sigh...I've been fighting XOR issues in Apple JVM's since X was
>released. The scientific applications I work on make heavy use of XOR
>to make selections and show specialized "data cursors". The
>workaround is to turn off hwaccel so XOR works but then my users have
>to live with pokey graphic redraws. The only alternative is to have
>reasonable graphic performance but use a broken application.

Given the length of time this has been a problem, I can't help wondering if
you've investigated any other solutions, such as ignoring XOR mode entirely
and doing it yourself on buffered images.

Of course, the viability of any alternatives will ultimately depend on
speed, but if Apple seems unable to remedy the situation in a timely way,
the only solution I can see is to eliminate the dependence and create your
own remedy. One advantage is that you can control exactly what appears,
regardless of what Apple does (or doesn't do) and when. If you control the
option of YourRemedy vs. XOR with a property, then you can easily switch to
XOR mode (or your customers can) at some future point when Apple fixes the
XOR problem.

I fully realize that "you shouldn't have to do this". But if you are
stumbling over a bug that's not getting fixed, your only choices are:
1) avoid it with a workaround,
2) eliminate it with your own remedy,
3) complain about it while doing nothing.

These choices are true for all bugs, in all software. As a developer, you
at least have the power to make a development decision (create a remedy or
workaround), rather than just act as a consumer and only make a purchasing
decision.

-- GG
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.