📄 aboutresources.java
字号:
/* ===================================================
* JCommon : a free general purpose Java class library
* ===================================================
*
* Project Info: http://www.jfree.org/jcommon/index.html
* Project Lead: David Gilbert (david.gilbert@object-refinery.com);
*
* (C) Copyright 2000-2003, by Object Refinery Limited and Contributors.
*
* This library is free software; you can redistribute it and/or modify it under the terms
* of the GNU Lesser General Public License as published by the Free Software Foundation;
* either version 2.1 of the License, or (at your option) any later version.
*
* This library 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 Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License along with this
* library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307, USA.
*
* -------------------
* AboutResources.java
* -------------------
* (C) Copyright 2002, 2003, by Object Refinery Limited.
*
* Original Author: David Gilbert (for Object Refinery Limited);
* Contributor(s): -;
*
* $Id: AboutResources.java,v 1.3 2003/06/12 16:54:47 mungady Exp $
*
* Changes
* -------
* 15-Mar-2002 : Version 1 (DG);
* 14-Oct-2002 : Fixed errors reported by Checkstyle (DG);
*
*/
package org.jfree.ui.about.resources;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import java.util.ListResourceBundle;
import javax.swing.KeyStroke;
/**
* A resource bundle that stores all the user interface items that might need localisation.
*
* @author David Gilbert
*/
public class AboutResources extends ListResourceBundle {
/**
* Returns the array of strings in the resource bundle.
*
* @return the resources.
*/
public Object[][] getContents() {
return CONTENTS;
}
/** The resources to be localised. */
static final Object[][] CONTENTS = {
{"about-frame.tab.about", "About"},
{"about-frame.tab.system", "System"},
{"about-frame.tab.contributors", "Developers"},
{"about-frame.tab.licence", "Licence"},
{"about-frame.tab.libraries", "Libraries"},
{"contributors-table.column.name", "Name:"},
{"contributors-table.column.contact", "Contact:"},
{"libraries-table.column.name", "Name:"},
{"libraries-table.column.version", "Version:"},
{"libraries-table.column.licence", "Licence:"},
{"libraries-table.column.info", "Other Information:"},
{"system-frame.title", "System Properties"},
{"system-frame.button.close", "Close"},
{"system-frame.button.close.mnemonic", new Character('C')},
{"system-frame.menu.file", "File"},
{"system-frame.menu.file.mnemonic", new Character('F')},
{"system-frame.menu.file.close", "Close"},
{"system-frame.menu.file.close.mnemonic", new Character('C')},
{"system-frame.menu.edit", "Edit"},
{"system-frame.menu.edit.mnemonic", new Character('E')},
{"system-frame.menu.edit.copy", "Copy"},
{"system-frame.menu.edit.copy.mnemonic", new Character('C')},
{"system-properties-table.column.name", "Property Name:"},
{"system-properties-table.column.value", "Value:"},
{"system-properties-panel.popup-menu.copy", "Copy" },
{"system-properties-panel.popup-menu.copy.accelerator",
KeyStroke.getKeyStroke(KeyEvent.VK_C, ActionEvent.CTRL_MASK) },
};
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -