Updated these files to use DuffPane instead of JTextPane and so take advantage of DLC's new line wrapping code.

This commit is contained in:
eg3p 2002-10-31 19:06:47 +00:00
parent 97c530e974
commit d070e470ef
4 changed files with 12 additions and 8 deletions

View file

@ -36,7 +36,7 @@ import org.thdl.util.ThdlDebug;
public class Tibetan implements TranscriptView
{
private JTextPane text = null;
private DuffPane text = null;
private Document xmlDoc = null;
private StringBuffer idBuffer = null;
private StringBuffer t1Buffer = null;
@ -172,7 +172,8 @@ public class Tibetan implements TranscriptView
t2Buffer.append(',');
}
text = new JTextPane(doc);
text = new DuffPane();
text.setDocument(doc);
idBuffer.toString();
t1Buffer.toString();
t2Buffer.toString();