at.tuwien.ifs.somtoolbox.apps.trainer
Class SOMTrainer

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Frame
                  extended by javax.swing.JFrame
                      extended by at.tuwien.ifs.somtoolbox.apps.trainer.SOMTrainer
All Implemented Interfaces:
SOMToolboxApp, ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class SOMTrainer
extends JFrame
implements SOMToolboxApp

The SOMTrainer is a graphical Interface to train a new SOM. It allows setting various parameters, input and output data and has different SOM-Modes available.

Version:
$Id: SOMTrainer.java 3877 2010-11-02 15:43:17Z frank $
Author:
Jakob Frank
See Also:
AbstractNetworkModel, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JFrame
JFrame.AccessibleJFrame
 
Nested classes/interfaces inherited from class java.awt.Frame
Frame.AccessibleAWTFrame
 
Nested classes/interfaces inherited from class java.awt.Window
Window.AccessibleAWTWindow
 
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Nested classes/interfaces inherited from interface at.tuwien.ifs.somtoolbox.apps.SOMToolboxApp
SOMToolboxApp.Type
 
Field Summary
static SOMToolboxApp.Type APPLICATION_TYPE
           
private  JButton btnLogFileSaver
           
private  JButton btnOutDirFileSaver
           
private  JButton btnSave
           
private  JButton btnTrain
           
private  JButton btnTVFileOpen
           
private  JButton btnVecFileOpen
           
private  JCheckBox chkCreateDWM
           
private  JCheckBox chkLabelSOM
           
private  JCheckBox chkLernrate
           
private  JCheckBox chkNormalized
           
private  JCheckBox chkSigma
           
private  JCheckBox chkSparse
           
private  JComboBox cmbMetric
           
private  ClassComboBoxModel<DistanceMetric> cmbMetricModel
           
private  JComboBox cmbModel
           
private  ClassComboBoxModel<AbstractNetworkModel> cmbModelModel
           
private  JComboBox cmbQualityMeasure
           
private  ClassComboBoxModel<QualityMeasure> cmbQualityMeasureModel
           
static String DESCRIPTION
           
private  JLabel jLabel
           
private  JLabel lblIteration
           
private  JLabel lblLabels
           
private  JLabel lblLogFile
           
private  JLabel lblMetric
           
private  JLabel lblModel
           
private  JLabel lblOutputDir
           
private  JLabel lblQuality
           
private  JLabel lblThreads
           
private  JLabel lblTitle
           
private  JLabel lblTvFile
           
private  JLabel lblVecFile
           
private  JLabel lblXSize
           
private  JLabel lblYSize
           
static String LONG_DESCRIPTION
           
private  JPanel main
           
static com.martiansoftware.jsap.Parameter[] OPTIONS
           
private  JProgressBar pgbTraining
           
private  JPanel pnlGo
           
private  JPanel pnlInputData
           
private  JPanel pnlLog
           
private  JPanel pnlMapSettings
           
private  JPanel pnlMisc
           
private  JPanel pnlModelSettings
           
private  SOMModelSettingsPanel pnlModelSpecificSettings
           
private  JPanel pnlOutDir
           
private  JPanel pnlSettings
           
private  JPanel pnlTv
           
private  JPanel pnlVec
           
private  JRadioButton rdoCycles
           
private  JRadioButton rdoIterations
           
private static long serialVersionUID
           
private  JSpinner spnIterations
           
private  JSpinner spnLabels
           
private  JSpinner spnLearnrate
           
private  JSpinner spnRandomSeed
           
private  JSpinner spnSigma
           
private  JSpinner spnThreads
           
private  SpinnerNumberModel spnThreadsModel
           
private  JSpinner spnWinnerCount
           
private  JSpinner spnXSize
           
private  JSpinner spnYSize
           
private  JTextField txtInputVecotrFile
           
private  JTextField txtLogFile
           
private  JTextField txtOutDir
           
private  JTextField txtTemplateVecotrFile
           
private  JTextField txtTitle
           
 
Fields inherited from class javax.swing.JFrame
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface at.tuwien.ifs.somtoolbox.apps.SOMToolboxApp
DEV_BY_STRING, HOMEPAGE, REQUIRED_MEMBERS, TYPE_GROUPED_COMPARATOR
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
SOMTrainer()
          This method initializes
 
Method Summary
private  String[] createCmdLine(File propFile)
           
private  Properties createSOMProps()
           
private  File execFileChooser(JTextField target, FileFilter filter, boolean isToSave, boolean directorySelect)
           
private  JButton getBtnLogFileSaver()
          This method initializes btnLogFileSaver
private  JButton getBtnOutDirFileSaver()
          This method initializes btnOutDirFileSaver
