work on mode switching, add an ugly android theme

This commit is contained in:
benfry
2011-01-28 17:26:17 +00:00
parent 71a6d68471
commit f9c3eeac54
17 changed files with 269 additions and 128 deletions

View File

@@ -380,15 +380,15 @@ public class JavaBuild {
// grab the imports from the code just preproc'd
importedLibraries = new ArrayList<Library>();
System.out.println("extra imports: " + result.extraImports);
// System.out.println("extra imports: " + result.extraImports);
for (String item : result.extraImports) {
// remove things up to the last dot
int dot = item.lastIndexOf('.');
// http://dev.processing.org/bugs/show_bug.cgi?id=1145
String entry = (dot == -1) ? item : item.substring(0, dot);
System.out.println("library searching for " + entry);
// System.out.println("library searching for " + entry);
Library library = mode.getLibrary(entry);
System.out.println(" found " + library);
// System.out.println(" found " + library);
if (library != null) {
if (!importedLibraries.contains(library)) {