private void chkSource() { File f = new File(workPath + "/Android_GUI"); if (f.exists()) { btnRunLibGdx.setText("download and copy latest LibGdx (nightly)"); btnRunLibGdx.removeListener(selectTrunkListener); btnRunLibGdx.addListener(runListenerLibGdx); WorkPathFound = 1; writeMsg("Trunk folder found"); } else { btnRunLibGdx.setText("select 'Trunk' folder"); btnRunLibGdx.addListener(selectTrunkListener); WorkPathFound = 0; writeMsg("Trunk folder not found, please select"); } File fi = new File(workPath + "/LibgdxPacker"); if (fi.exists()) { ImageWorkPathFound = true; imageWorkPath = workPath; WorkPathFound++; } else ImageWorkPathFound = false; layout(); }