private  JButton getBtnSave()
          This method initializes btnSave
private  JButton getBtnTrain()
          This method initializes btnTrain
private  JButton getBtnTVFileOpen()
          This method initializes btnTVFileOpen
private  JButton getBtnVecFileOpen()
          This method initializes btnVecFileOpen
private  JCheckBox getChkCreateDWM()
          This method initializes chkCreateDWM
private  JCheckBox getChkLabelSOM()
          This method initializes chkLabelSOM
private  JCheckBox getChkLernrate()
          This method initializes chkLernrate
private  JCheckBox getChkNormalized()
          This method initializes chkNormalized
private  JCheckBox getChkSigma()
          This method initializes chkSigma
private  JCheckBox getChkSparse()
          This method initializes chkSparse
private  JComboBox getCmbMetric()
          This method initializes cmbMetric
private  ClassComboBoxModel<DistanceMetric> getCmbMetricModel()
           
private  JComboBox getCmbModel()
          This method initializes cmbModel
private  ClassComboBoxModel<AbstractNetworkModel> getCmbModelModel()
           
private  JComboBox getCmbQualityMeasure()
          This method initializes cmbQualityMeasure
private  ClassComboBoxModel<QualityMeasure> getCmbQualityMeasureModel()
           
private  JPanel getMain()
          This method initializes main
private  JProgressBar getPgbTraining()
          This method initializes pgbTraining
private  JPanel getPnlGo()
          This method initializes pnlGo
private  JPanel getPnlInputData()
          This method initializes pnlInputData
private  JPanel getPnlLog()
          This method initializes pnlLog
private  JPanel getPnlMapSettings()
          This method initializes pnlMapSettings
private  JPanel getPnlMisc()
          This method initializes pnlMisc
private  JPanel getPnlModelSettings()
          This method initializes pnlModelSettings
private  JPanel getPnlOutDir()
          This method initializes pnlOutDir
private  JPanel getPnlSettings()
          This method initializes pnlSettings
private  JPanel getPnlTv()
          This method initializes pnlTv
private  JPanel getPnlVec()
          This method initializes pnlVec
private  JRadioButton getRdoCycles()
          This method initializes rdoCycles
private  JRadioButton getRdoIterations()
          This method initializes rdoIterations
private  JSpinner getSpnIterations()
          This method initializes spnIterations
private  JSpinner getSpnLabels()
          This method initializes spnLabels
private  JSpinner getSpnLearnrate()
          This method initializes spnLearnrate
private  JSpinner getSpnRandomSeed()
          This method initializes spnRandomSeed
private  JSpinner getSpnSigma()
          This method initializes spnSigma
private  JSpinner getSpnThreads()
          This method initializes spnThreads
private  JSpinner getSpnWinnerCount()
          This method initializes spnWinnerCount
private  JSpinner getSpnXSize()
          This method initializes spnXSize
private  JSpinner getSpnYSize()
          This method initializes spnYSize
private  JTextField getTxtInputVecotrFile()
          This method initializes txtInputVecotrFile
private  JTextField getTxtLogFile()
          This method initializes txtLogFile
private  JTextField getTxtOutDir()
          This method initializes txtOutDir
private  JTextField getTxtTemplateVecotrFile()
          This method initializes txtTemplateVecotrFile
private  JTextField getTxtTitle()
          This method initializes txtTitle
private  void initialize()
          This method initializes this
static void main(String[] args)
           
private static void setEnabledToChildren(JPanel panel, boolean enabled, boolean recursive)
           
private  void setGuiLocked(boolean locked)
           
private  void startTraining()
           
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
 
Methods inherited from class java.awt.Frame
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

OPTIONS

public static final com.martiansoftware.jsap.Parameter[] OPTIONS

DESCRIPTION

public static final String DESCRIPTION
See Also:
Constant Field Values

LONG_DESCRIPTION

public static final String LONG_DESCRIPTION

APPLICATION_TYPE

public static final SOMToolboxApp.Type APPLICATION_TYPE

main

private JPanel main

pnlMapSettings

private JPanel pnlMapSettings

lblTitle

private JLabel lblTitle

txtTitle

private JTextField txtTitle

lblModel

private JLabel lblModel

cmbModel

private JComboBox cmbModel

pnlInputData

private JPanel pnlInputData

lblVecFile

private JLabel lblVecFile

pnlVec

private JPanel pnlVec

txtInputVecotrFile

private JTextField txtInputVecotrFile

btnVecFileOpen

private JButton btnVecFileOpen

lblTvFile

private JLabel lblTvFile

pnlTv

private JPanel pnlTv

txtTemplateVecotrFile

private JTextField txtTemplateVecotrFile

btnTVFileOpen

private JButton btnTVFileOpen

lblOutputDir

private JLabel lblOutputDir

pnlOutDir

private JPanel pnlOutDir

txtOutDir

private JTextField txtOutDir

btnOutDirFileSaver

private JButton btnOutDirFileSaver

pnlModelSettings

private JPanel pnlModelSettings

pnlMisc

private JPanel pnlMisc

lblThreads

private JLabel lblThreads

lblLogFile

private JLabel lblLogFile

spnThreads

private JSpinner spnThreads

pnlLog

private JPanel pnlLog

txtLogFile

private JTextField txtLogFile

btnLogFileSaver

private JButton btnLogFileSaver

spnThreadsModel

private SpinnerNumberModel spnThreadsModel

pgbTraining

private JProgressBar pgbTraining

pnlGo

private JPanel pnlGo

btnTrain

private JButton btnTrain

btnSave

private JButton btnSave

chkSparse

private JCheckBox chkSparse

chkNormalized

private JCheckBox chkNormalized

pnlSettings

private JPanel pnlSettings

lblXSize

private JLabel lblXSize

spnXSize

private JSpinner spnXSize

lblYSize

private JLabel lblYSize

spnYSize

private JSpinner spnYSize

spnLearnrate

private JSpinner spnLearnrate

spnSigma

private JSpinner spnSigma

spnIterations

private JSpinner spnIterations

lblIteration

private JLabel lblIteration

rdoIterations

private JRadioButton rdoIterations

rdoCycles

private JRadioButton rdoCycles

lblMetric

private JLabel lblMetric

lblQuality

private JLabel lblQuality

cmbMetric

private JComboBox cmbMetric

cmbQualityMeasure

private JComboBox cmbQualityMeasure

jLabel

private JLabel jLabel

spnRandomSeed

private JSpinner spnRandomSeed

chkCreateDWM

private JCheckBox chkCreateDWM

chkSigma

private JCheckBox chkSigma

chkLernrate

private JCheckBox chkLernrate

pnlModelSpecificSettings

private SOMModelSettingsPanel pnlModelSpecificSettings

cmbMetricModel

private ClassComboBoxModel<DistanceMetric> cmbMetricModel

cmbQualityMeasureModel

private ClassComboBoxModel<QualityMeasure> cmbQualityMeasureModel

cmbModelModel

private ClassComboBoxModel<AbstractNetworkModel> cmbModelModel

chkLabelSOM

private JCheckBox chkLabelSOM

lblLabels

private JLabel lblLabels

spnLabels

private JSpinner spnLabels

spnWinnerCount

private JSpinner spnWinnerCount
Constructor Detail

SOMTrainer

public SOMTrainer()
This method initializes

Method Detail

initialize

private void initialize()
This method initializes this


getMain

private JPanel getMain()
This method initializes main

Returns:
javax.swing.JPanel

getPnlMapSettings

private JPanel getPnlMapSettings()
This method initializes pnlMapSettings

Returns:
javax.swing.JPanel

getTxtTitle

private JTextField getTxtTitle()
This method initializes txtTitle

Returns:
javax.swing.JTextField

getCmbModel

private JComboBox getCmbModel()
This method initializes cmbModel

Returns:
javax.swing.JComboBox

getCmbModelModel

private ClassComboBoxModel<AbstractNetworkModel> getCmbModelModel()
Returns:
the Model of NetworkModels

getPnlInputData

private JPanel getPnlInputData()
This method initializes pnlInputData

Returns:
javax.swing.JPanel

getPnlVec

private JPanel getPnlVec()
This method initializes pnlVec

Returns:
javax.swing.JPanel

getTxtInputVecotrFile

private JTextField getTxtInputVecotrFile()
This method initializes txtInputVecotrFile

Returns:
javax.swing.JTextField

getBtnVecFileOpen

private JButton getBtnVecFileOpen()
This method initializes btnVecFileOpen

Returns:
javax.swing.JButton

getPnlTv

private JPanel getPnlTv()
This method initializes pnlTv

Returns:
javax.swing.JPanel

getTxtTemplateVecotrFile

private JTextField getTxtTemplateVecotrFile()
This method initializes txtTemplateVecotrFile

Returns:
javax.swing.JTextField

getBtnTVFileOpen

private JButton getBtnTVFileOpen()
This method initializes btnTVFileOpen

Returns:
javax.swing.JButton

getPnlOutDir

private JPanel getPnlOutDir()
This method initializes pnlOutDir

Returns:
javax.swing.JPanel

getTxtOutDir

private JTextField getTxtOutDir()
This method initializes txtOutDir

Returns:
javax.swing.JTextField

getBtnOutDirFileSaver

private JButton getBtnOutDirFileSaver()
This method initializes btnOutDirFileSaver

