Line « JEditorPane « Java Swing Q&A





1. JEditorPane Is Last Line    stackoverflow.com

Using a JEditorPane, is there any way to tell if the caret is currently on the last line? I cannot find anything in the API or more importantly JTextComponent of which ...

2. Swing - ensure visible line in text component    stackoverflow.com

I have some text component (particularly it JEditorPane), and need as response to certain event to make some line in the text component visible - i.e. scroll to it if that ...

3. multiple lines in JEditorPane    coderanch.com

4. Line Numbers and JEditorPane    coderanch.com

5. Invisible lines in JEditorPane    coderanch.com

I have a relatively simple Swing app that runs a database query and pumps formatted results into a JEditorPane called report. When I moved to JDK 5 some of the lines disappeared from the output. There is still vertical space for them, and when I select all, copy and paste into a text editor they're all there. I just can't see ...

7. Effiecient method to get number of lines in a JEditorPane    forums.oracle.com

My Computer Science class has a major grade project to complete by Dec. 15. For my project I've decided to make a tabbed Java IDE with save, open, compile, run, and some font options. Due to the need to make Java use the command prompt to compile and run, it will be Windows specific. Now, next to my JEditorPane I want ...