mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8355002: Clean up some mentions of "applet" in tests
Reviewed-by: serb
This commit is contained in:
parent
22e8a97a1c
commit
bb08a70bd8
@ -25,7 +25,7 @@
|
||||
* @test
|
||||
* @key headful
|
||||
* @bug 7159566
|
||||
* @summary The choice positioned in the top of applet when clicking the choice.
|
||||
* @summary The choice positioned in the top of window when clicking the choice.
|
||||
* @author Petr Pchelko
|
||||
* @library ../../regtesthelpers
|
||||
* @build Util
|
||||
|
||||
@ -32,7 +32,7 @@ import java.util.concurrent.atomic.AtomicReference;
|
||||
* @test
|
||||
* @key headful
|
||||
* @bug 8043705
|
||||
* @summary Can't exit color chooser dialog when running as an applet
|
||||
* @summary Can't exit color chooser dialog when running in non-default AppContext
|
||||
* @modules java.desktop/sun.awt
|
||||
* @run main CloseDialogTest
|
||||
*/
|
||||
|
||||
@ -32,7 +32,6 @@
|
||||
@run main ChoiceFocus
|
||||
*/
|
||||
|
||||
import java.applet.*;
|
||||
import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
import test.java.awt.regtesthelpers.Util;
|
||||
|
||||
@ -127,4 +127,4 @@ public class FirstItemRemoveTest extends Frame
|
||||
|
||||
}
|
||||
|
||||
}// class AutomaticAppletTest
|
||||
}
|
||||
|
||||
@ -99,4 +99,4 @@ public class FocusEmptyListTest extends Frame {
|
||||
|
||||
}// start()
|
||||
|
||||
}// class AutomaticAppletTest
|
||||
}
|
||||
|
||||
@ -31,7 +31,7 @@ import javax.swing.SwingUtilities;
|
||||
* @test
|
||||
* @key headful
|
||||
* @bug 8012026 8196435
|
||||
* @summary Component.getMousePosition() does not work in an applet on MacOS
|
||||
* @summary Component.getMousePosition() does not work in some cases on MacOS
|
||||
* @run main GetMousePositionWithOverlay
|
||||
*/
|
||||
|
||||
|
||||
@ -33,7 +33,7 @@ import javax.swing.SwingUtilities;
|
||||
* @test
|
||||
* @key headful
|
||||
* @bug 8012026 8027154
|
||||
* @summary Component.getMousePosition() does not work in an applet on MacOS
|
||||
* @summary Component.getMousePosition() does not work in some cases on MacOS
|
||||
*
|
||||
* @requires (os.family == "windows")
|
||||
* @run main/othervm -Dsun.java2d.uiScale.enabled=true -Dsun.java2d.uiScale=1 GetMousePositionWithPopup
|
||||
@ -48,7 +48,7 @@ import javax.swing.SwingUtilities;
|
||||
* @test
|
||||
* @key headful
|
||||
* @bug 8012026 8027154
|
||||
* @summary Component.getMousePosition() does not work in an applet on MacOS
|
||||
* @summary Component.getMousePosition() does not work in some cases on MacOS
|
||||
*
|
||||
* @requires (os.family == "mac" | os.family == "linux")
|
||||
* @run main/othervm -Dsun.java2d.uiScale.enabled=true -Dsun.java2d.uiScale=1 GetMousePositionWithPopup
|
||||
|
||||
@ -34,7 +34,6 @@ import java.awt.*;
|
||||
import java.awt.print.*;
|
||||
import java.awt.event.*;
|
||||
import javax.swing.*;
|
||||
import java.applet.*;
|
||||
|
||||
public class PageSetupDlgBlockingTest extends Panel {
|
||||
public static Frame frame = new TestFrame("Test Frame");
|
||||
|
||||
@ -38,7 +38,7 @@ import java.awt.TextArea;
|
||||
public class TextScrollTest extends Frame {
|
||||
private static final String INSTRUCTIONS = """
|
||||
1. A TextArea whose content starts with the text ",
|
||||
'Scroll till the' will appear on the applet ",
|
||||
'Scroll till the' will appear on the window ",
|
||||
2. Use the Horizontal thumb button of the TextArea to view the entire",
|
||||
content of the TextArea",
|
||||
3. While scrolling, if the text 'Scroll till the' appears repeatedly, Click Fail ",
|
||||
|
||||
@ -101,7 +101,6 @@ public class DragUnicodeBetweenJVMTest {
|
||||
processResults.printProcessStandartOutput(System.out);
|
||||
}
|
||||
|
||||
//We cannot make an instance of the applet without the default constructor
|
||||
public DragUnicodeBetweenJVMTest () {
|
||||
super();
|
||||
}
|
||||
|
||||
@ -123,7 +123,6 @@ public class MissedHtmlAndRtfBug {
|
||||
processResults.printProcessStandartOutput(System.out);
|
||||
}
|
||||
|
||||
//We cannot make an instance of the applet without the default constructor
|
||||
public MissedHtmlAndRtfBug() {
|
||||
super();
|
||||
}
|
||||
|
||||
@ -42,7 +42,7 @@ public class DnDFileGroupDescriptor {
|
||||
When the test starts, a RED panel appears.
|
||||
1. Start MS Outlook program. Find and open the mail form with attachments.
|
||||
|
||||
2. Select attachments from the mail and drag into a red field of applet.
|
||||
2. Select attachments from the mail and drag into a red field of the window.
|
||||
When the mouse enters the field during the process of drag, the application
|
||||
should change the cursor form to OLE-copy and field color to yellow.
|
||||
|
||||
|
||||
@ -80,7 +80,6 @@ public class FileListBetweenJVMsTest {
|
||||
processResults.printProcessStandartOutput(System.out);
|
||||
}
|
||||
|
||||
//We cannot make an instance of the applet without the default constructor
|
||||
public FileListBetweenJVMsTest () {
|
||||
super();
|
||||
}
|
||||
|
||||
@ -89,7 +89,6 @@ public class URIListBetweenJVMsTest {
|
||||
processResults.printProcessStandartOutput(System.out);
|
||||
}
|
||||
|
||||
//We cannot make an instance of the applet without the default constructor
|
||||
public URIListBetweenJVMsTest () {
|
||||
super();
|
||||
}
|
||||
|
||||
@ -77,7 +77,6 @@ public class URIListToFileListBetweenJVMsTest {
|
||||
processResults.printProcessStandartOutput(System.out);
|
||||
}
|
||||
|
||||
//We cannot make an instance of the applet without the default constructor
|
||||
public URIListToFileListBetweenJVMsTest() {
|
||||
super();
|
||||
}
|
||||
|
||||
@ -150,4 +150,4 @@ public class MenuDragMouseEventAbsoluteCoordsTest implements MouseListener
|
||||
}
|
||||
System.out.println(message);
|
||||
}
|
||||
}// class AutomaticAppletTest
|
||||
}
|
||||
|
||||
@ -27,21 +27,17 @@
|
||||
@bug 6480024
|
||||
@library ../../../regtesthelpers
|
||||
@build Util Sysout AbstractTest
|
||||
@summary stack overflow on mouse wheel rotation within JApplet
|
||||
@summary stack overflow on mouse wheel rotation within a Window
|
||||
@run main InfiniteRecursion_2
|
||||
*/
|
||||
|
||||
/**
|
||||
* InfiniteRecursion_2.java
|
||||
*
|
||||
* summary: put a JButton into JPanel and then put JPanel into Applet.
|
||||
* Add MouseWheelListener to Applet.
|
||||
* summary: put a JButton into JPanel and then put JPanel into the Window.
|
||||
* Add MouseWheelListener to the Window
|
||||
* Add MouseListener to JPanel.
|
||||
* Rotating a wheel over the JButton would result in stack overflow.
|
||||
|
||||
* summary: put a JButton into JApplet.
|
||||
* Add MouseWheelListener to JApplet.
|
||||
* Rotating a wheel over the JButton would result in stack overflow.
|
||||
*/
|
||||
|
||||
import java.awt.*;
|
||||
@ -79,7 +75,7 @@ public class InfiniteRecursion_2 extends Frame {
|
||||
this.addMouseWheelListener(new MouseWheelListener() {
|
||||
public void mouseWheelMoved(MouseWheelEvent e)
|
||||
{
|
||||
System.out.println("Wheel moved on APPLET : "+e);
|
||||
System.out.println("Wheel moved on Window : "+e);
|
||||
actualEvents++;
|
||||
}
|
||||
});
|
||||
|
||||
@ -27,15 +27,15 @@
|
||||
@bug 6480024
|
||||
@library ../../../regtesthelpers
|
||||
@build Util Sysout AbstractTest
|
||||
@summary stack overflow on mouse wheel rotation within JApplet
|
||||
@summary stack overflow on mouse wheel rotation within a Window
|
||||
@run main InfiniteRecursion_3
|
||||
*/
|
||||
|
||||
/**
|
||||
* InfiniteRecursion_3.java
|
||||
*
|
||||
* summary: put a JButton into Applet.
|
||||
* Add MouseWheelListener to Applet.
|
||||
* summary: put a JButton into the Window.
|
||||
* Add MouseWheelListener to the Window.
|
||||
* Rotating a wheel over the JButton would result in stack overflow.
|
||||
*/
|
||||
|
||||
@ -72,7 +72,7 @@ public class InfiniteRecursion_3 extends Frame {
|
||||
this.addMouseWheelListener(new MouseWheelListener() {
|
||||
public void mouseWheelMoved(MouseWheelEvent e)
|
||||
{
|
||||
System.out.println("Wheel moved on APPLET : "+e);
|
||||
System.out.println("Wheel moved on Window : "+e);
|
||||
actualEvents++;
|
||||
}
|
||||
});
|
||||
|
||||
@ -116,16 +116,8 @@ public class LWButton extends LWComponent {
|
||||
repaint();
|
||||
}
|
||||
}
|
||||
try {
|
||||
unClicker uc = new unClicker();
|
||||
new Thread(uc).start();
|
||||
} catch (Exception e) {
|
||||
// In case we're in an applet and the security has not been
|
||||
// turned off (in which case we can't start a new thread)
|
||||
// we can catch that and set the flag back to how it should be.
|
||||
isInClick = false;
|
||||
repaint();
|
||||
}
|
||||
unClicker uc = new unClicker();
|
||||
new Thread(uc).start();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
@test
|
||||
@key headful
|
||||
@bug 6359129
|
||||
@summary REGRESSION: Popup menus dont respond to selections when extend outside Applet
|
||||
@summary REGRESSION: Popup menus dont respond to selections when extend outside EmbeddedFrame
|
||||
@author oleg.sukhodolsky area=awt.grab
|
||||
@modules java.desktop/java.awt.peer
|
||||
java.desktop/sun.awt
|
||||
@ -38,7 +38,7 @@
|
||||
/**
|
||||
* EmbeddedFrameTest1.java
|
||||
*
|
||||
* summary: REGRESSION: Popup menus dont respond to selections when extend outside Applet
|
||||
* summary: REGRESSION: Popup menus dont respond to selections when extend outside EmbeddedFrame
|
||||
*/
|
||||
|
||||
import java.awt.BorderLayout;
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
* @test
|
||||
* @key headful
|
||||
* @bug 8041990
|
||||
* @summary Language specific keys does not work in applets when opened outside the browser
|
||||
* @summary Language specific keys does not work in non-default AppContexts of top-level windows
|
||||
* @author Petr Pchelko
|
||||
* @modules java.desktop/sun.awt
|
||||
*/
|
||||
|
||||
@ -34,9 +34,6 @@ import java.awt.event.*;
|
||||
import java.awt.geom.*;
|
||||
import java.awt.print.*;
|
||||
|
||||
// This test is a "main" test as applets would need Runtime permission
|
||||
// "queuePrintJob".
|
||||
|
||||
public class DialogOrient implements Printable {
|
||||
|
||||
private static void init() throws Exception {
|
||||
|
||||
@ -42,9 +42,6 @@ import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
import java.awt.print.*;
|
||||
|
||||
// This test is a "main" test as applets would need Runtime permission
|
||||
// "queuePrintJob".
|
||||
|
||||
public class PrintDialog {
|
||||
|
||||
|
||||
|
||||
@ -43,9 +43,6 @@ import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
import java.awt.print.*;
|
||||
|
||||
// This test is a "main" test as applets would need Runtime permission
|
||||
// "queuePrintJob".
|
||||
|
||||
public class PrintDialogCancel {
|
||||
|
||||
|
||||
|
||||
@ -42,9 +42,6 @@ import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
import java.awt.print.*;
|
||||
|
||||
// This test is a "main" test as applets would need Runtime permission
|
||||
// "queuePrintJob".
|
||||
|
||||
public class ThinLines implements Printable {
|
||||
|
||||
private static final int INCH = 72;
|
||||
|
||||
@ -30,8 +30,6 @@
|
||||
@build AbstractTest
|
||||
@run main YourTest
|
||||
</pre>
|
||||
* Note that if you are about to create a test based on
|
||||
* Applet-template, then put those lines into html-file, not in java-file.
|
||||
* <p> And put an
|
||||
* import test.java.awt.regtesthelpers.AbstractTest;
|
||||
* into the java source.
|
||||
|
||||
@ -31,8 +31,6 @@ package test.java.awt.regtesthelpers;
|
||||
@build Util
|
||||
@run main YourTest
|
||||
</pre>
|
||||
* Note that if you are about to create a test based on
|
||||
* Applet-template, then put those lines into html-file, not in java-file.
|
||||
* <p> And put an
|
||||
* import test.java.awt.regtesthelpers.Util;
|
||||
* into the java source of test.
|
||||
|
||||
@ -31,7 +31,7 @@ import java.io.*;
|
||||
* behavior such as DnD data transfer, Clipboard data transfer, focus
|
||||
* transfer etc., you could use the next scenario:
|
||||
*
|
||||
* 1. Write an implementation for the parent JVM, using applet test.
|
||||
* 1. Write an implementation for the parent JVM
|
||||
* 2. Write an implementation for the child JVM or native application, using
|
||||
* main() function.
|
||||
* 3. Execute child process using ProcessCommunicator.executeChildProcess()
|
||||
|
||||
@ -35,7 +35,7 @@ import javax.sound.sampled.Mixer;
|
||||
* @test
|
||||
* @key sound
|
||||
* @bug 4946945
|
||||
* @summary Crash in javasound while running TicTacToe demo applet tiger b26
|
||||
* @summary Crash in javasound while running TicTacToe demo tiger b26
|
||||
*/
|
||||
public class ClipFlushCrash {
|
||||
static int frameCount = 441000; // lets say 10 seconds
|
||||
|
||||
@ -36,7 +36,7 @@ import javax.sound.sampled.SourceDataLine;
|
||||
* @test
|
||||
* @key sound
|
||||
* @bug 4834461
|
||||
* @summary Applet hang when you load it during sound card is in use
|
||||
* @summary App hang when you load it during sound card is in use
|
||||
* @run main/manual PlaySine
|
||||
*/
|
||||
public class PlaySine {
|
||||
|
||||
@ -36,7 +36,6 @@ import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
import java.awt.event.MouseAdapter;
|
||||
import java.awt.event.MouseEvent;
|
||||
import javax.swing.JApplet;
|
||||
import javax.swing.JButton;
|
||||
import javax.swing.JFrame;
|
||||
import javax.swing.JLabel;
|
||||
|
||||
@ -224,7 +224,7 @@ public class bug4697612 {
|
||||
text = new JTextArea();
|
||||
try {
|
||||
InputStream is =
|
||||
bug4697612.class.getResourceAsStream("bug4697612.txt");
|
||||
bug4697612.class.getResourceAsStream("bug4697612.java");
|
||||
text.read(new InputStreamReader(is), null);
|
||||
} catch (IOException e) {
|
||||
throw new Error(e);
|
||||
|
||||
@ -1,221 +0,0 @@
|
||||
README
|
||||
|
||||
Java(TM) 2 SDK, Standard Edition
|
||||
Version 1.4.2 Beta
|
||||
|
||||
For a more extensive HTML version of this file, see README.html.
|
||||
|
||||
Contents
|
||||
|
||||
* Introduction
|
||||
* Release Notes
|
||||
* Bug Reports and Feedback
|
||||
* Java 2 SDK Documentation
|
||||
* Redistribution
|
||||
* Web Pages
|
||||
|
||||
|
||||
Introduction
|
||||
|
||||
Thank you for downloading this release of the Java(TM) 2 SDK,
|
||||
Standard Edition. The Java 2 SDK is a development environment for
|
||||
building applications, applets, and components that can be
|
||||
deployed on the Java platform.
|
||||
|
||||
The Java 2 SDK software includes tools useful for developing and
|
||||
testing programs written in the Java programming language and
|
||||
running on the Java platform. These tools are designed to be used
|
||||
from the command line. Except for appletviewer, these tools do not
|
||||
provide a graphical user interface.
|
||||
|
||||
|
||||
Release Notes
|
||||
|
||||
See the Release Notes on the Java Software web site for additional
|
||||
information pertaining to this release.
|
||||
|
||||
http://java.sun.com/j2se/1.4.2/relnotes.html
|
||||
|
||||
The on-line release notes will be updated as needed, so you should
|
||||
check it occasionally for the latest information.
|
||||
|
||||
|
||||
Bug Reports and Feedback
|
||||
|
||||
The Bug Parade Web Page on the Java Developer Connection(SM) web
|
||||
site lets you search for and examine existing bug reports, submit
|
||||
your own bug reports, and tell us which bug fixes matter most to you.
|
||||
|
||||
http://java.sun.com/jdc/bugParade/
|
||||
|
||||
To directly submit a bug or request a feature, fill out this form:
|
||||
|
||||
http://java.sun.com/cgi-bin/bugreport.cgi
|
||||
|
||||
You can also send comments directly to Java Software engineering
|
||||
team email addresses.
|
||||
|
||||
http://java.sun.com/mail/
|
||||
|
||||
|
||||
Java 2 SDK Documentation
|
||||
|
||||
The on-line Java 2 SDK Documentation contains API specifications,
|
||||
feature descriptions, developer guides, tool reference pages, demos,
|
||||
and links to related information. It is located at
|
||||
|
||||
http://java.sun.com/j2se/1.4.2/docs/
|
||||
|
||||
The Java 2 SDK documentation is also available in a download bundle
|
||||
which you can install locally on your machine. See the
|
||||
Java 2 SDK download page:
|
||||
|
||||
http://java.sun.com/j2se/1.4.2/download.html
|
||||
|
||||
|
||||
Redistribution
|
||||
|
||||
The term "vendors" used here refers to licensees, developers,
|
||||
and independent software vendors (ISVs) who license and
|
||||
distribute the Java 2 Runtime Environment with their programs.
|
||||
Vendors must follow the terms of the Java 2 SDK, Standard
|
||||
Edition, Binary Code License agreement.
|
||||
Required vs. Optional Files
|
||||
|
||||
The files that make up the Java 2 SDK, Standard Edition, are
|
||||
divided into two categories: required and optional. Optional
|
||||
files may be excluded from redistributions of the Java 2 SDK
|
||||
at the vendor's discretion. The following section contains a
|
||||
list of the files and directories that may optionally be
|
||||
omitted from redistributions of the Java 2 SDK. All files not
|
||||
in these lists of optional files must be included in
|
||||
redistributions of the Java 2 SDK.
|
||||
|
||||
Optional Files and Directories
|
||||
|
||||
The following files may be optionally excluded from
|
||||
redistributions:
|
||||
|
||||
jre/lib/charsets.jar
|
||||
Character conversion classes
|
||||
jre/lib/ext/
|
||||
sunjce_provider.jar - the SunJCE provider for Java
|
||||
Cryptography APIs
|
||||
localedata.jar - contains many of the resources
|
||||
needed for non US English locales
|
||||
ldapsec.jar - contains security features supported
|
||||
by the LDAP service provider
|
||||
dnsns.jar - for the InetAddress wrapper of JNDI DNS
|
||||
provider
|
||||
bin/rmid and jre/bin/rmid
|
||||
Java RMI Activation System Daemon
|
||||
bin/rmiregistry and jre/bin/rmiregistry
|
||||
Java Remote Object Registry
|
||||
bin/tnameserv and jre/bin/tnameserv
|
||||
Java IDL Name Server
|
||||
bin/keytool and jre/bin/keytool
|
||||
Key and Certificate Management Tool
|
||||
bin/kinit and jre/bin/kinit
|
||||
Used to obtain and cache Kerberos ticket-granting tickets
|
||||
bin/klist and jre/bin/klist
|
||||
Kerberos display entries in credentials cache and keytab
|
||||
bin/ktab and jre/bin/ktab
|
||||
Kerberos key table manager
|
||||
bin/policytool and jre/bin/policytool
|
||||
Policy File Creation and Management Tool
|
||||
bin/orbd and jre/bin/orbd
|
||||
Object Request Broker Daemon
|
||||
bin/servertool and jre/bin/servertool
|
||||
Java IDL Server Tool
|
||||
src.zip
|
||||
Archive of source files
|
||||
|
||||
In addition, the Java Web Start product may be excluded from
|
||||
redistributions. The Java Web Start product is contained in a
|
||||
file named javaws-1_2-solaris-sparc-i.zip,
|
||||
javaws-1_2-solaris-i586-i.zip,
|
||||
javaws-1_2-linux-i586-i.zip, or
|
||||
javaws-1_2-windows-i586-i.exe, depending on the platform.
|
||||
|
||||
|
||||
Unlimited Strength Java Cryptography Extension
|
||||
|
||||
Due to import control restrictions for some countries, the
|
||||
Java Cryptography Extension (JCE) policy files shipped with
|
||||
the Java 2 SDK, Standard Edition and the Java 2 Runtime
|
||||
Environment allow strong but limited cryptography to be
|
||||
used. These files are located at
|
||||
|
||||
<java-home>/lib/security/local_policy.jar
|
||||
<java-home>/lib/security/US_export_policy.jar
|
||||
|
||||
where <java-home> is the jre directory of the Java 2
|
||||
SDK or the top-level directory of the Java 2 Runtime
|
||||
Environment.
|
||||
|
||||
An unlimited strength version of these files indicating
|
||||
no restrictions on cryptographic strengths is available
|
||||
on the Java 2 SDK web site for those living in eligible
|
||||
countries. Those living in eligible countries may download
|
||||
the unlimited strength version and replace the strong
|
||||
cryptography jar files with the unlimited strength files.
|
||||
|
||||
|
||||
Endorsed Standards Override Mechanism
|
||||
|
||||
An endorsed standard is a Java API defined through a standards
|
||||
process other than the Java Community Process(SM) (JCP(SM)).
|
||||
Because endorsed standards are defined outside the JCP, it is
|
||||
anticipated that such standards will be revised between
|
||||
releases of the Java 2 Platform. In order to take advantage of
|
||||
new revisions to endorsed standards, developers and software
|
||||
vendors may use the Endorsed Standards Override Mechanism to
|
||||
provide newer versions of an endorsed standard than those
|
||||
included in the Java 2 Platform as released by Sun Microsystems.
|
||||
|
||||
For more information on the Endorsed Standards Override
|
||||
Mechanism, including the list of platform packages that it may
|
||||
be used to override, see
|
||||
|
||||
http://java.sun.com/j2se/1.4.2/docs/guide/standards/
|
||||
|
||||
Classes in the packages listed on that web page may be replaced
|
||||
only by classes implementing a more recent version of the API
|
||||
as defined by the appropriate standards body.
|
||||
|
||||
In addition to the packages listed in the document at the above
|
||||
URL, which are part of the Java 2 Platform, Standard Edition
|
||||
(J2SE(TM)) specification, redistributors of Sun's J2SE
|
||||
Reference Implementation are allowed to override classes whose
|
||||
sole purpose is to implement the functionality provided by
|
||||
public APIs defined in these Endorsed Standards packages.
|
||||
Redistributors may also override classes in the org.w3c.dom.*
|
||||
packages, or other classes whose sole purpose is to implement
|
||||
these APIs.
|
||||
|
||||
|
||||
Sun Java Web Pages
|
||||
|
||||
For additional information, refer to these Sun Microsystems pages
|
||||
on the World Wide Web:
|
||||
|
||||
http://java.sun.com/
|
||||
The Java Software web site, with the latest information on
|
||||
Java technology, product information, news, and features.
|
||||
http://java.sun.com/docs
|
||||
Java Platform Documentation provides access to white papers,
|
||||
the Java Tutorial and other documents.
|
||||
http://java.sun.com/jdc
|
||||
The Java Developer Connection(SM) web site. (Free registration
|
||||
required.) Additional technical information, news, and
|
||||
features; user forums; support information, and much more.
|
||||
http://java.sun.com/products/
|
||||
Java Technology Products & API
|
||||
|
||||
|
||||
------------------------------------------------------------------------
|
||||
The Java 2 SDK, Standard Edition, is a product of Sun Microsystems(TM),
|
||||
Inc. This product includes code licensed from RSA Security.
|
||||
|
||||
Copyright 2003 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
California 95054, U.S.A. All rights reserved.
|
||||
@ -23,7 +23,7 @@
|
||||
|
||||
/* @test
|
||||
@bug 6990651
|
||||
@summary Regression: NPE when refreshing applet since 6u22-b01
|
||||
@summary Regression: NPE when refreshing embedded window since 6u22-b01
|
||||
@author Pavel Porvatov
|
||||
@modules java.desktop/sun.awt
|
||||
*/
|
||||
|
||||
@ -86,15 +86,6 @@ public abstract class AbstractSwingTest {
|
||||
*/
|
||||
public abstract void runTest();
|
||||
|
||||
/**
|
||||
* This method is used to determine if a test can be run from within
|
||||
* an applet. If your test will cause security exceptions when run as
|
||||
* an applet then you should return false from this method.
|
||||
*/
|
||||
public boolean canRunInApplet() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public int getPaintCount() {
|
||||
return paintCount;
|
||||
}
|
||||
|
||||
@ -66,14 +66,6 @@ public class JMTest_01 extends AbstractSwingTest {
|
||||
int DOWN = 40;
|
||||
int UP = 38;
|
||||
|
||||
/**
|
||||
* This test cannot run as an applet because it
|
||||
* posts events to the event queue
|
||||
*/
|
||||
public boolean canRunInApplet() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public JComponent getTestComponent() {
|
||||
JPanel panel = new JPanel();
|
||||
|
||||
|
||||
@ -67,14 +67,6 @@ public class JMTest_02 extends AbstractSwingTest {
|
||||
|
||||
int repeat = 15;
|
||||
|
||||
/**
|
||||
* This test cannot run as an applet because it
|
||||
* posts events to the event queue
|
||||
*/
|
||||
public boolean canRunInApplet() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public JComponent getTestComponent() {
|
||||
JPanel panel = new JPanel();
|
||||
|
||||
|
||||
@ -65,14 +65,6 @@ public class JMTest_03 extends AbstractSwingTest {
|
||||
int DOWN = 40;
|
||||
int UP = 38;
|
||||
|
||||
/**
|
||||
* This test cannot run as an applet because it
|
||||
* posts events to the event queue
|
||||
*/
|
||||
public boolean canRunInApplet() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public JComponent getTestComponent() {
|
||||
JPanel panel = new JPanel();
|
||||
|
||||
|
||||
@ -70,14 +70,6 @@ public class JMTest_04 extends AbstractSwingTest {
|
||||
String MENU_ITEM_STRING = "JMenuItem";
|
||||
String SUB_MENU_STRING = "SubMenu";
|
||||
|
||||
/**
|
||||
* This test cannot run as an applet because it
|
||||
* posts events to the event queue
|
||||
*/
|
||||
public boolean canRunInApplet() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public JComponent getTestComponent() {
|
||||
loadBundle();
|
||||
JPanel panel = new JPanel();
|
||||
|
||||
@ -65,14 +65,6 @@ public class JMTest_05 extends AbstractSwingTest {
|
||||
int DOWN = 40;
|
||||
int UP = 38;
|
||||
|
||||
/**
|
||||
* This test cannot run as an applet because it
|
||||
* posts events to the event queue
|
||||
*/
|
||||
public boolean canRunInApplet() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public JComponent getTestComponent() {
|
||||
JPanel panel = new JPanel();
|
||||
|
||||
|
||||
@ -69,14 +69,6 @@ public class MenuTest extends AbstractSwingTest {
|
||||
|
||||
int repeat = 50;
|
||||
|
||||
/**
|
||||
* This test cannot run as an applet because it
|
||||
* posts events to the event queue
|
||||
*/
|
||||
public boolean canRunInApplet() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public JComponent getTestComponent() {
|
||||
listener = new MyListener();
|
||||
|
||||
|
||||
@ -52,10 +52,6 @@ public class TypingTest extends AbstractSwingTest {
|
||||
return panel;
|
||||
}
|
||||
|
||||
public boolean canRunInApplet() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public String getTestName() {
|
||||
return "Typing";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user