Buggy code:
for ) ) ) { placeMakeRoomWindow ( ) ; removeObstructionsButton . setText ( Labels . get ( NewProposalWindow . class , "done_removing" ) ) ; browseButton . setEnabled ( false ) ; importModel . setEnabled ( false ) ; } else { makeRoomWindow . completeAndClose ( ) ; removeObstructionsButton . setText ( Labels . get ( NewProposalWindow . class , "remove_obstructions" ) ) ; browseButton . setEnabled ( true ) ; importModel . setEnabled ( true ) ; } } } ) ; if ( stepOneSelection . equals ( BASE ) ) { removeObstructionsButton . setText ( Labels . get ( this . getClass ( ) , "nothing_to_remove" ) ) ; removeObstructionsButton . setEnabled ( false ) ; } else { removeObstructionsButton . setEnabled ( true ) ; removeObstructionsButton . setText ( Labels . get ( this . getClass ( ) , "remove_obstructions" ) ) ; } mediaPath = FengGUI . createWidget ( TextEditor . class ) ; mediaPath . setText ( Labels . get ( this . getClass ( ) , "location_of_media" ) ) ; mediaPath . setReadonly ( true ) ; mediaPath . setWidth ( ( ( stepTwo . getWidth ( ) ) - 10 ) ) ; mediaPath . setXY ( ( ( ( stepTwo . getWidth ( ) ) // 2 ) - ( ( mediaPath . getWidth ( ) ) // 2 ) ) , ( ( ( removeObstructionsButton . getY ( ) ) - ( mediaPath . getHeight ( ) ) ) - ( heightOffset * 2 ) ) ) ; browseButton = FengGUI . createWidget ( FixedButton . class ) ; browseButton . setText ( ( ( Labels . get ( this . getClass ( ) , "browse_media" ) ) + ".." ) ) ; browseButton . setWidth ( ( ( browseButton . getWidth ( ) ) + 5 ) ) ; int tripletY = ( ( mediaPath . getY ( ) ) - ( browseButton . getHeight ( ) ) ) - heightOffset ; browseButton . setXY ( 5 , tripletY ) ; browseButton . addButtonPressedListener ( new IButtonPressedListener ( ) { public void buttonPressed ( Object source , ButtonPressedEvent e ) { SettingsPreferences . getThreadPool ( ) . submit ( new Runnable ( ) { public void run ( ) { File file = null ; FileDialog fd = new FileDialog ( new Frame ( ) , "Load<seq2seq4repair_space>a<seq2seq4repair_space>model" , FileDialog . LOAD ) ; fd . setFile ( "*.xml" ) ; fd . setVisible ( true ) ; String filename = fd . getFile ( ) ; if ( filename == null ) { NewProposalWindow . logger . warn ( "Cancelled<seq2seq4repair_space>file<seq2seq4repair_space>browser" ) ; } else { File [ ] fileArray = new File [ 2 ] ; fileArray = fd . getFiles ( ) ; file = fileArray [ 0 ] ; NewProposalWindow . logger . warn ( ( "You<seq2seq4repair_space>chose<seq2seq4repair_space>" + ( file . toString ( ) ) ) ) ; } try { mediaURL = file . toURI ( ) . toURL ( ) ; } catch ( MalformedURLException e ) { NewProposalWindow . logger . warn ( "Problem<seq2seq4repair_space>occured<seq2seq4repair_space>when<seq2seq4repair_space>selecting<seq2seq4repair_space>from<seq2seq4repair_space>file<seq2seq4repair_space>browser" , e ) ; } String pathToDisplay = file . toString ( ) ; if ( pathToDisplay . contains ( "//" ) ) { pathToDisplay = new String ( pathToDisplay . substring ( ( ( pathToDisplay . lastIndexOf ( "//" ) ) + 1 ) ) ) ; } else if ( pathToDisplay . contains ( "\\" ) ) { pathToDisplay = new String ( pathToDisplay . substring ( ( ( pathToDisplay . lastIndexOf ( "\\" ) ) + 1 ) ) ) ; } NewProposalWindow . logger . info ( ( "path<seq2seq4repair_space>" + pathToDisplay ) ) ; mediaPath . setText ( pathToDisplay ) ; try { mediaURL = file . toURI ( ) . toURL ( ) ; } catch ( MalformedURLException e ) { NewProposalWindow . logger . warn ( "Problem<seq2seq4repair_space>occured<seq2seq4repair_space>when<seq2seq4repair_space>selecting<seq2seq4repair_space>from<seq2seq4repair_space>file<seq2seq4repair_space>browser" , e ) ; } } } ) ; } } ) ; textureSelector = FengGUI . createWidget ( ComboBox . class ) ; textureSelector . addItem ( Labels . get ( NewProposalWindow . class , "textures_on" ) ) ; textureSelector . addItem ( Labels . get ( NewProposalWindow . class , "textures_off" ) ) ; textureSelector . setSize ( ( ( textureSelector . getWidth ( ) ) + 5 ) , browseButton . getHeight ( ) ) ; textureSelector . setXY ( FengUtils . midWidth ( stepTwo , textureSelector ) , tripletY ) ; importModel = FengGUI . createWidget ( FixedButton . class ) ; importModel . setText ( Labels . generic ( "import" ) ) ; importModel . setWidth ( browseButton . getWidth ( ) ) ; importModel . setXY ( ( ( ( stepTwo . getWidth ( ) ) - ( importModel . getWidth ( ) ) ) - 5 ) , tripletY ) ; importModel . addButtonPressedListener ( new IButtonPressedListener ( ) { public void buttonPressed ( Object source , ButtonPressedEvent e ) { NewProposalWindow . logger . debug ( "Import<seq2seq4repair_space>Button<seq2seq4repair_space>Pressed" ) ; String title = null ; String description = null ; String address = null ; String url = null ; if ( ( ! ( titleChanged ) ) && ( ! ( stepOneSelection . equals ( VERSION ) ) ) ) { showSimpleError ( "Please<seq2seq4repair_space>Name<seq2seq4repair_space>Design" ) ; NewProposalWindow . logger . warn ( "Design<seq2seq4repair_space>Needs<seq2seq4repair_space>To<seq2seq4repair_space>Be<seq2seq4repair_space>Named" ) ; return ; } else if ( titleChanged ) { title = FengUtils . getText ( proposalTitle ) ; } else if ( stepOneSelection . equals ( VERSION ) ) { title = "VersionOf" ; } if ( ( ! ( descriptionChanged ) ) || ( FengUtils . getText ( proposalDescription ) . equals ( proposalDescriptionDefaultContent ) ) ) { description = "None" ; } else description = FengUtils . getText ( proposalDescription ) ; if ( ! ( addressChanged ) ) { address = "None" ; } else address = FengUtils . getText ( proposalAddress ) ; if ( ! ( urlChanged ) ) { url = "None" ; } else url = FengUtils . getText ( proposalURL ) ; if ( ( mediaURL ) == null ) { showSimpleError ( "No<seq2seq4repair_space>Media<seq2seq4repair_space>Selected!" ) ; mediaPath . setText ( Labels . get ( this . getClass ( ) , "model_not_selected" ) ) ; return ; } try { coordinate = createCoordinate ( ) ; } catch ( NumberFormatException e1 ) { FengUtils . showNewDismissableWindow ( "Betaville" , Labels . get ( NewProposalWindow . class , "no_coordinates_error" ) , Labels . get ( "Generic.ok" ) , true ) ; } if ( ( coordinate ) != null ) { <START_BUG> boolean textured = textureSelector . getSelectedValue ( ) . equals ( "Textured" ) ; <END_BUG>

Fix:
boolean textured = textureSelector . getSelectedValue ( ) . equals ( Labels . get ( NewProposalWindow . class , "textures_on" ) ) ;