Roman Kennke wrote:

Hi Mark,

Testing this it seems that (at least in JDK1.5) the orientation value is
indeed restricted to 0 and 1 (the constants that are defined for the
orientation). JDK1.5 throws IllegalArgumentExceptions for all other
values. I would suggest to follow the JDK there.

/Roman
The Mauve police will get Mark anyway, because there is a test to cover this...

Regards,

Dave

Reply via email to