Im trying to update my
JSplitPane` components directly after I drag the divider. I enabled instant updating of the components when I drag the divider.
My problem is that the components getting resized a bit later than I drag the divider; that looks a littlebit confusing.
Image of my Window at resizing
You can see the JScrollPane
outside the window.
I want to avoid that problem.
I tried: - Property change listener - Thread with 60fps
Nothing helps.
//SOLVED
Added a BorderLayout to my Panel and set the setPreferredSize
as I need it.