1. Replacing smiles with images in Swing text area stackoverflow.comI am designing a chat system..i am making use of JText area to display chat, and JTextField to enter text. My question is how to recognize smiley's like ":)" and replace it ... |
2. Replacing one JTextArea with another stackoverflow.comIn my GUI a have a JTextArea within a JScrollPane that is attached to a container.
|
3. replacing text in jTextArea by image java-forums.orgwell, i need to replace a substring by an image, and to to that i need to get the index of the start of that text and then replace it according the the obtained index, i don't think that jtextpane's inserticon() has this facility(of course i could be really wrong). If a piece of text can be replaced by inserticon() then ... |
4. How to moniter and Replace every character typed into a JTextArea! forums.oracle.comI have a JTextArea! For every character typed on it in want to change that character to my own character... For example if user types 'a' on key board, i want 'b' to be displayed on the JTextArea. It should been seen on the screen... Any idea? P.N: I am doing a notepad like editor where in user can type Indic ... |