![Java Swing Tips: Create a minimap of JEditorPane with ImageIcon and overlay it on JScrollPane using LayoutManager Java Swing Tips: Create a minimap of JEditorPane with ImageIcon and overlay it on JScrollPane using LayoutManager](https://2.bp.blogspot.com/-GxX45uOnrRU/XWoKRrLFIBI/AAAAAAAARTQ/UQYt00ToxEgV8pbQYV95i0Vtm3zT5d3ZACLcBGAs/s1600/MiniMap.png)
Java Swing Tips: Create a minimap of JEditorPane with ImageIcon and overlay it on JScrollPane using LayoutManager
![Use of JScrollPane causes header to lose component orientation (Swing / AWT / SWT forum at Coderanch) Use of JScrollPane causes header to lose component orientation (Swing / AWT / SWT forum at Coderanch)](https://i.imgur.com/4ozlr3a.png)
Use of JScrollPane causes header to lose component orientation (Swing / AWT / SWT forum at Coderanch)
![JScrollPane collapses when elements exceed visible window space (Swing / AWT / SWT forum at Coderanch) JScrollPane collapses when elements exceed visible window space (Swing / AWT / SWT forum at Coderanch)](https://i.gyazo.com/4c4319ad3ba3943d281d51ac5b17790b.png)
JScrollPane collapses when elements exceed visible window space (Swing / AWT / SWT forum at Coderanch)
![11.2 The JScrollPane Class | Graphic Java 2: Mastering the Jfc, By Geary, 3Rd Edition, Volume 2: Swing 11.2 The JScrollPane Class | Graphic Java 2: Mastering the Jfc, By Geary, 3Rd Edition, Volume 2: Swing](https://flylib.com/books/2/715/1/html/2/files/swng2.1103.gif)