org.jfree.ui.about.resources.AboutResources Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jcommon Show documentation
Show all versions of jcommon Show documentation
JCommon is a free general purpose Java class library that is used in several projects at www.jfree.org, including JFreeChart and JFreeReport.
/* ========================================================================
* JCommon : a free general purpose class library for the Java(tm) platform
* ========================================================================
*
* (C) Copyright 2000-2005, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jcommon/index.html
*
* 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
* USA.
*
* [Java is a trademark or registered trademark of Sun Microsystems, Inc.
* in the United States and other countries.]
*
* -------------------
* AboutResources.java
* -------------------
* (C) Copyright 2002-2004, by Object Refinery Limited.
*
* Original Author: David Gilbert (for Object Refinery Limited);
* Contributor(s): -;
*
* $Id: AboutResources.java,v 1.6 2007/11/02 17:50:36 taqua 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 {
/**
* Default constructor.
*/
public AboutResources() {
}
/**
* Returns the array of strings in the resource bundle.
*
* @return the resources.
*/
public Object[][] getContents() {
return CONTENTS;
}
/** The resources to be localised. */
private 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) },
};
}