From 954a1a33392ef83e007b1045e2aaeac173361289 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 7 Jun 2008 11:40:29 +0200 Subject: [PATCH] add package javadoc --- src/net/pterodactylus/jsite/core/CoreImpl.java | 38 ---------------------- src/net/pterodactylus/jsite/core/FileOverride.java | 2 +- src/net/pterodactylus/jsite/core/Node.java | 2 +- src/net/pterodactylus/jsite/core/NodeManager.java | 22 +++---------- src/net/pterodactylus/jsite/core/Project.java | 8 ----- src/net/pterodactylus/jsite/gui/FileManager.java | 3 +- src/net/pterodactylus/jsite/gui/ProjectPanel.java | 32 ------------------ .../pterodactylus/jsite/i18n/gui/package-info.java | 26 +++++++++++++++ 8 files changed, 34 insertions(+), 99 deletions(-) create mode 100644 src/net/pterodactylus/jsite/i18n/gui/package-info.java diff --git a/src/net/pterodactylus/jsite/core/CoreImpl.java b/src/net/pterodactylus/jsite/core/CoreImpl.java index 3654c4f..cd65bf4 100644 --- a/src/net/pterodactylus/jsite/core/CoreImpl.java +++ b/src/net/pterodactylus/jsite/core/CoreImpl.java @@ -25,10 +25,7 @@ import java.util.ArrayList; import java.util.List; import java.util.concurrent.Executor; import java.util.concurrent.Executors; -import java.util.logging.Level; -import java.util.logging.Logger; -import net.pterodactylus.util.logging.Logging; /** * The core of jSite. @@ -37,9 +34,6 @@ import net.pterodactylus.util.logging.Logging; */ public class CoreImpl implements Core, NodeListener, RequestListener { - /** The logger. */ - private static final Logger logger = Logging.getLogger(CoreImpl.class.getName()); - /** The core listeners. */ private final List coreListeners = new ArrayList(); @@ -65,7 +59,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * {@inheritDoc} */ public void addCoreListener(CoreListener coreListener) { - logger.log(Level.FINEST, "adding core listener: " + coreListener); coreListeners.add(coreListener); } @@ -73,7 +66,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * {@inheritDoc} */ public void removeCoreListener(CoreListener coreListener) { - logger.log(Level.FINEST, "removing core listener: " + coreListener); coreListeners.remove(coreListener); } @@ -84,7 +76,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * The directory the projects were loaded from */ private void fireLoadingProjectsDone(String directory) { - logger.log(Level.FINEST, "firing loadingProjectsDone event with [directory=" + directory + "]"); for (CoreListener coreListener : coreListeners) { coreListener.loadingProjectsDone(directory); } @@ -100,7 +91,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * The exception that occured when loading projects */ private void fireLoadingProjectsFailed(String directory, Throwable throwable) { - logger.log(Level.FINEST, "firing loadingProjectsFailed event with [directory=" + directory + ",throwable=" + throwable + "]"); for (CoreListener coreListener : coreListeners) { coreListener.loadingProjectsFailed(directory, throwable); } @@ -113,7 +103,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * The directory the projects were saved to */ private void fireSavingProjectsDone(String directory) { - logger.log(Level.FINEST, "firing savingProjectsDone event with [directory=" + directory + "]"); for (CoreListener coreListener : coreListeners) { coreListener.savingProjectsDone(directory); } @@ -128,7 +117,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * The exception that occured when saving the projects */ private void fireSavingProjectsFailed(String directory, Throwable throwable) { - logger.log(Level.FINEST, "firing savingProjectsFailed event with [directory=" + directory + ",throwable=" + throwable + "]"); for (CoreListener coreListener : coreListeners) { coreListener.savingProjectsFailed(directory, throwable); } @@ -141,7 +129,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * The project that was added */ private void fireProjectAdded(Project project) { - logger.log(Level.FINEST, "firing projectAdded event with [project=" + project + "]"); for (CoreListener coreListener : coreListeners) { coreListener.projectAdded(project); } @@ -156,7 +143,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * The clone of the project */ private void fireProjectCloned(Project clonedProject, Project projectClone) { - logger.log(Level.FINEST, "firing projectCloned event with [clonedProject=" + clonedProject + ",projectClone=" + projectClone + "]"); for (CoreListener coreListener : coreListeners) { coreListener.projectCloned(clonedProject, projectClone); } @@ -169,7 +155,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * The project that was removed */ private void fireProjectRemoved(Project project) { - logger.log(Level.FINEST, "firing projectRemoved event with [project=" + project + "]"); for (CoreListener coreListener : coreListeners) { coreListener.projectRemoved(project); } @@ -182,7 +167,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * The directory the nodes were loaded from */ private void fireLoadingNodesDone(String directory) { - logger.log(Level.FINEST, "firing loadingNodesDone event with [directory=" + directory + "]"); for (CoreListener coreListener : coreListeners) { coreListener.loadingNodesDone(directory); } @@ -197,7 +181,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * The exception that occured while loading the nodes */ private void fireLoadingNodesFailed(String directory, Throwable throwable) { - logger.log(Level.FINEST, "firing loadingNodesFailed event with [directory=" + directory + ",throwable=" + throwable + "]"); for (CoreListener coreListener : coreListeners) { coreListener.loadingNodesFailed(directory, throwable); } @@ -210,7 +193,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * The directory the nodes were saved to */ private void fireSavingNodesDone(String directory) { - logger.log(Level.FINEST, "firing savingNodesDone event with [directory=" + directory + "]"); for (CoreListener coreListener : coreListeners) { coreListener.savingNodesDone(directory); } @@ -225,7 +207,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * The exception that occured while saving the nodes */ private void fireSavingNodesFailed(String directory, Throwable throwable) { - logger.log(Level.FINEST, "firing savingNodesFailed event with [directory=" + directory + ",throwable=" + throwable + "]"); for (CoreListener coreListener : coreListeners) { coreListener.savingProjectsFailed(directory, throwable); } @@ -235,7 +216,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * Notifies all core listeners that the core has loaded and is ready to run. */ private void fireCoreLoaded() { - logger.log(Level.FINEST, "firing coreLoaded event"); for (CoreListener coreListener : coreListeners) { coreListener.coreLoaded(); } @@ -245,7 +225,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * Notifies all listeners that the core was stopped. */ private void fireCoreStopped() { - logger.log(Level.FINEST, "firing coreStopped event"); for (CoreListener coreListener : coreListeners) { coreListener.coreStopped(); } @@ -258,7 +237,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * The node that was added */ private void fireNodeAdded(Node node) { - logger.log(Level.FINEST, "firing nodeAdded event with [node=" + node + "]"); for (CoreListener coreListener : coreListeners) { coreListener.nodeAdded(node); } @@ -271,7 +249,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * The node that was removed */ private void fireNodeRemoved(Node node) { - logger.log(Level.FINEST, "firing nodeRemoved event with [node=" + node + "]"); for (CoreListener coreListener : coreListeners) { coreListener.nodeRemoved(node); } @@ -285,7 +262,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * The node that is being connected to */ private void fireNodeConnecting(Node node) { - logger.log(Level.FINEST, "firing nodeConnecting event with [node=" + node + "]"); for (CoreListener coreListener : coreListeners) { coreListener.nodeConnecting(node); } @@ -298,7 +274,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * The node that is now connected */ private void fireNodeConnected(Node node) { - logger.log(Level.FINEST, "firing nodeConnected event with [node=" + node + "]"); for (CoreListener coreListener : coreListeners) { coreListener.nodeConnected(node); } @@ -313,7 +288,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * The cause of the failure */ private void fireNodeConnectionFailed(Node node, Throwable cause) { - logger.log(Level.FINEST, "firing nodeConnectionFailed event with [node=" + node + ",cause=" + cause + "]"); for (CoreListener coreListener : coreListeners) { coreListener.nodeConnectionFailed(node, cause); } @@ -329,7 +303,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * if there was no exception */ private void fireNodeDisconnected(Node node, Throwable throwable) { - logger.log(Level.FINEST, "firing nodeDisconnected event with [node=" + node + ",throwable=" + throwable + "]"); for (CoreListener coreListener : coreListeners) { coreListener.nodeDisconnected(node, throwable); } @@ -423,7 +396,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * {@inheritDoc} */ public void start() { - logger.log(Level.INFO, "starting core…"); try { nodeManager.load(); fireLoadingNodesDone(nodeManager.getDirectory()); @@ -443,7 +415,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * {@inheritDoc} */ public void stop() { - logger.log(Level.INFO, "stopping core…"); try { projectManager.save(); fireSavingProjectsDone(projectManager.getDirectory()); @@ -463,7 +434,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * {@inheritDoc} */ public boolean addNode(Node node) throws UnknownHostException { - logger.log(Level.FINEST, "addNode(node=" + node + ")"); return nodeManager.addNode(node); } @@ -471,7 +441,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * {@inheritDoc} */ public void removeNode(Node node) { - logger.log(Level.FINEST, "removeNode(node=" + node + ")"); nodeManager.removeNode(node); } @@ -479,7 +448,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * {@inheritDoc} */ public void connectToNode(Node node) { - logger.log(Level.FINEST, "connectToNode(node=" + node + ")"); fireNodeConnecting(node); nodeManager.connect(node); } @@ -488,7 +456,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * {@inheritDoc} */ public void disconnectFromNode(Node node) { - logger.log(Level.FINEST, "disconnectFromNode(node=" + node + ")"); nodeManager.disconnect(node); } @@ -496,7 +463,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * {@inheritDoc} */ public void createProject() throws IOException, JSiteException { - logger.log(Level.FINEST, "createProject()"); Project newProject = projectManager.createProject(); fireProjectAdded(newProject); } @@ -505,7 +471,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * {@inheritDoc} */ public void cloneProject(Project project) { - logger.log(Level.FINEST, "cloneProject(project=" + project + ")"); Project projectClone = projectManager.cloneProject(project); fireProjectCloned(project, projectClone); } @@ -514,7 +479,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * {@inheritDoc} */ public void removeProject(Project project) { - logger.log(Level.FINEST, "removeProject(project=" + project + ")"); projectManager.removeProject(project); fireProjectRemoved(project); } @@ -528,7 +492,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { */ @SuppressWarnings("unused") private void loadConfig() { - logger.log(Level.FINEST, "loadConfig()"); /* TODO */ } @@ -537,7 +500,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener { */ @SuppressWarnings("unused") private void saveConfig() { - logger.log(Level.FINEST, "saveConfig()"); /* TODO */ } diff --git a/src/net/pterodactylus/jsite/core/FileOverride.java b/src/net/pterodactylus/jsite/core/FileOverride.java index 474d057..806d538 100644 --- a/src/net/pterodactylus/jsite/core/FileOverride.java +++ b/src/net/pterodactylus/jsite/core/FileOverride.java @@ -123,7 +123,7 @@ public class FileOverride { /** * @see java.lang.Object#toString() */ - @Override + @java.lang.Override public String toString() { return ((insert != null) ? String.valueOf(insert) : "") + "|" + ((contentType != null) ? contentType : "") + "|" + ((redirectTarget != null) ? redirectTarget : ""); } diff --git a/src/net/pterodactylus/jsite/core/Node.java b/src/net/pterodactylus/jsite/core/Node.java index b632eea..bb61ee9 100644 --- a/src/net/pterodactylus/jsite/core/Node.java +++ b/src/net/pterodactylus/jsite/core/Node.java @@ -148,7 +148,7 @@ public class Node extends AbstractBean { */ @Override public String toString() { - return getClass().getName() + "[name=" + name + ",hostname=" + hostname + ",port=" + port + "]"; + return name + " (" + hostname + ((port == 9481) ? ("") : (":" + port)) + ")"; } } diff --git a/src/net/pterodactylus/jsite/core/NodeManager.java b/src/net/pterodactylus/jsite/core/NodeManager.java index 922a85a..c251232 100644 --- a/src/net/pterodactylus/jsite/core/NodeManager.java +++ b/src/net/pterodactylus/jsite/core/NodeManager.java @@ -125,7 +125,6 @@ public class NodeManager implements Iterable, PropertyChangeListener, High * The node that was added. */ private void fireNodeAdded(Node node) { - logger.log(Level.FINEST, "firing nodeAdded event with [node=" + node + "]"); for (NodeListener nodeListener : nodeListeners) { nodeListener.nodeAdded(node); } @@ -138,7 +137,6 @@ public class NodeManager implements Iterable, PropertyChangeListener, High * The node that was removed */ private void fireNodeRemoved(Node node) { - logger.log(Level.FINEST, "firing nodeRemoved event with [node=" + node + "]"); for (NodeListener nodeListener : nodeListeners) { nodeListener.nodeRemoved(node); } @@ -151,7 +149,6 @@ public class NodeManager implements Iterable, PropertyChangeListener, High * The node that is now connected */ private void fireNodeConnected(Node node) { - logger.log(Level.FINEST, "firing nodeConnected event with [node=" + node + "]"); for (NodeListener nodeListener : nodeListeners) { nodeListener.nodeConnected(node); } @@ -166,7 +163,6 @@ public class NodeManager implements Iterable, PropertyChangeListener, High * The cause of the failure */ private void fireNodeConnectionFailed(Node node, Throwable cause) { - logger.log(Level.FINEST, "firing nodeConnectionFailed event with [node=" + node + ",cause=" + cause + "]"); for (NodeListener nodeListener : nodeListeners) { nodeListener.nodeConnectionFailed(node, cause); } @@ -182,7 +178,6 @@ public class NodeManager implements Iterable, PropertyChangeListener, High * if there was no exception */ private void fireNodeDisconnected(Node node, Throwable throwable) { - logger.log(Level.FINEST, "firing nodeDisconnected event with [node=" + node + ",throwable=" + throwable + "]"); for (NodeListener nodeListener : nodeListeners) { nodeListener.nodeDisconnected(node, throwable); } @@ -231,7 +226,6 @@ public class NodeManager implements Iterable, PropertyChangeListener, High * if an I/O error occurs loading the nodes */ public void load() throws IOException { - logger.log(Level.FINEST, "load()"); File directoryFile = new File(directory); File nodeFile = new File(directoryFile, "nodes.properties"); if (!nodeFile.exists() || !nodeFile.isFile() || !nodeFile.canRead()) { @@ -283,7 +277,7 @@ public class NodeManager implements Iterable, PropertyChangeListener, High newNode.setPort(nodePort); loadedNodes.add(newNode); } - logger.log(Level.FINE, "loaded " + loadedNodes.size() + " nodes from config"); + logger.fine("loaded " + loadedNodes.size() + " nodes from config"); synchronized (syncObject) { nodes.clear(); for (Node node : loadedNodes) { @@ -299,7 +293,6 @@ public class NodeManager implements Iterable, PropertyChangeListener, High * if an I/O error occurs saving the nodes */ public void save() throws IOException { - logger.log(Level.FINEST, "save()"); File directoryFile = new File(directory); if (!directoryFile.exists()) { if (!directoryFile.mkdirs()) { @@ -335,9 +328,8 @@ public class NodeManager implements Iterable, PropertyChangeListener, High * if the node was not added because it was already known */ public boolean addNode(Node node) { - logger.log(Level.FINEST, "addNode(node=" + node + ")"); if (nodes.contains(node)) { - logger.log(Level.WARNING, "was told to add already known node: " + node); + logger.warning("was told to add already known node: " + node); return false; } node.addPropertyChangeListener(this); @@ -359,7 +351,6 @@ public class NodeManager implements Iterable, PropertyChangeListener, High * The node to remove */ public void removeNode(Node node) { - logger.log(Level.FINEST, "removeNode(node=" + node + ")"); synchronized (syncObject) { if (!nodes.contains(node)) { return; @@ -381,11 +372,10 @@ public class NodeManager implements Iterable, PropertyChangeListener, High * The node to connect to */ public void connect(Node node) { - logger.log(Level.FINEST, "connect(node=" + node + ")"); HighLevelClient highLevelClient; highLevelClient = nodeClients.get(node); if (highLevelClient == null) { - logger.log(Level.WARNING, "was told to connect to unknown node: " + node); + logger.warning("was told to connect to unknown node: " + node); return; } try { @@ -404,7 +394,6 @@ public class NodeManager implements Iterable, PropertyChangeListener, High * The node to disconnect */ public void disconnect(Node node) { - logger.log(Level.FINEST, "disconnect(node=" + node + ")"); synchronized (syncObject) { if (!nodes.contains(node)) { return; @@ -470,7 +459,6 @@ public class NodeManager implements Iterable, PropertyChangeListener, High * if there is a problem with the node */ public String[] generateKeyPair() throws IOException, JSiteException { - logger.log(Level.FINEST, "generateKeyPair()"); if (nodes.isEmpty()) { throw new NoNodeException("no node configured"); } @@ -499,7 +487,7 @@ public class NodeManager implements Iterable, PropertyChangeListener, High * {@inheritDoc} */ public void clientConnected(HighLevelClient highLevelClient) { - logger.log(Level.FINEST, "clientConnected(highLevelClient=" + highLevelClient + ")"); + logger.log(Level.FINER, "clientConnected(c=" + highLevelClient + ")"); Node node = clientNodes.get(highLevelClient); if (node == null) { logger.log(Level.WARNING, "got event for unknown client"); @@ -512,7 +500,7 @@ public class NodeManager implements Iterable, PropertyChangeListener, High * {@inheritDoc} */ public void clientDisconnected(HighLevelClient highLevelClient, Throwable throwable) { - logger.log(Level.FINEST, "clientDisconnected(highLevelClient=" + highLevelClient + ",throwable=" + throwable + ")"); + logger.log(Level.FINER, "clientDisconnected(c=" + highLevelClient + ",t=" + throwable + ")"); synchronized (syncObject) { Node node = clientNodes.get(highLevelClient); if (node == null) { diff --git a/src/net/pterodactylus/jsite/core/Project.java b/src/net/pterodactylus/jsite/core/Project.java index 8bc45dd..d250af1 100644 --- a/src/net/pterodactylus/jsite/core/Project.java +++ b/src/net/pterodactylus/jsite/core/Project.java @@ -399,14 +399,6 @@ public class Project extends AbstractBean { fireIfPropertyChanged(PROPERTY_NODE, oldNode, node); } - /** - * @see java.lang.Object#toString() - */ - @Override - public String toString() { - return getClass().getName() + "[id=" + id + ",name=" + name + ",description=" + description + ",publicKey=" + publicKey + ",privateKey=" + privateKey + ",basePath=" + basePath + ",defaultFile=" + defaultFile + ",node=" + node + "]"; - } - // // PRIVATE METHODS // diff --git a/src/net/pterodactylus/jsite/gui/FileManager.java b/src/net/pterodactylus/jsite/gui/FileManager.java index 996d609..b919bb6 100644 --- a/src/net/pterodactylus/jsite/gui/FileManager.java +++ b/src/net/pterodactylus/jsite/gui/FileManager.java @@ -408,7 +408,6 @@ public class FileManager extends JDialog implements I18nable, TreeSelectionListe } } }; - overrideContentTypeDefaultAction.setEnabled(false); contentTypeOverrideAction = new AbstractAction() { /** @@ -846,7 +845,7 @@ public class FileManager extends JDialog implements I18nable, TreeSelectionListe boolean overrideInsertSelected = false; boolean insertOverrideEnabled = false; boolean insertOverrideSelected = false; - String defaultContentType = ""; + String defaultContentType = MimeTypes.DEFAULT_CONTENT_TYPE; boolean overrideContentTypeEnabled = false; boolean overrideContentTypeSelected = false; boolean contentTypeOverrideEnabled = false; diff --git a/src/net/pterodactylus/jsite/gui/ProjectPanel.java b/src/net/pterodactylus/jsite/gui/ProjectPanel.java index 2dd1031..187e057 100644 --- a/src/net/pterodactylus/jsite/gui/ProjectPanel.java +++ b/src/net/pterodactylus/jsite/gui/ProjectPanel.java @@ -20,7 +20,6 @@ package net.pterodactylus.jsite.gui; import java.awt.BorderLayout; -import java.awt.Component; import java.awt.FlowLayout; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; @@ -33,11 +32,9 @@ import javax.swing.AbstractAction; import javax.swing.Action; import javax.swing.BorderFactory; import javax.swing.DefaultComboBoxModel; -import javax.swing.DefaultListCellRenderer; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JFileChooser; -import javax.swing.JList; import javax.swing.JPanel; import javax.swing.JTextField; import javax.swing.event.DocumentEvent; @@ -243,7 +240,6 @@ public class ProjectPanel extends JPanel implements DocumentListener, I18nable { propertiesPanel.add(editFilesButton, new GridBagConstraints(3, 2, 1, 1, 0.0, 0.0, GridBagConstraints.LINE_START, GridBagConstraints.BOTH, new Insets(12, 12, 0, 0), 0, 0)); nodeComboBox = new JComboBox(new DefaultComboBoxModel()); - nodeComboBox.setRenderer(new NodeComboBoxCellRenderer()); ((DefaultComboBoxModel) nodeComboBox.getModel()).addElement(null); for (Node node : swingInterface.getNodes()) { ((DefaultComboBoxModel) nodeComboBox.getModel()).addElement(node); @@ -356,32 +352,4 @@ public class ProjectPanel extends JPanel implements DocumentListener, I18nable { textFieldsUpdated(documentEvent.getDocument()); } - /** - * Cell cenderer for the node combo box. - * - * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - */ - private static class NodeComboBoxCellRenderer extends DefaultListCellRenderer { - - /** - * Empty constructor. - */ - public NodeComboBoxCellRenderer() { - super(); - } - - /** - * @see javax.swing.DefaultListCellRenderer#getListCellRendererComponent(javax.swing.JList, - * java.lang.Object, int, boolean, boolean) - */ - @Override - public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) { - if (value == null) { - return super.getListCellRendererComponent(list, "\u00a0", index, isSelected, cellHasFocus); - } - return super.getListCellRendererComponent(list, ((Node) value).getName(), index, isSelected, cellHasFocus); - } - - } - } diff --git a/src/net/pterodactylus/jsite/i18n/gui/package-info.java b/src/net/pterodactylus/jsite/i18n/gui/package-info.java new file mode 100644 index 0000000..59f116b --- /dev/null +++ b/src/net/pterodactylus/jsite/i18n/gui/package-info.java @@ -0,0 +1,26 @@ +/* + * jSite2 - I18nMenu.java - + * Copyright © 2008 David Roden + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +/** + * Contains various i18n-related Swing helper classes. + * + * @author David ‘Bombe’ Roden <bombe@freenetproject.org> + */ + +package net.pterodactylus.jsite.i18n.gui; \ No newline at end of file -- 2.7.4