Thread « JEditorPane « Java Swing Q&A





1. JScrollPane Scrolls Down with Long Text in JEditorPane    stackoverflow.com

I want to have a JEditorPane inside a JScrollPane. When the user clicks a button, the click listener will create a textEditor, call jscrollpane.setViewPort(textEditor), call textEditor.setText(String) to fill it with ...

2. JEditorPane problem with asynchronous image downloading    stackoverflow.com

I'm trying to create simple Swing application, which contains few JEditorPanes inside. Each JEditorPane contains text with html tags inside. And also some panes contains html with tags <img src='http://some.url' />, ...

3. moving JEditorPane in applet: thread problem    coderanch.com

Hello, I'm making an applet that displays a JEditorPane. The location of the textPane should be changed every 500ms. I did this with a "SlideShow" Thread, as follows: class SlideShow implements Runnable { Thread slideShowThread = null; public void start() { if (slideShowThread == null) { slideShowThread = new Thread(this, "SlideShow Thread"); slideShowThread.start(); } } public SlideShow() { slideShowStatus = "initial"; ...

4. JEditorPane Rendering problem when using threads.    forums.oracle.com

I am using a JEditorPane in a custom popup window class. The problem is if windows are spawned from seperate threads (if multiple threads are not involved there is no issue) and need to display one on top of the other the JEditorPane of the bottom window will show through, the top window just for a moment. I have narrowed this ...