<Swing Dev> JSplitPane / heavyweight vs. lightweight components
Anthony Petrov
anthony.petrov at oracle.com
Tue Jan 17 16:01:02 UTC 2012
On 1/17/2012 6:02 PM, Johannes.Lichtenberger wrote:
> On 01/17/2012 02:48 PM, Anthony Petrov wrote:
>> Does running your app with the -Djava.awt.smartInvalidate=true command
>> line argument resolve anything? Please note that you have to execute
>> this workaround revalidation mantra upon any changes performed by the
>> user to the JSplitPane (i.e. on each moving of the split pane divider).
>> Also, when running with the smartInvalidate=true, you don't need to call
>> window.validate().
>
> Great, that's it "-Djava.awt.smartInvalidate=true" solves the problem,
> thank you :-)
You're welcome!
--
best regards,
Anthony
More information about the swing-dev
mailing list