7125657: [macosx] SpreadSheet demo has the broken display when clicking outside of the table
Reviewed-by: alexp, anthony, art
This commit is contained in:
parent
da37ef4781
commit
4acd4d97f3
@ -39,12 +39,8 @@ final class LWRepaintArea extends RepaintArea {
|
||||
@Override
|
||||
protected void updateComponent(final Component comp, final Graphics g) {
|
||||
if (comp != null) {
|
||||
final LWComponentPeer peer = (LWComponentPeer) comp.getPeer();
|
||||
if (peer != null) {
|
||||
peer.paintPeer(g);
|
||||
}
|
||||
super.updateComponent(comp, g);
|
||||
flushBuffers(peer);
|
||||
flushBuffers((LWComponentPeer) comp.getPeer());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user