danke! der tipp von wildcard funktionier nicht so ganz. wenn ich z.B.: hallo eingebe, tauch das hier im oberen textpane auf:
javax.swing.JTextPane[,0,0,626x82,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,
alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.basic.BasicBorders$MarginBorder@1ded0fd,
flags=296,maximumSize=,minimumSize=,preferredSize=,caretColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],disabledTextColor=javax.swing.plaf.ColorUIResource[r=172,g=168,b=153],
editable=true,margin=javax.swing.plaf.InsetsUIResource[top=3,left=3,bottom=3,right=3],selectedTextColor=javax.swing.plaf.ColorUIResource[r=255,g=255,b=255],selectionColor=javax.swing.plaf.ColorUIResource[r=49,g=106,b=197],
kit=javax.swing.text.StyledEditorKit@15c7850,typeHandlers=]
@ checker
also ich verstehe was du meinst, weiß jedoch nicht wie ich es bei dieser anwendung einsetzen soll.
ich hoffe ihr habt noch ein paar tipps im ärmel
danke schonmal!