< prev index next >

src/share/classes/sun/applet/resources/MsgAppletViewer.java

Print this page
rev 1506 : 6959252: convert the anonymous arrays to named arrays in Java List Resource files
Reviewed-by: katakai, psun

*** 27,37 **** import java.util.ListResourceBundle; public class MsgAppletViewer extends ListResourceBundle { public Object[][] getContents() { ! return new Object[][] { {"textframe.button.dismiss", "Dismiss"}, {"appletviewer.tool.title", "Applet Viewer: {0}"}, {"appletviewer.menu.applet", "Applet"}, {"appletviewer.menuitem.restart", "Restart"}, {"appletviewer.menuitem.reload", "Reload"}, --- 27,37 ---- 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"},
*** 195,201 **** --- 195,203 ---- {"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; } }
< prev index next >