added a comment -
10/ene/11 7:31 AM When building a new RepaintManager implementation default collaborators are instantiated but doesn't work fine.
My solution was to copy original state into newer:
/**
* Installs this repaint manager if not already set.
*/
public static void installJideRepaintManagerIfNeeded() {
final RepaintManager current = RepaintManager.currentManager(null);
if (current != JideRepaintManager.instance) {
ObjectUtils.shallowCopy(current, JideRepaintManager.getInstance());
RepaintManager.setCurrentManager(JideRepaintManager.getInstance());
}
}
My solution was to copy original state into newer:
/**
* Installs this repaint manager if not already set.
*/
public static void installJideRepaintManagerIfNeeded() {
final RepaintManager current = RepaintManager.currentManager(null);
if (current != JideRepaintManager.instance) {
ObjectUtils.shallowCopy(current, JideRepaintManager.getInstance());
RepaintManager.setCurrentManager(JideRepaintManager.getInstance());
}
}