Rectangle « JScrollPane « Java Swing Q&A





1. JScrollPane "jumping" when scrollbars start being used    stackoverflow.com

Sorry, this is a long piece of sample code below, but here's the issue: I have a background that I'm actively drawing (I could probably be smart and draw it once and ...

2. How to add rectangle into a jscrollpane with a structure in Java    stackoverflow.com

I'm trying to do a simple slide show program in java, and as you see in the image: enter image description here I want to add small rectangle's, which shows ...