org.openstreetmap.josm.gui
Class MainApplication

java.lang.Object
  extended by org.openstreetmap.josm.Main
      extended by org.openstreetmap.josm.gui.MainApplication

public class MainApplication
extends org.openstreetmap.josm.Main

Main window class application.

Author:
imi

Field Summary
 
Fields inherited from class org.openstreetmap.josm.Main
applet, bounds, contentPane, contentPanePrivate, isOpenjdk, log_level, main, map, menu, panel, parent, pasteBuffer, pasteSource, platform, pref, proj, toolbar, undoRedo, validator, windowState, worker
 
Constructor Summary
MainApplication()
          Allow subclassing (see JOSM.java)
MainApplication(javax.swing.JFrame mainFrame)
          Construct an main frame, ready sized and operating.
 
Method Summary
static void main(java.lang.String[] argArray)
          Main application Startup
static void removeObsoletePreferences()
          Removes obsolete preference settings.
static void showHelp()
          Displays help on the console
 
Methods inherited from class org.openstreetmap.josm.Main
addLayer, addListener, addProjectionChangeListener, checkJava6, debug, determinePlatformHook, exitJosm, getActiveLayer, getCurrentDataSet, getEditLayer, getProjection, hasEditLayer, info, isDisplayingMapView, postConstructorProcessCmdLine, preConstructorInit, registerActionShortcut, registerActionShortcut, removeLayer, removeProjectionChangeListener, saveGuiGeometry, saveUnsavedModifications, setMapFrame, setProjection, unregisterActionShortcut, unregisterActionShortcut, unregisterActionShortcut, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainApplication

public MainApplication()
Allow subclassing (see JOSM.java)


MainApplication

public MainApplication(javax.swing.JFrame mainFrame)
Construct an main frame, ready sized and operating. Does not display the frame.

Method Detail

showHelp

public static void showHelp()
Displays help on the console


main

public static void main(java.lang.String[] argArray)
Main application Startup


removeObsoletePreferences

public static void removeObsoletePreferences()
Removes obsolete preference settings. If you throw out a once-used preference setting, add it to the list here with an expiry date (written as comment). If you see something with an expiry date in the past, remove it from the list.