Returns:
javax.swing.JButton

getPnlModelSettings

private JPanel getPnlModelSettings()
This method initializes pnlModelSettings

Returns:
javax.swing.JPanel

getPnlMisc

private JPanel getPnlMisc()
This method initializes pnlMisc

Returns:
javax.swing.JPanel

getSpnThreads

private JSpinner getSpnThreads()
This method initializes spnThreads

Returns:
javax.swing.JSpinner

getPnlLog

private JPanel getPnlLog()
This method initializes pnlLog

Returns:
javax.swing.JPanel

getTxtLogFile

private JTextField getTxtLogFile()
This method initializes txtLogFile

Returns:
javax.swing.JTextField

getBtnLogFileSaver

private JButton getBtnLogFileSaver()
This method initializes btnLogFileSaver

Returns:
javax.swing.JButton

getPgbTraining

private JProgressBar getPgbTraining()
This method initializes pgbTraining

Returns:
javax.swing.JProgressBar

getPnlGo

private JPanel getPnlGo()
This method initializes pnlGo

Returns:
javax.swing.JPanel

getBtnTrain

private JButton getBtnTrain()
This method initializes btnTrain

Returns:
javax.swing.JButton

getBtnSave

private JButton getBtnSave()
This method initializes btnSave

Returns:
javax.swing.JButton

getChkSparse

private JCheckBox getChkSparse()
This method initializes chkSparse

Returns:
javax.swing.JCheckBox

getChkNormalized

private JCheckBox getChkNormalized()
This method initializes chkNormalized

Returns:
javax.swing.JCheckBox

getPnlSettings

private JPanel getPnlSettings()
This method initializes pnlSettings

Returns:
javax.swing.JPanel

getSpnXSize

private JSpinner getSpnXSize()
This method initializes spnXSize

Returns:
javax.swing.JSpinner

getSpnYSize

private JSpinner getSpnYSize()
This method initializes spnYSize

Returns:
javax.swing.JSpinner

getSpnLearnrate

private JSpinner getSpnLearnrate()
This method initializes spnLearnrate

Returns:
javax.swing.JSpinner

getSpnSigma

private JSpinner getSpnSigma()
This method initializes spnSigma

Returns:
javax.swing.JSpinner

getSpnIterations

private JSpinner getSpnIterations()
This method initializes spnIterations

Returns:
javax.swing.JSpinner

getRdoIterations

private JRadioButton getRdoIterations()
This method initializes rdoIterations

Returns:
javax.swing.JRadioButton

getRdoCycles

private JRadioButton getRdoCycles()
This method initializes rdoCycles

Returns:
javax.swing.JRadioButton

getCmbMetric

private JComboBox getCmbMetric()
This method initializes cmbMetric

Returns:
javax.swing.JComboBox

getCmbMetricModel

private ClassComboBoxModel<DistanceMetric> getCmbMetricModel()
Returns:
the MetricModel

getCmbQualityMeasure

private JComboBox getCmbQualityMeasure()
This method initializes cmbQualityMeasure

Returns:
javax.swing.JComboBox

getCmbQualityMeasureModel

private ClassComboBoxModel<QualityMeasure> getCmbQualityMeasureModel()
Returns:
the QualityMeasure Model

execFileChooser

private File execFileChooser(JTextField target,
                             FileFilter filter,
                             boolean isToSave,
                             boolean directorySelect)

createSOMProps

private Properties createSOMProps()

createCmdLine

private String[] createCmdLine(File propFile)

setGuiLocked

private void setGuiLocked(boolean locked)

startTraining

private void startTraining()

getSpnRandomSeed

private JSpinner getSpnRandomSeed()
This method initializes spnRandomSeed

Returns:
javax.swing.JSpinner

getChkCreateDWM

private JCheckBox getChkCreateDWM()
This method initializes chkCreateDWM

Returns:
javax.swing.JCheckBox

getChkSigma

private JCheckBox getChkSigma()
This method initializes chkSigma

Returns:
javax.swing.JCheckBox

getChkLernrate

private JCheckBox getChkLernrate()
This method initializes chkLernrate

Returns:
javax.swing.JCheckBox

setEnabledToChildren

private static void setEnabledToChildren(JPanel panel,
                                         boolean enabled,
                                         boolean recursive)

getChkLabelSOM

private JCheckBox getChkLabelSOM()
This method initializes chkLabelSOM

Returns:
javax.swing.JCheckBox

getSpnLabels

private JSpinner getSpnLabels()
This method initializes spnLabels

Returns:
javax.swing.JTextField

getSpnWinnerCount

private JSpinner getSpnWinnerCount()
This method initializes spnWinnerCount

Returns:
javax.swing.JSpinner

main

public static void main(String[] args)