JScrollPane « JLabel « Java Swing Q&A





1. JScrollPane for a panel containing a set of labels with BoxLayout    stackoverflow.com

I'd like to use a JScrollPane for a panel which has an arbitrary list of labels in it using box layout. I'm trying to get it so that the ...

2. Scroll through JLabel held in JScrollPane    stackoverflow.com

I have a JScrollPane that holds a JLabel using the following code: //Create TEXT LOG JPanel textLogPane = new JScrollPane(logLabel); ...

3. JScrollPane and JLabel Challenge    coderanch.com

4. JLabel and JScrollPane    coderanch.com

That's a much easier solution to use. In our project we are reading label definitions from a properties file that contains different translations at using a text area is far easier than the HTML label because we can't be sure of the size of thing that we have to fit onto the label. Cheers, Rachel

5. Putting JLabels into a JScrollpane    java-forums.org

EDIT: This is no longer the problem, and it should not be necessary to read the entire topic if that's what scares people from answering. Go to post 9 (direct link here (which sadly opens in a new window)) to see the new problem (scrolling to specific position), with the entire code and image illustrations of the desired achievements. ORIGINAL MESSAGE: ...

6. How to move viewport for JLabel in a JScrollPane    forums.oracle.com

I have searched through the archived Dev posts and found how to do this with a TextArea but I have not been able to find how for a JLabel within a JScrollPane. What I am hoping to accomplish is to have the scrollbar move down as new lines of text are added to the JLabel, right now the scrollbar kicks in ...

7. Problems adding large JLabel to JScrollPane    forums.oracle.com