Denis Bohm wrote:
I downloaded the Batik source code and am getting a lot of compile errors. For example, in StaticRenderer:

C:\xml-batik\sources\org\apache\batik\gvt\renderer\StaticRenderer.java:156: cannot find symbol
symbol : constructor RenderingHints(java.awt.RenderingHints)
location: class java.awt.RenderingHints


Looking at the 1.4.2 docs there isn't any constructor for RenderingHints that takes a RenderingHints parameter. I must be missing something obvious. Anyone see what it is?

Yes, RenderingHints implements the 'Map' interface which the RenderingHints class does take as a constructor arg.

BTW: I'm using Java 1.5 to build.

This is the problem, among other smaller problems JDK 1.5 has a built in DOM 3 Core org.w3.dom package, our trunk DOM implementation does not currently implement DOM 3 (although Cameron has done this in the svg12 branch). Take Tonny's suggestion and compile in JDK 1.4 compat mode.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to