> Sorry Phil, the compiler wouldn't let me use null for the DocFlavor. It should. I don't see how the compiler could object to it.
> When I run the program it throws classCastException at the first line of > code (but could anywhere else in the statement). Given > getSupportedAttributeValues returns (object) I can't compile the code > any other way - can I? I think you'll find the return value is an array. The javadoc for getSupportedAttributeValues tells you the types of return values and how to deal with it. -phil. =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
