1. JTextPane editor large file & performance stackoverflow.comI'm using a JTextPane to edit XML files. A jflex parser split xml file in tokens and using a custom document (extends DefaultStyledDocument) i color syntax: doc.setCharacterAttributes(token.getCharBegin() + change, token.getCharEnd() - token.getCharBegin(), ... |
2. Java JTextPane low performance stackoverflow.comI have simple test project which creates a frame and adds one JTextPane to it When I select text and move mouse within JTextPane area all is fine, but when mouse leaves ... |
3. I Search a simple JTextPane with best performance coderanch.comI have developed a JAVA tool (oppure Java Tools) to monitor data on serial line. In order to view traffic data I use a JTextPane, as I need to change the text colour. The problem is that when I receive many data at high speed the insertString method is very slow. I am asking therefore, if there is a simpler class ... |