List of utility methods to do Component
void | setDoubleBuffered(boolean doubleBuffer, Component component) Modify the state of the double buffering on the component. RepaintManager currentManager = RepaintManager.currentManager(component); currentManager.setDoubleBufferingEnabled(doubleBuffer); |
void | setDoubleBufferedRecursively(final Component component, final boolean doubleBuffered) Sets double buffered state of component and all of its children. setDoubleBufferedRecursively(component, doubleBuffered, false); |
void | setNotBuffered(Component c) Set Not Buffered. if (c instanceof JComponent) ((JComponent) c).setDoubleBuffered(false); if (c instanceof Container) { Component[] cc = ((Container) c).getComponents(); for (int i = 0; i < cc.length; i++) setNotBuffered(cc[i]); |