16 * 17 * You should have received a copy of the GNU General Public License version 18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 package javax.swing; 26 27 import java.awt.Component; 28 import java.awt.Container; 29 import java.awt.FocusTraversalPolicy; 30 import java.util.Comparator; 31 32 33 /** 34 * This class has been obsoleted by the 1.4 focus APIs. While client code may 35 * still use this class, developers are strongly encouraged to use 36 * <code>java.awt.KeyboardFocusManager</code> and 37 * <code>java.awt.DefaultKeyboardFocusManager</code> instead. 38 * <p> 39 * Please see 40 * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html"> 41 * How to Use the Focus Subsystem</a>, 42 * a section in <em>The Java Tutorial</em>, and the 43 * <a href="../../java/awt/doc-files/FocusSpec.html">Focus Specification</a> 44 * for more information. 45 * 46 * @author Arnaud Weber 47 * @author David Mendenhall 48 * @since 1.2 49 */ 50 @SuppressWarnings("serial") // Obsolete class 51 public class DefaultFocusManager extends FocusManager { 52 53 final FocusTraversalPolicy gluePolicy = 54 new LegacyGlueFocusTraversalPolicy(this); 55 private final FocusTraversalPolicy layoutPolicy = 56 new LegacyLayoutFocusTraversalPolicy(this); 57 private final LayoutComparator comparator = | 16 * 17 * You should have received a copy of the GNU General Public License version 18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 package javax.swing; 26 27 import java.awt.Component; 28 import java.awt.Container; 29 import java.awt.FocusTraversalPolicy; 30 import java.util.Comparator; 31 32 33 /** 34 * This class has been obsoleted by the 1.4 focus APIs. While client code may 35 * still use this class, developers are strongly encouraged to use 36 * {@code java.awt.KeyboardFocusManager} and 37 * {@code java.awt.DefaultKeyboardFocusManager} instead. 38 * <p> 39 * Please see 40 * <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html"> 41 * How to Use the Focus Subsystem</a>, 42 * a section in <em>The Java Tutorial</em>, and the 43 * <a href="../../java/awt/doc-files/FocusSpec.html">Focus Specification</a> 44 * for more information. 45 * 46 * @author Arnaud Weber 47 * @author David Mendenhall 48 * @since 1.2 49 */ 50 @SuppressWarnings("serial") // Obsolete class 51 public class DefaultFocusManager extends FocusManager { 52 53 final FocusTraversalPolicy gluePolicy = 54 new LegacyGlueFocusTraversalPolicy(this); 55 private final FocusTraversalPolicy layoutPolicy = 56 new LegacyLayoutFocusTraversalPolicy(this); 57 private final LayoutComparator comparator = |