diff options
Diffstat (limited to 'src/share/classes/sun/awt/NullComponentPeer.java')
-rw-r--r-- | src/share/classes/sun/awt/NullComponentPeer.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/share/classes/sun/awt/NullComponentPeer.java b/src/share/classes/sun/awt/NullComponentPeer.java index e5939e4e2..8818c4728 100644 --- a/src/share/classes/sun/awt/NullComponentPeer.java +++ b/src/share/classes/sun/awt/NullComponentPeer.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2007 Sun Microsystems, Inc. All Rights Reserved. + * Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -255,7 +255,9 @@ public class NullComponentPeer implements LightweightPeer, throw new IllegalStateException( "Page-flipping is not allowed on a lightweight component"); } - public void flip(BufferCapabilities.FlipContents flipAction) { + public void flip(int x1, int y1, int x2, int y2, + BufferCapabilities.FlipContents flipAction) + { throw new IllegalStateException( "Page-flipping is not allowed on a lightweight component"); } |