AquaFocus.java revision 4632
49f9b365248ee858ee91baa36eab27c5200f6dcaRichard Lowe * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
49f9b365248ee858ee91baa36eab27c5200f6dcaRichard Lowe * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
49f9b365248ee858ee91baa36eab27c5200f6dcaRichard Lowe * This code is free software; you can redistribute it and/or modify it
49f9b365248ee858ee91baa36eab27c5200f6dcaRichard Lowe * under the terms of the GNU General Public License version 2 only, as
49f9b365248ee858ee91baa36eab27c5200f6dcaRichard Lowe * published by the Free Software Foundation. Oracle designates this
49f9b365248ee858ee91baa36eab27c5200f6dcaRichard Lowe * particular file as subject to the "Classpath" exception as provided
49f9b365248ee858ee91baa36eab27c5200f6dcaRichard Lowe * by Oracle in the LICENSE file that accompanied this code.
49f9b365248ee858ee91baa36eab27c5200f6dcaRichard Lowe * This code is distributed in the hope that it will be useful, but WITHOUT
49f9b365248ee858ee91baa36eab27c5200f6dcaRichard Lowe * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
49f9b365248ee858ee91baa36eab27c5200f6dcaRichard Lowe * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
49f9b365248ee858ee91baa36eab27c5200f6dcaRichard Lowe * version 2 for more details (a copy is included in the LICENSE file that
49f9b365248ee858ee91baa36eab27c5200f6dcaRichard Lowe * accompanied this code).
49f9b365248ee858ee91baa36eab27c5200f6dcaRichard Lowe * You should have received a copy of the GNU General Public License version
49f9b365248ee858ee91baa36eab27c5200f6dcaRichard Lowe * 2 along with this work; if not, write to the Free Software Foundation,
49f9b365248ee858ee91baa36eab27c5200f6dcaRichard Lowe * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
49f9b365248ee858ee91baa36eab27c5200f6dcaRichard Lowe * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
49f9b365248ee858ee91baa36eab27c5200f6dcaRichard Lowe * or visit www.oracle.com if you need additional information or have any
49f9b365248ee858ee91baa36eab27c5200f6dcaRichard Lowe * questions.
49f9b365248ee858ee91baa36eab27c5200f6dcaRichard Lowe// Copyright (c) 2009 Apple Inc. All rights reserved.
public class AquaFocus {
interface Drawable {
final int slack;
new Painter() {
new Painter() {
public int getIconHeight() {
public int getIconWidth() {