📄 res.java
字号:
/**
* Copyright (c) 1996-2004 Borland Software Corporation. All Rights Reserved.
*
* This SOURCE CODE FILE, which has been provided by Borland Software as part
* of a Borland Software product for use ONLY by licensed users of the product,
* includes CONFIDENTIAL and PROPRIETARY information of Borland Software.
*
* USE OF THIS SOFTWARE IS GOVERNED BY THE TERMS AND CONDITIONS
* OF THE LICENSE STATEMENT AND LIMITED WARRANTY FURNISHED WITH
* THE PRODUCT.
*
* IN PARTICULAR, YOU WILL INDEMNIFY AND HOLD BORLAND SOFTWARE, ITS
* RELATED COMPANIES AND ITS SUPPLIERS, HARMLESS FROM AND AGAINST ANY
* CLAIMS OR LIABILITIES ARISING OUT OF THE USE, REPRODUCTION, OR
* DISTRIBUTION OF YOUR PROGRAMS, INCLUDING ANY CLAIMS OR LIABILITIES
* ARISING OUT OF OR RESULTING FROM THE USE, MODIFICATION, OR
* DISTRIBUTION OF PROGRAMS OR FILES CREATED FROM, BASED ON, AND/OR
* DERIVED FROM THIS SOURCE CODE FILE.
*/
//------------------------------------------------------------------------------
// Copyright (c) 1996-2004 Borland Software Corporation. All Rights Reserved.
//------------------------------------------------------------------------------
package com.borland.samples.ordertracker;
import java.util.*;
/**
*ResourceBundles are the standard JDK 1.1 mechanism to allow an application to
*respond to different user locale environments. Locale dependent resources,
*such as messages, are isolated into ResourceBundles, separate from the code
*that will be universal among locales. With a single set of class files, the
*language of menus and messages of an application can change depending on
*whether it is run in the United States or Japan.
*Because resource bundles are loaded dynamically at runtime, it is not
*possible at compile time to know which resource bundles need to be recompiled.
*Thus in order to see changes you make to this file updated in the application,
*you must explicitly recompile this file whenever you make a change to it.
*/
public class Res extends ListResourceBundle {
static final Object[][] contents = {
{"MM_dd_yyyy","MM/dd/yyyy"},
{"Order_Status","Order Status:"},
{"Order_Date","Order Date:"},
{"Ship_Date","Ship Date:"},
{"Tracking_Number","Tracking Number: "},
{"Show_Status","Show Status"},
{"Please_enter","Please enter a tracking number"},
{"Amount_Paid","Amount Paid:"},};
public Object[][] getContents() {
return contents;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -