doubleBuffer(enabled)

Class: SwingUI.

Since v1.0.5

Description:

Sets/get whether double-buffering should be used in rendering GUI in Java. Disabling may help to fix some graphical issues in Linux if flickering happens on component repaint.

Parameters:

Name Type Description

enabled

boolean

true to enable double-buffering (default), false to disable.

Returns:

When setting a value, an instance of this ui object is returned, otherwise a current value is returned.

Type: SwingUI | boolean