equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 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 |
605 } |
605 } |
606 } |
606 } |
607 |
607 |
608 // Create our own subclass and change accept to public so that we can call |
608 // Create our own subclass and change accept to public so that we can call |
609 // accept. |
609 // accept. |
|
610 @SuppressWarnings("serial") // JDK-implementation class |
610 class SwingContainerOrderFocusTraversalPolicy |
611 class SwingContainerOrderFocusTraversalPolicy |
611 extends java.awt.ContainerOrderFocusTraversalPolicy |
612 extends java.awt.ContainerOrderFocusTraversalPolicy |
612 { |
613 { |
613 public boolean accept(Component aComponent) { |
614 public boolean accept(Component aComponent) { |
614 return super.accept(aComponent); |
615 return super.accept(aComponent); |