author | jboes |
Fri, 08 Nov 2019 11:15:16 +0000 | |
changeset 59029 | 3786a0962570 |
parent 47216 | 71c04702a3d5 |
permissions | -rw-r--r-- |
23247
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
1 |
<!-- |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
2 |
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
3 |
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
4 |
|
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
5 |
This code is free software; you can redistribute it and/or modify it |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
6 |
under the terms of the GNU General Public License version 2 only, as |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
7 |
published by the Free Software Foundation. |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
8 |
|
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
9 |
This code is distributed in the hope that it will be useful, but WITHOUT |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
10 |
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
11 |
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
12 |
version 2 for more details (a copy is included in the LICENSE file that |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
13 |
accompanied this code). |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
14 |
|
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
15 |
You should have received a copy of the GNU General Public License version |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
16 |
2 along with this work; if not, write to the Free Software Foundation, |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
17 |
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
18 |
|
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
19 |
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
20 |
or visit www.oracle.com if you need additional information or have any |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
21 |
questions. |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
22 |
--> |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
23 |
|
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
24 |
<html> |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
25 |
<!-- |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
26 |
@test |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
27 |
@bug 8007220 |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
28 |
@summary The popup menu is not added to the tray icon after it was added to tray |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
29 |
@author Petr Pchelko |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
30 |
@library ../../regtesthelpers |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
31 |
@build Sysout |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
32 |
@run applet/manual=yesno AddPopupAfterShowTest.html |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
33 |
--> |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
34 |
<head> |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
35 |
<title> AddPopupAfterShowTest </title> |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
36 |
</head> |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
37 |
<body> |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
38 |
|
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
39 |
<h1>AddPopupAfterShowTest<br>Bug ID: 8007220</h1> |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
40 |
|
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
41 |
<p> See the dialog box (usually in upper left corner) for instructions</p> |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
42 |
|
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
43 |
<APPLET CODE="AddPopupAfterShowTest.class" WIDTH=200 HEIGHT=200></APPLET> |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
44 |
</body> |
dd6c58eeb05c
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon
pchelko
parents:
diff
changeset
|
45 |
</html> |