I 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 with the following characteristics:
- High performance;
- Scroolable text area;
- I need only one font;
- change text colour (two colours at the same time);
- select and copy part of text;
- apply a KeyListener;
- i don't need to insert the string, i only need to append the string;
- delete part and whole text;