equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 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 |
123 |
123 |
124 public GraphicsConfiguration getDeviceConfiguration() { |
124 public GraphicsConfiguration getDeviceConfiguration() { |
125 return fConfig; |
125 return fConfig; |
126 } |
126 } |
127 |
127 |
|
128 @SuppressWarnings("deprecation") |
128 protected void setBounds(int x, int y, int w, int h) { |
129 protected void setBounds(int x, int y, int w, int h) { |
129 fBounds.reshape(x, y, w, y + h); |
130 fBounds.reshape(x, y, w, y + h); |
130 } |
131 } |
131 |
132 |
132 // START compositing support API |
133 // START compositing support API |