jdk/test/java/awt/TrayIcon/DisposeInActionEventTest/DisposeInActionEventTest.html
author pchelko
Thu, 06 Mar 2014 12:18:31 +0400
changeset 23623 72e320903ab9
child 26750 d0d6c64a2e2b
permissions -rw-r--r--
7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1 Reviewed-by: anthony, serb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
23623
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
     1
<html>
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
     2
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
     3
<!--
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
     4
 Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
     5
 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
     6
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
     7
 This code is free software; you can redistribute it and/or modify it
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
     8
 under the terms of the GNU General Public License version 2 only, as
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
     9
 published by the Free Software Foundation.
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    10
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    11
 This code is distributed in the hope that it will be useful, but WITHOUT
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    12
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    13
 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    14
 version 2 for more details (a copy is included in the LICENSE file that
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    15
 accompanied this code).
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    16
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    17
 You should have received a copy of the GNU General Public License version
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    18
 2 along with this work; if not, write to the Free Software Foundation,
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    19
 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    20
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    21
 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    22
 or visit www.oracle.com if you need additional information or have any
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    23
 questions.
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    24
-->
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    25
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    26
<!--  
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    27
  @test
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    28
  @bug 6299866
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    29
  @summary Tests that no NPE is thrown when the tray icon is disposed from the
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    30
  handler of action event caused by clicking on this icon.
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    31
  @library ../../regtesthelpers
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    32
  @build Sysout
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    33
  @author artem.ananiev: area=awt.tray
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    34
  @run applet/manual=yesno DisposeInActionEventTest.html
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    35
  -->
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    36
<head>
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    37
<title> DisposeInActionEventTest </title>
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    38
</head>
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    39
<body>
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    40
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    41
<h1>DisposeInActionEventTest<br>Bug ID: 6299866</h1>
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    42
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    43
<p> See the dialog box (usually in upper left corner) for instructions</p>
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    44
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    45
<APPLET CODE="DisposeInActionEventTest.class" WIDTH=200 HEIGHT=200></APPLET>
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    46
</body>
72e320903ab9 7158615: [macosx] Some TrayIcon tests presume action trigger on BUTTON1
pchelko
parents:
diff changeset
    47
</html>