Re: [OpenJDK 2D-Dev] What to override and what now

2011-10-26 Thread Jim Graham
It's even messier than that. It essentially specifies exactly how the value is determined and there is not only no need to override it - doing so just opens the door to violating its spec. Both XToolkit and WToolkit have the exact same implementation which complies with the documentation for

Re: [OpenJDK 2D-Dev] What to override and what now

2011-10-26 Thread Mario Torre
Ok then, I'll upload you a webrew patch for JDK8 later for review :) I need a bug id I guess. Cheers, Mario --- pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF http://www.ladybug-studio.com IcedRobot: www.icedrobot.org Proud

Re: [OpenJDK 2D-Dev] What to override and what now

2011-10-26 Thread Roman Kennke
Hi Artem, > > While working a bit on cacio, we just found some new nice addition to the > > Toolkit code, like this one: > > > > public boolean areExtraMouseButtonsEnabled() throws HeadlessException { > > GraphicsEnvironment.checkHeadless(); > > > > return Toolkit.getDefaul

Re: [OpenJDK 2D-Dev] What to override and what now

2011-10-26 Thread Artem Ananiev
On 10/15/2011 12:30 AM, Mario Torre wrote: While working a bit on cacio, we just found some new nice addition to the Toolkit code, like this one: public boolean areExtraMouseButtonsEnabled() throws HeadlessException { GraphicsEnvironment.checkHeadless(); return Toolkit.

[OpenJDK 2D-Dev] What to override and what now

2011-10-14 Thread Mario Torre
While working a bit on cacio, we just found some new nice addition to the Toolkit code, like this one: public boolean areExtraMouseButtonsEnabled() throws HeadlessException { GraphicsEnvironment.checkHeadless(); return Toolkit.getDefaultToolkit().areExtraMouseButtonsEnabled()