Greetings,
I've been trying to move my implementation over to the new renderer (using cdk-git-20091229.jar) and I ran into a problem with BasicAtomGenerator getting an NPE. The problem was simple to fix -- the parameters created a getDefault() but never used it, so I modified them to overload the getValue method:

        public Color getValue() {
          if (super.getValue() == null) {
            return getDefault();
          } else {
            return super.getValue();
          }
        }

with the appropriate return value, of course. Has this already been fixed in a newer version or should I submit my changes as patches?

-- scooter

<<attachment: scooter.vcf>>

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Cdk-user mailing list
Cdk-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to