Java Utililty Methods Component

List of utility methods to do Component

  1. HOME
  2. Java
  3. C
  4. Component

Description

The list of methods to do Component are organized into topic(s).

Method

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]);

AltStyle によって変換されたページ (->オリジナル) /