A Java Scroll Indicator with floating scrollbars which only appears during scrolling
问题 I need a scroll pane with scrollbars only visible during scroll events or when needed to pull. Something that looks like the scroll bars on the nowadays smartphones. I searched a lot but found only realizations in javascript. So I tried it by myself. Has anyone a better solution or hints? The animation classes can be found here: TimingFrameWork import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics import java.awt.Rectangle; import java.awt