/**
* The main class that ties together everything.
- *
+ *
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
public class Main implements ActionListener, ListSelectionListener, WizardListener, NodeManagerListener {
/**
* Enumeration for all possible pages.
- *
+ *
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
private static enum PageType {
/**
* Creates a new core with the given configuration from the given file.
- *
+ *
* @param configFilename
* The name of the configuration file
*/
/**
* Creates the menu bar.
- *
+ *
* @return The menu bar
*/
private JMenuBar createMenuBar() {
/**
* Shows the page with the given type.
- *
+ *
* @param pageType
* The page type to show
*/
/**
* Saves the configuration.
- *
+ *
* @return <code>true</code> if the configuration could be saved,
* <code>false</code> otherwise
*/
/**
* Finds a supported locale for the given locale.
- *
+ *
* @param forLocale
* The locale to find a supported locale for
* @return The supported locale that was found, or the default locale if no
/**
* Switches the language of the interface to the given locale.
- *
+ *
* @param locale
* The locale to switch to
*/
/**
* Main method that is called by the VM.
- *
+ *
* @param args
* The command-line arguments
*/