The first version of the SVG Writer is really simple. All you need is a text box to enter some text in it, a canvas to display the results of your experiments, and a button to tell the application that the text is ready to be displayed.
Figure 6.4 shows what the running application should look like.
Listing 6.5 shows the source code of the SVG Writer application.
package com.brainysoftware.batik; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; ...