O'Reilly logo

Java™ Drawing with Apache Batik: A Tutorial by Alexander Kolesnikov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Transcoders in Applications

Once again you will use the same application you’ve been building. The last version of the application was named SVG Creator Plus 2, and now you will add several transcoders to it. I’d like to call this version SVG Creator Plus 2T.

In the new version you will add a few buttons, each one for a different output format. Figure 4.1 shows how the application looks like after the buttons are added.

Figure 4.1. The final version of SVG Creator

Listing 4.1 shows the complete code of the application, with the most important lines shown in bold.

Listing 4.1. The SVG Creator 2T
package com.brainysoftware.batik; import ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required