mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 05:39:18 +01:00
Added export warning if no size() was found
This commit is contained in:
@@ -1734,7 +1734,15 @@ public class Sketch {
|
||||
|
||||
Base.showWarning("Could not find applet size", message, null);
|
||||
}
|
||||
} // else no size() command found
|
||||
} else {
|
||||
// no size() found
|
||||
final String message =
|
||||
"This applet appears to be missing size().\n" +
|
||||
"Assuming size(" + Integer.toString(wide) + ", " +
|
||||
Integer.toString(high) + ", JAVA2D)";
|
||||
|
||||
Base.showWarning("Could not find applet size", message, null);
|
||||
}
|
||||
|
||||
// Grab the Javadoc-style description from the main code.
|
||||
String description = "";
|
||||
|
||||
Reference in New Issue
Block a user