This is my time for confusing Swing problems, apparently.
I've created a simple JFrame than contains a JScrollPane. The horizontal scrollbar policy is ALWAYS. When it runs, it appears on screen as I expect it to:
But, if I widen the JFrame to where the JScrollPane is more than 1040 pixels wide, it picks up a bubble in the horizontal scrollbar, even though there's nothing to scroll (and even though widening a pane is how you
lose a bubble, not how you
get one):
This only happens under the Nimbus look and feel. Metal, CDE/Motif, Windows, and Windows Classic all behave properly.
My code is below.
Can anyone explain to me why this is happening?