> > While testing token overlaying in the same space, I found a
> > bug in getPublicCompany(): It doesn"t handle strings with
> > ampersands (e.g. "B&O"), and throws a Null Pointer Exception instead.
> Strange, I don"t have this problem.... B&O works fine with me.
> Where did the Exception come from?
In ui/StockTest.java
I've left the non-working statement commented out and labeled with "FIXME:"
> > Also, we need to figure out a way to broaden our support for
> > colors. java.awt.Color only has a few predefined colors. So,
> > do we want to allow RGB values, or hex values in the XML?
> Yes, I will work on that. I"m considering hex values in the XML
> (easier to parse just one value), to be translated to Color
> objects in the company instance.
Great. I think java.awt.Color already has a method to parse a hex value into a Color object. You may want to look at that, it'll probably make supporting this very easy.
|