jdk/test/java/awt/TrayIcon/AddPopupAfterShowTest/AddPopupAfterShowTest.html
author pchelko
Fri, 20 Dec 2013 14:42:37 +0400
changeset 23247 dd6c58eeb05c
permissions -rw-r--r--
8007220: [macosx] Setting popupmenu on TrayIcon do not work if done *after* adding TrayIcon Reviewed-by: anthony, serb

<!--
 Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.

 This code is free software; you can redistribute it and/or modify it
 under the terms of the GNU General Public License version 2 only, as
 published by the Free Software Foundation.

 This code is distributed in the hope that it will be useful, but WITHOUT
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 version 2 for more details (a copy is included in the LICENSE file that
 accompanied this code).

 You should have received a copy of the GNU General Public License version
 2 along with this work; if not, write to the Free Software Foundation,
 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.

 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 or visit www.oracle.com if you need additional information or have any
 questions.
-->

<html>
<!--
  @test
  @bug 8007220
  @summary The popup menu is not added to the tray icon after it was added to tray
  @author Petr Pchelko
  @library ../../regtesthelpers
  @build Sysout
  @run applet/manual=yesno AddPopupAfterShowTest.html
  -->
<head>
    <title> AddPopupAfterShowTest </title>
</head>
<body>

<h1>AddPopupAfterShowTest<br>Bug ID: 8007220</h1>

<p> See the dialog box (usually in upper left corner) for instructions</p>

<APPLET CODE="AddPopupAfterShowTest.class" WIDTH=200 HEIGHT=200></APPLET>
</body>
</html>