Bug 245 : refactor PApplet.main() and Runner.startInternal() to remove duplication
Last modified: 2008-06-11 08:49




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P5
Severity:
normal

 

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.