void function ( ) { ArgsHandler loc0 = ArgsHandler . INSTANCE ; if ( loc0 . getPort ( ) != null ) { portText . setText ( loc0 . getPort ( ) ) ; } if ( loc0 . shouldStartServerAtLaunch ( ) ) { startServerBtn . toggleButton ( ) ; } if ( loc0 . memoryModeEnabled ( ) ) { saveMsgTextField . get ( ) . setEnabled ( false ) ; } }
checks command line arguments and toggles components if necessary . if the user has chosen a different port , then specifies it in the port text field . if the user has chosen to auto-start the smtp server , then it toggles automatically the `` start server '' button . concode_field_sep JLabel receivedLabel concode_elem_sep JTabbedPane tabbedPane concode_elem_sep LogsPane logsPane concode_elem_sep MailsListPane mailsListPane concode_elem_sep JPanel mainPanel concode_elem_sep PortTextField portText concode_elem_sep StartServerButton startServerBtn concode_elem_sep DirChooser dirChooser concode_elem_sep LastMailPane lastMailPane concode_elem_sep SaveMsgField saveMsgTextField concode_elem_sep ClearAllButton clearAll concode_elem_sep MigLayout layout concode_elem_sep I18n i18n concode_elem_sep JLabel portLabel concode_elem_sep JLabel saveMessages concode_elem_sep NbReceivedLabel nbReceivedLabel concode_field_sep PortTextField getPortText concode_elem_sep void buildGUI concode_elem_sep SaveMsgField getSaveMsgTextField concode_elem_sep void addObservers concode_elem_sep JPanel get concode_elem_sep void assignLabelsToFields