src/java.desktop/share/classes/sun/applet/resources/MsgAppletViewer.java
changeset 50480 544cb09baada
parent 50479 70e706c85f1d
child 50481 93879c0753ec
equal deleted inserted replaced
50479:70e706c85f1d 50480:544cb09baada
     1 /*
       
     2  * Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved.
       
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       
     4  *
       
     5  * This code is free software; you can redistribute it and/or modify it
       
     6  * under the terms of the GNU General Public License version 2 only, as
       
     7  * published by the Free Software Foundation.  Oracle designates this
       
     8  * particular file as subject to the "Classpath" exception as provided
       
     9  * by Oracle in the LICENSE file that accompanied this code.
       
    10  *
       
    11  * This code is distributed in the hope that it will be useful, but WITHOUT
       
    12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
       
    13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
       
    14  * version 2 for more details (a copy is included in the LICENSE file that
       
    15  * accompanied this code).
       
    16  *
       
    17  * You should have received a copy of the GNU General Public License version
       
    18  * 2 along with this work; if not, write to the Free Software Foundation,
       
    19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
       
    20  *
       
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
       
    22  * or visit www.oracle.com if you need additional information or have any
       
    23  * questions.
       
    24  */
       
    25 package sun.applet.resources;
       
    26 
       
    27 import java.util.ListResourceBundle;
       
    28 
       
    29 public class MsgAppletViewer extends ListResourceBundle {
       
    30 
       
    31     public Object[][] getContents() {
       
    32         Object[][] temp = new Object[][] {
       
    33             {"textframe.button.dismiss", "Dismiss"},
       
    34             {"appletviewer.tool.title", "Applet Viewer: {0}"},
       
    35             {"appletviewer.menu.applet", "Applet"},
       
    36             {"appletviewer.menuitem.restart", "Restart"},
       
    37             {"appletviewer.menuitem.reload", "Reload"},
       
    38             {"appletviewer.menuitem.stop", "Stop"},
       
    39             {"appletviewer.menuitem.save", "Save..."},
       
    40             {"appletviewer.menuitem.start", "Start"},
       
    41             {"appletviewer.menuitem.clone", "Clone..."},
       
    42             {"appletviewer.menuitem.tag", "Tag..."},
       
    43             {"appletviewer.menuitem.info", "Info..."},
       
    44             {"appletviewer.menuitem.edit", "Edit"},
       
    45             {"appletviewer.menuitem.encoding", "Character Encoding"},
       
    46             {"appletviewer.menuitem.print", "Print..."},
       
    47             {"appletviewer.menuitem.props", "Properties..."},
       
    48             {"appletviewer.menuitem.close", "Close"},
       
    49             {"appletviewer.menuitem.quit", "Quit"},
       
    50             {"appletviewer.label.hello", "Hello..."},
       
    51             {"appletviewer.status.start", "starting applet..."},
       
    52             {"appletviewer.appletsave.filedialogtitle","Serialize Applet into File"},
       
    53             {"appletviewer.appletsave.err1", "serializing an {0} to {1}"},
       
    54             {"appletviewer.appletsave.err2", "in appletSave: {0}"},
       
    55             {"appletviewer.applettag", "Tag shown"},
       
    56             {"appletviewer.applettag.textframe", "Applet HTML Tag"},
       
    57             {"appletviewer.appletinfo.applet", "-- no applet info --"},
       
    58             {"appletviewer.appletinfo.param", "-- no parameter info --"},
       
    59             {"appletviewer.appletinfo.textframe", "Applet Info"},
       
    60             {"appletviewer.appletprint.fail", "Printing failed."},
       
    61             {"appletviewer.appletprint.finish", "Finished printing."},
       
    62             {"appletviewer.appletprint.cancel", "Printing cancelled."},
       
    63             {"appletviewer.appletencoding", "Character Encoding: {0}"},
       
    64             {"appletviewer.parse.warning.requiresname", "Warning: <param name=... value=...> tag requires name attribute."},
       
    65             {"appletviewer.parse.warning.paramoutside", "Warning: <param> tag outside <applet> ... </applet>."},
       
    66             {"appletviewer.parse.warning.applet.requirescode", "Warning: <applet> tag requires code attribute."},
       
    67             {"appletviewer.parse.warning.applet.requiresheight", "Warning: <applet> tag requires height attribute."},
       
    68             {"appletviewer.parse.warning.applet.requireswidth", "Warning: <applet> tag requires width attribute."},
       
    69             {"appletviewer.parse.warning.object.requirescode", "Warning: <object> tag requires code attribute."},
       
    70             {"appletviewer.parse.warning.object.requiresheight", "Warning: <object> tag requires height attribute."},
       
    71             {"appletviewer.parse.warning.object.requireswidth", "Warning: <object> tag requires width attribute."},
       
    72             {"appletviewer.parse.warning.embed.requirescode", "Warning: <embed> tag requires code attribute."},
       
    73             {"appletviewer.parse.warning.embed.requiresheight", "Warning: <embed> tag requires height attribute."},
       
    74             {"appletviewer.parse.warning.embed.requireswidth", "Warning: <embed> tag requires width attribute."},
       
    75             {"appletviewer.parse.warning.appnotLongersupported", "Warning: <app> tag no longer supported, use <applet> instead:"},
       
    76             {"appletviewer.deprecated", "Warning: Applet API and AppletViewer are deprecated."},
       
    77             {"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."},
       
    78             {"appletviewer.main.err.unsupportedopt", "Unsupported option: {0}"},
       
    79             {"appletviewer.main.err.unrecognizedarg", "Unrecognized argument: {0}"},
       
    80             {"appletviewer.main.err.dupoption", "Duplicate use of option: {0}"},
       
    81             {"appletviewer.main.err.inputfile", "No input files specified."},
       
    82             {"appletviewer.main.err.badurl", "Bad URL: {0} ( {1} )"},
       
    83             {"appletviewer.main.err.io", "I/O exception while reading: {0}"},
       
    84             {"appletviewer.main.err.readablefile", "Make sure that {0} is a file and is readable."},
       
    85             {"appletviewer.main.err.correcturl", "Is {0} the correct URL?"},
       
    86             {"appletviewer.main.prop.store", "User-specific properties for AppletViewer"},
       
    87             {"appletviewer.main.err.prop.cantread", "Can''t read user properties file: {0}"},
       
    88             {"appletviewer.main.err.prop.cantsave", "Can''t save user properties file: {0}"},
       
    89             {"appletviewer.main.warn.nosecmgr", "Warning: disabling security."},
       
    90             {"appletviewer.main.debug.cantfinddebug", "Can''t find the debugger!"},
       
    91             {"appletviewer.main.debug.cantfindmain", "Can''t find main method in the debugger!"},
       
    92             {"appletviewer.main.debug.exceptionindebug", "Exception in the debugger!"},
       
    93             {"appletviewer.main.debug.cantaccess", "Can''t access the debugger!"},
       
    94             {"appletviewer.main.nosecmgr", "Warning: SecurityManager not installed!"},
       
    95             {"appletviewer.main.warning", "Warning: No applets were started. Make sure the input contains an <applet> tag."},
       
    96             {"appletviewer.main.warn.prop.overwrite", "Warning: Temporarily overwriting system property at user''s request: key: {0} old value: {1} new value: {2}"},
       
    97             {"appletviewer.main.warn.cantreadprops", "Warning: Can''t read AppletViewer properties file: {0} Using defaults."},
       
    98             {"appletioexception.loadclass.throw.interrupted", "class loading interrupted: {0}"},
       
    99             {"appletioexception.loadclass.throw.notloaded", "class not loaded: {0}"},
       
   100             {"appletclassloader.loadcode.verbose", "Opening stream to: {0} to get {1}"},
       
   101             {"appletclassloader.filenotfound", "File not found when looking for: {0}"},
       
   102             {"appletclassloader.fileformat", "File format exception when loading: {0}"},
       
   103             {"appletclassloader.fileioexception", "I/O exception when loading: {0}"},
       
   104             {"appletclassloader.fileexception", "{0} exception when loading: {1}"},
       
   105             {"appletclassloader.filedeath", "{0} killed when loading: {1}"},
       
   106             {"appletclassloader.fileerror", "{0} error when loading: {1}"},
       
   107             {"appletclassloader.findclass.verbose.openstream", "Opening stream to: {0} to get {1}"},
       
   108             {"appletclassloader.getresource.verbose.forname", "AppletClassLoader.getResource for name: {0}"},
       
   109             {"appletclassloader.getresource.verbose.found", "Found resource: {0} as a system resource"},
       
   110             {"appletclassloader.getresourceasstream.verbose", "Found resource: {0} as a system resource"},
       
   111             {"appletpanel.runloader.err", "Either object or code parameter!"},
       
   112             {"appletpanel.runloader.exception", "exception while deserializing {0}"},
       
   113             {"appletpanel.destroyed", "Applet destroyed."},
       
   114             {"appletpanel.loaded", "Applet loaded."},
       
   115             {"appletpanel.started", "Applet started."},
       
   116             {"appletpanel.inited", "Applet initialized."},
       
   117             {"appletpanel.stopped", "Applet stopped."},
       
   118             {"appletpanel.disposed", "Applet disposed."},
       
   119             {"appletpanel.nocode", "APPLET tag missing CODE parameter."},
       
   120             {"appletpanel.notfound", "load: class {0} not found."},
       
   121             {"appletpanel.nocreate", "load: {0} can''t be instantiated."},
       
   122             {"appletpanel.noconstruct", "load: {0} is not public or has no public constructor."},
       
   123             {"appletpanel.death", "killed"},
       
   124             {"appletpanel.exception", "exception: {0}."},
       
   125             {"appletpanel.exception2", "exception: {0}: {1}."},
       
   126             {"appletpanel.error", "error: {0}."},
       
   127             {"appletpanel.error2", "error: {0}: {1}."},
       
   128             {"appletpanel.notloaded", "Init: applet not loaded."},
       
   129             {"appletpanel.notinited", "Start: applet not initialized."},
       
   130             {"appletpanel.notstarted", "Stop: applet not started."},
       
   131             {"appletpanel.notstopped", "Destroy: applet not stopped."},
       
   132             {"appletpanel.notdestroyed", "Dispose: applet not destroyed."},
       
   133             {"appletpanel.notdisposed", "Load: applet not disposed."},
       
   134             {"appletpanel.bail", "Interrupted: bailing out."},
       
   135             {"appletpanel.filenotfound", "File not found when looking for: {0}"},
       
   136             {"appletpanel.fileformat", "File format exception when loading: {0}"},
       
   137             {"appletpanel.fileioexception", "I/O exception when loading: {0}"},
       
   138             {"appletpanel.fileexception", "{0} exception when loading: {1}"},
       
   139             {"appletpanel.filedeath", "{0} killed when loading: {1}"},
       
   140             {"appletpanel.fileerror", "{0} error when loading: {1}"},
       
   141             {"appletpanel.badattribute.exception", "HTML parsing: incorrect value for width/height attribute"},
       
   142             {"appletillegalargumentexception.objectinputstream", "AppletObjectInputStream requires non-null loader"},
       
   143             {"appletprops.title", "AppletViewer Properties"},
       
   144             {"appletprops.label.http.server", "Http proxy server:"},
       
   145             {"appletprops.label.http.proxy", "Http proxy port:"},
       
   146             {"appletprops.label.network", "Network access:"},
       
   147             {"appletprops.choice.network.item.none", "None"},
       
   148             {"appletprops.choice.network.item.applethost", "Applet Host"},
       
   149             {"appletprops.choice.network.item.unrestricted", "Unrestricted"},
       
   150             {"appletprops.label.class", "Class access:"},
       
   151             {"appletprops.choice.class.item.restricted", "Restricted"},
       
   152             {"appletprops.choice.class.item.unrestricted", "Unrestricted"},
       
   153             {"appletprops.label.unsignedapplet", "Allow unsigned applets:"},
       
   154             {"appletprops.choice.unsignedapplet.no", "No"},
       
   155             {"appletprops.choice.unsignedapplet.yes", "Yes"},
       
   156             {"appletprops.button.apply", "Apply"},
       
   157             {"appletprops.button.cancel", "Cancel"},
       
   158             {"appletprops.button.reset", "Reset"},
       
   159             {"appletprops.apply.exception", "Failed to save properties: {0}"},
       
   160             /* 4066432 */
       
   161             {"appletprops.title.invalidproxy", "Invalid Entry"},
       
   162             {"appletprops.label.invalidproxy", "Proxy Port must be a positive integer value."},
       
   163             {"appletprops.button.ok", "OK"},
       
   164             /* end 4066432 */
       
   165             {"appletprops.prop.store", "User-specific properties for AppletViewer"},
       
   166             {"appletsecurityexception.checkcreateclassloader", "Security Exception: classloader"},
       
   167             {"appletsecurityexception.checkaccess.thread", "Security Exception: thread"},
       
   168             {"appletsecurityexception.checkaccess.threadgroup", "Security Exception: threadgroup: {0}"},
       
   169             {"appletsecurityexception.checkexit", "Security Exception: exit: {0}"},
       
   170             {"appletsecurityexception.checkexec", "Security Exception: exec: {0}"},
       
   171             {"appletsecurityexception.checklink", "Security Exception: link: {0}"},
       
   172             {"appletsecurityexception.checkpropsaccess", "Security Exception: properties"},
       
   173             {"appletsecurityexception.checkpropsaccess.key", "Security Exception: properties access {0}"},
       
   174             {"appletsecurityexception.checkread.exception1", "Security Exception: {0}, {1}"},
       
   175             {"appletsecurityexception.checkread.exception2", "Security Exception: file.read: {0}"},
       
   176             {"appletsecurityexception.checkread", "Security Exception: file.read: {0} == {1}"},
       
   177             {"appletsecurityexception.checkwrite.exception", "Security Exception: {0}, {1}"},
       
   178             {"appletsecurityexception.checkwrite", "Security Exception: file.write: {0} == {1}"},
       
   179             {"appletsecurityexception.checkread.fd", "Security Exception: fd.read"},
       
   180             {"appletsecurityexception.checkwrite.fd", "Security Exception: fd.write"},
       
   181             {"appletsecurityexception.checklisten", "Security Exception: socket.listen: {0}"},
       
   182             {"appletsecurityexception.checkaccept", "Security Exception: socket.accept: {0}:{1}"},
       
   183             {"appletsecurityexception.checkconnect.networknone", "Security Exception: socket.connect: {0}->{1}"},
       
   184             {"appletsecurityexception.checkconnect.networkhost1", "Security Exception: Couldn''t connect to {0} with origin from {1}."},
       
   185             {"appletsecurityexception.checkconnect.networkhost2", "Security Exception: Couldn''t resolve IP for host {0} or for {1}. "},
       
   186             {"appletsecurityexception.checkconnect.networkhost3", "Security Exception: Could not resolve IP for host {0}. See the trustProxy property."},
       
   187             {"appletsecurityexception.checkconnect", "Security Exception: connect: {0}->{1}"},
       
   188             {"appletsecurityexception.checkpackageaccess", "Security Exception: cannot access package: {0}"},
       
   189             {"appletsecurityexception.checkpackagedefinition", "Security Exception: cannot define package: {0}"},
       
   190             {"appletsecurityexception.cannotsetfactory", "Security Exception: cannot set factory"},
       
   191             {"appletsecurityexception.checkgetprintjob", "Security Exception: getPrintJob"},
       
   192             {"appletsecurityexception.checksecurityaccess", "Security Exception: security operation: {0}"},
       
   193             {"appletsecurityexception.getsecuritycontext.unknown", "unknown class loader type. unable to check for getContext"},
       
   194             {"appletsecurityexception.checkread.unknown", "unknown class loader type. unable to check for checking read {0}"},
       
   195             {"appletsecurityexception.checkconnect.unknown", "unknown class loader type. unable to check for checking connect"},
       
   196         };
       
   197 
       
   198         return temp;
       
   199     }
       
   200 }