equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1996, 2008, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1996, 2013, 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 |
24 */ |
24 */ |
25 |
25 |
26 package java.awt.event; |
26 package java.awt.event; |
27 |
27 |
28 import java.awt.Component; |
28 import java.awt.Component; |
29 import javax.tools.annotation.GenerateNativeHeader; |
|
30 import sun.awt.AppContext; |
29 import sun.awt.AppContext; |
31 import sun.awt.SunToolkit; |
30 import sun.awt.SunToolkit; |
32 |
31 |
33 /** |
32 /** |
34 * A low-level event which indicates that a Component has gained or lost the |
33 * A low-level event which indicates that a Component has gained or lost the |
62 * |
61 * |
63 * @author Carl Quinn |
62 * @author Carl Quinn |
64 * @author Amy Fowler |
63 * @author Amy Fowler |
65 * @since 1.1 |
64 * @since 1.1 |
66 */ |
65 */ |
67 /* No native methods here, but the constants are needed in the supporting JNI code */ |
|
68 @GenerateNativeHeader |
|
69 public class FocusEvent extends ComponentEvent { |
66 public class FocusEvent extends ComponentEvent { |
70 |
67 |
71 /** |
68 /** |
72 * The first number in the range of ids used for focus events. |
69 * The first number in the range of ids used for focus events. |
73 */ |
70 */ |