FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 245 : refactor PApplet.main() and Runner.startInternal() to remove duplication
Last modified: 2008-06-11 08:49
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
FIXED -
Pr
i
ority:
P5
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
fry
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2005-12-13 19:48
the code in these two methods is largely similar, particularly with regards to window
placement issues. Where possible, need to work out inconsistencies between the use of the
command line in main() and the use of Preferences in startInternal, as their functionality
should be roughly on par with one another.
break the functions out of main() where necessary so that they can also be used by
startInternal() or even startExternal().
this code is heavily tested and very core in its function, so refactoring must be done very
carefully to avoid regressions. in both cases, the code may look like spaghetti, but in fact all
of the functionality that's there is essential to running things properly.
Additional Comment
#1 From fry 2008-06-11 08:49
fixed as part of the 0136-0140 series.