Good day.
I'm working on a small school project; a simple symthesizer.
For this purpose, I have a JPanel where I paint some custom things onto. This JPanel put inside another JPanel.
This JPanel is encapsulated by a JScrollPane. (It doesnt works if I put my custom JPanel directly inside the JScrollPane, don't ask why)
Strange thing is, my scrollbars are acting very strange. When they don't need to scroll, they appear. And when they're needed, they are disabled.
Can somenody help me?
Screenshot: http://img189.imageshack.us/img189/6923/simsyn.jpg
Greetings

