Text highlighting fixed

This commit is contained in:
honfika@gmail.com
2014-12-06 16:39:39 +01:00
parent 9f18174ece
commit c17afde4cf
4 changed files with 35 additions and 33 deletions

View File

@@ -88,7 +88,7 @@ public class TextPanel extends JPanel implements ActionListener {
}
public void setText(String text) {
textValue.setContentType("text/swf_text");
textValue.setContentType("text/swftext");
// textValue.setFont(new Font("Monospaced", Font.PLAIN, 13));
textValue.setText(text);
textValue.setCaretPosition(0);