JTextComponent « Text Input « Java Swing Q&A





1. How to get the added, removed or changed chars from DocumentListener?    stackoverflow.com

I have JTextAreas and need to get chars, which are added, removed or changed to it. How do I do this?

2. Using Actions with DocumentListener    stackoverflow.com

I'm developing an application where I want something to be triggered both by the user updating the contents of a JTextArea, or manually via pressing a JButton. I have done the first ...

4. JTextComponent    coderanch.com

I know very less about JTextComponents. I went thru the API and could not find a solution for my problem. ie Part of the component should be read only(the heading) and the other part should be editable. How can I achieve this. How can I put a textfield into a textcomponent? Thanks Gaghe for the reply

6. JTextComponent keyStroke    coderanch.com

8. Figuring out when a JTextComponent is full    coderanch.com

Hey guys, I'm trying to figure out how to tell when a JTextComponent is full. I'm trying to set up "pages" so that my users don't have to scroll through their documents, they just "flip" through the pages. Right now I'm allowing the users to change the size of the JEditorpane and it would be kewl if my program could autoresize ...

9. Buffer for JTextComponent    coderanch.com

I have a large text file that I need open and scroll through. In other words is like opening a document with 200,000 lines of text or so. Since the file is rather long, how do I open the file in a way that I only have in memory a part of it and, when I scroll up or down, the ...





10. Using smart quotes with JTextComponent    coderanch.com