mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00

Remove the checkTopLevelWindow, checkSystemClipboardAccess, checkAwtEventQueueAccess, and checkMemberAccess methods. Reviewed-by: alanb, mchung, kcr
200 lines
15 KiB
Java
200 lines
15 KiB
Java
/*
|
|
* Copyright (c) 1996, 2018, 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. Oracle designates this
|
|
* particular file as subject to the "Classpath" exception as provided
|
|
* by Oracle in the LICENSE file that accompanied this code.
|
|
*
|
|
* 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.
|
|
*/
|
|
package sun.applet.resources;
|
|
|
|
import java.util.ListResourceBundle;
|
|
|
|
public class MsgAppletViewer extends ListResourceBundle {
|
|
|
|
public Object[][] getContents() {
|
|
Object[][] temp = new Object[][] {
|
|
{"textframe.button.dismiss", "Dismiss"},
|
|
{"appletviewer.tool.title", "Applet Viewer: {0}"},
|
|
{"appletviewer.menu.applet", "Applet"},
|
|
{"appletviewer.menuitem.restart", "Restart"},
|
|
{"appletviewer.menuitem.reload", "Reload"},
|
|
{"appletviewer.menuitem.stop", "Stop"},
|
|
{"appletviewer.menuitem.save", "Save..."},
|
|
{"appletviewer.menuitem.start", "Start"},
|
|
{"appletviewer.menuitem.clone", "Clone..."},
|
|
{"appletviewer.menuitem.tag", "Tag..."},
|
|
{"appletviewer.menuitem.info", "Info..."},
|
|
{"appletviewer.menuitem.edit", "Edit"},
|
|
{"appletviewer.menuitem.encoding", "Character Encoding"},
|
|
{"appletviewer.menuitem.print", "Print..."},
|
|
{"appletviewer.menuitem.props", "Properties..."},
|
|
{"appletviewer.menuitem.close", "Close"},
|
|
{"appletviewer.menuitem.quit", "Quit"},
|
|
{"appletviewer.label.hello", "Hello..."},
|
|
{"appletviewer.status.start", "starting applet..."},
|
|
{"appletviewer.appletsave.filedialogtitle","Serialize Applet into File"},
|
|
{"appletviewer.appletsave.err1", "serializing an {0} to {1}"},
|
|
{"appletviewer.appletsave.err2", "in appletSave: {0}"},
|
|
{"appletviewer.applettag", "Tag shown"},
|
|
{"appletviewer.applettag.textframe", "Applet HTML Tag"},
|
|
{"appletviewer.appletinfo.applet", "-- no applet info --"},
|
|
{"appletviewer.appletinfo.param", "-- no parameter info --"},
|
|
{"appletviewer.appletinfo.textframe", "Applet Info"},
|
|
{"appletviewer.appletprint.fail", "Printing failed."},
|
|
{"appletviewer.appletprint.finish", "Finished printing."},
|
|
{"appletviewer.appletprint.cancel", "Printing cancelled."},
|
|
{"appletviewer.appletencoding", "Character Encoding: {0}"},
|
|
{"appletviewer.parse.warning.requiresname", "Warning: <param name=... value=...> tag requires name attribute."},
|
|
{"appletviewer.parse.warning.paramoutside", "Warning: <param> tag outside <applet> ... </applet>."},
|
|
{"appletviewer.parse.warning.applet.requirescode", "Warning: <applet> tag requires code attribute."},
|
|
{"appletviewer.parse.warning.applet.requiresheight", "Warning: <applet> tag requires height attribute."},
|
|
{"appletviewer.parse.warning.applet.requireswidth", "Warning: <applet> tag requires width attribute."},
|
|
{"appletviewer.parse.warning.object.requirescode", "Warning: <object> tag requires code attribute."},
|
|
{"appletviewer.parse.warning.object.requiresheight", "Warning: <object> tag requires height attribute."},
|
|
{"appletviewer.parse.warning.object.requireswidth", "Warning: <object> tag requires width attribute."},
|
|
{"appletviewer.parse.warning.embed.requirescode", "Warning: <embed> tag requires code attribute."},
|
|
{"appletviewer.parse.warning.embed.requiresheight", "Warning: <embed> tag requires height attribute."},
|
|
{"appletviewer.parse.warning.embed.requireswidth", "Warning: <embed> tag requires width attribute."},
|
|
{"appletviewer.parse.warning.appnotLongersupported", "Warning: <app> tag no longer supported, use <applet> instead:"},
|
|
{"appletviewer.deprecated", "Warning: Applet API and AppletViewer are deprecated."},
|
|
{"appletviewer.usage", "Usage: appletviewer <options> url(s)\n\nwhere <options> include:\n -encoding <encoding> Specify character encoding used by HTML files\n -J<runtime flag> Pass argument to the java interpreter\n\nThe -J option is non-standard and subject to change without notice."},
|
|
{"appletviewer.main.err.unsupportedopt", "Unsupported option: {0}"},
|
|
{"appletviewer.main.err.unrecognizedarg", "Unrecognized argument: {0}"},
|
|
{"appletviewer.main.err.dupoption", "Duplicate use of option: {0}"},
|
|
{"appletviewer.main.err.inputfile", "No input files specified."},
|
|
{"appletviewer.main.err.badurl", "Bad URL: {0} ( {1} )"},
|
|
{"appletviewer.main.err.io", "I/O exception while reading: {0}"},
|
|
{"appletviewer.main.err.readablefile", "Make sure that {0} is a file and is readable."},
|
|
{"appletviewer.main.err.correcturl", "Is {0} the correct URL?"},
|
|
{"appletviewer.main.prop.store", "User-specific properties for AppletViewer"},
|
|
{"appletviewer.main.err.prop.cantread", "Can''t read user properties file: {0}"},
|
|
{"appletviewer.main.err.prop.cantsave", "Can''t save user properties file: {0}"},
|
|
{"appletviewer.main.warn.nosecmgr", "Warning: disabling security."},
|
|
{"appletviewer.main.debug.cantfinddebug", "Can''t find the debugger!"},
|
|
{"appletviewer.main.debug.cantfindmain", "Can''t find main method in the debugger!"},
|
|
{"appletviewer.main.debug.exceptionindebug", "Exception in the debugger!"},
|
|
{"appletviewer.main.debug.cantaccess", "Can''t access the debugger!"},
|
|
{"appletviewer.main.nosecmgr", "Warning: SecurityManager not installed!"},
|
|
{"appletviewer.main.warning", "Warning: No applets were started. Make sure the input contains an <applet> tag."},
|
|
{"appletviewer.main.warn.prop.overwrite", "Warning: Temporarily overwriting system property at user''s request: key: {0} old value: {1} new value: {2}"},
|
|
{"appletviewer.main.warn.cantreadprops", "Warning: Can''t read AppletViewer properties file: {0} Using defaults."},
|
|
{"appletioexception.loadclass.throw.interrupted", "class loading interrupted: {0}"},
|
|
{"appletioexception.loadclass.throw.notloaded", "class not loaded: {0}"},
|
|
{"appletclassloader.loadcode.verbose", "Opening stream to: {0} to get {1}"},
|
|
{"appletclassloader.filenotfound", "File not found when looking for: {0}"},
|
|
{"appletclassloader.fileformat", "File format exception when loading: {0}"},
|
|
{"appletclassloader.fileioexception", "I/O exception when loading: {0}"},
|
|
{"appletclassloader.fileexception", "{0} exception when loading: {1}"},
|
|
{"appletclassloader.filedeath", "{0} killed when loading: {1}"},
|
|
{"appletclassloader.fileerror", "{0} error when loading: {1}"},
|
|
{"appletclassloader.findclass.verbose.openstream", "Opening stream to: {0} to get {1}"},
|
|
{"appletclassloader.getresource.verbose.forname", "AppletClassLoader.getResource for name: {0}"},
|
|
{"appletclassloader.getresource.verbose.found", "Found resource: {0} as a system resource"},
|
|
{"appletclassloader.getresourceasstream.verbose", "Found resource: {0} as a system resource"},
|
|
{"appletpanel.runloader.err", "Either object or code parameter!"},
|
|
{"appletpanel.runloader.exception", "exception while deserializing {0}"},
|
|
{"appletpanel.destroyed", "Applet destroyed."},
|
|
{"appletpanel.loaded", "Applet loaded."},
|
|
{"appletpanel.started", "Applet started."},
|
|
{"appletpanel.inited", "Applet initialized."},
|
|
{"appletpanel.stopped", "Applet stopped."},
|
|
{"appletpanel.disposed", "Applet disposed."},
|
|
{"appletpanel.nocode", "APPLET tag missing CODE parameter."},
|
|
{"appletpanel.notfound", "load: class {0} not found."},
|
|
{"appletpanel.nocreate", "load: {0} can''t be instantiated."},
|
|
{"appletpanel.noconstruct", "load: {0} is not public or has no public constructor."},
|
|
{"appletpanel.death", "killed"},
|
|
{"appletpanel.exception", "exception: {0}."},
|
|
{"appletpanel.exception2", "exception: {0}: {1}."},
|
|
{"appletpanel.error", "error: {0}."},
|
|
{"appletpanel.error2", "error: {0}: {1}."},
|
|
{"appletpanel.notloaded", "Init: applet not loaded."},
|
|
{"appletpanel.notinited", "Start: applet not initialized."},
|
|
{"appletpanel.notstarted", "Stop: applet not started."},
|
|
{"appletpanel.notstopped", "Destroy: applet not stopped."},
|
|
{"appletpanel.notdestroyed", "Dispose: applet not destroyed."},
|
|
{"appletpanel.notdisposed", "Load: applet not disposed."},
|
|
{"appletpanel.bail", "Interrupted: bailing out."},
|
|
{"appletpanel.filenotfound", "File not found when looking for: {0}"},
|
|
{"appletpanel.fileformat", "File format exception when loading: {0}"},
|
|
{"appletpanel.fileioexception", "I/O exception when loading: {0}"},
|
|
{"appletpanel.fileexception", "{0} exception when loading: {1}"},
|
|
{"appletpanel.filedeath", "{0} killed when loading: {1}"},
|
|
{"appletpanel.fileerror", "{0} error when loading: {1}"},
|
|
{"appletpanel.badattribute.exception", "HTML parsing: incorrect value for width/height attribute"},
|
|
{"appletillegalargumentexception.objectinputstream", "AppletObjectInputStream requires non-null loader"},
|
|
{"appletprops.title", "AppletViewer Properties"},
|
|
{"appletprops.label.http.server", "Http proxy server:"},
|
|
{"appletprops.label.http.proxy", "Http proxy port:"},
|
|
{"appletprops.label.network", "Network access:"},
|
|
{"appletprops.choice.network.item.none", "None"},
|
|
{"appletprops.choice.network.item.applethost", "Applet Host"},
|
|
{"appletprops.choice.network.item.unrestricted", "Unrestricted"},
|
|
{"appletprops.label.class", "Class access:"},
|
|
{"appletprops.choice.class.item.restricted", "Restricted"},
|
|
{"appletprops.choice.class.item.unrestricted", "Unrestricted"},
|
|
{"appletprops.label.unsignedapplet", "Allow unsigned applets:"},
|
|
{"appletprops.choice.unsignedapplet.no", "No"},
|
|
{"appletprops.choice.unsignedapplet.yes", "Yes"},
|
|
{"appletprops.button.apply", "Apply"},
|
|
{"appletprops.button.cancel", "Cancel"},
|
|
{"appletprops.button.reset", "Reset"},
|
|
{"appletprops.apply.exception", "Failed to save properties: {0}"},
|
|
/* 4066432 */
|
|
{"appletprops.title.invalidproxy", "Invalid Entry"},
|
|
{"appletprops.label.invalidproxy", "Proxy Port must be a positive integer value."},
|
|
{"appletprops.button.ok", "OK"},
|
|
/* end 4066432 */
|
|
{"appletprops.prop.store", "User-specific properties for AppletViewer"},
|
|
{"appletsecurityexception.checkcreateclassloader", "Security Exception: classloader"},
|
|
{"appletsecurityexception.checkaccess.thread", "Security Exception: thread"},
|
|
{"appletsecurityexception.checkaccess.threadgroup", "Security Exception: threadgroup: {0}"},
|
|
{"appletsecurityexception.checkexit", "Security Exception: exit: {0}"},
|
|
{"appletsecurityexception.checkexec", "Security Exception: exec: {0}"},
|
|
{"appletsecurityexception.checklink", "Security Exception: link: {0}"},
|
|
{"appletsecurityexception.checkpropsaccess", "Security Exception: properties"},
|
|
{"appletsecurityexception.checkpropsaccess.key", "Security Exception: properties access {0}"},
|
|
{"appletsecurityexception.checkread.exception1", "Security Exception: {0}, {1}"},
|
|
{"appletsecurityexception.checkread.exception2", "Security Exception: file.read: {0}"},
|
|
{"appletsecurityexception.checkread", "Security Exception: file.read: {0} == {1}"},
|
|
{"appletsecurityexception.checkwrite.exception", "Security Exception: {0}, {1}"},
|
|
{"appletsecurityexception.checkwrite", "Security Exception: file.write: {0} == {1}"},
|
|
{"appletsecurityexception.checkread.fd", "Security Exception: fd.read"},
|
|
{"appletsecurityexception.checkwrite.fd", "Security Exception: fd.write"},
|
|
{"appletsecurityexception.checklisten", "Security Exception: socket.listen: {0}"},
|
|
{"appletsecurityexception.checkaccept", "Security Exception: socket.accept: {0}:{1}"},
|
|
{"appletsecurityexception.checkconnect.networknone", "Security Exception: socket.connect: {0}->{1}"},
|
|
{"appletsecurityexception.checkconnect.networkhost1", "Security Exception: Couldn''t connect to {0} with origin from {1}."},
|
|
{"appletsecurityexception.checkconnect.networkhost2", "Security Exception: Couldn''t resolve IP for host {0} or for {1}. "},
|
|
{"appletsecurityexception.checkconnect.networkhost3", "Security Exception: Could not resolve IP for host {0}. See the trustProxy property."},
|
|
{"appletsecurityexception.checkconnect", "Security Exception: connect: {0}->{1}"},
|
|
{"appletsecurityexception.checkpackageaccess", "Security Exception: cannot access package: {0}"},
|
|
{"appletsecurityexception.checkpackagedefinition", "Security Exception: cannot define package: {0}"},
|
|
{"appletsecurityexception.cannotsetfactory", "Security Exception: cannot set factory"},
|
|
{"appletsecurityexception.checkgetprintjob", "Security Exception: getPrintJob"},
|
|
{"appletsecurityexception.checksecurityaccess", "Security Exception: security operation: {0}"},
|
|
{"appletsecurityexception.getsecuritycontext.unknown", "unknown class loader type. unable to check for getContext"},
|
|
{"appletsecurityexception.checkread.unknown", "unknown class loader type. unable to check for checking read {0}"},
|
|
{"appletsecurityexception.checkconnect.unknown", "unknown class loader type. unable to check for checking connect"},
|
|
};
|
|
|
|
return temp;
|
|
}
|
|
}
|