Using Eclipse - Processing Export - Procliping - Application Frame - TIP
in
Integration and Hardware
•
1 year ago
I have followed the
tutorial about getting Eclipse running and have everything working so far in Eclipse. I had an issue with the way the application looked, both in the IDE and when Exported (using the Project/Processing Export feature that was installed as part of Procliping). Anyone who follows the example will experience a full black screen with the application in the center with no border. In fact I wasn't sure it was working at first because of the 100 x 100 screen size, black on black. Anyway after some searching I found a code sample that change the first parameter in the PApplet.main to what I show below.
In the example change this code:
public static void main(String args[]) { PApplet.main(new String[]
{ "--present", "MyProcessingSketch" }); }
To this:
public static void main(String args[]) { PApplet.main(new String[]
{
"--bgcolor=#F0F0F0"
, "MyProcessingSketch" }); }