equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1995, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
974 } |
974 } |
975 |
975 |
976 public void revalidateSynchronously(Component comp) { |
976 public void revalidateSynchronously(Component comp) { |
977 comp.revalidateSynchronously(); |
977 comp.revalidateSynchronously(); |
978 } |
978 } |
|
979 |
|
980 @Override |
|
981 public void createBufferStrategy(Component comp, int numBuffers, |
|
982 BufferCapabilities caps) throws AWTException { |
|
983 comp.createBufferStrategy(numBuffers, caps); |
|
984 } |
|
985 |
|
986 @Override |
|
987 public BufferStrategy getBufferStrategy(Component comp) { |
|
988 return comp.getBufferStrategy(); |
|
989 } |
979 }); |
990 }); |
980 } |
991 } |
981 |
992 |
982 /** |
993 /** |
983 * Constructs a new component. Class <code>Component</code> can be |
994 * Constructs a new component. Class <code>Component</code> can be |