We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpIntegration › Application in Eclipse mysteriously in fullscreen
Page Index Toggle Pages: 1
Application in Eclipse mysteriously in fullscreen (Read 1237 times)
Application in Eclipse mysteriously in fullscreen
Dec 10th, 2009, 12:33pm
 
Hej,

I recently started again programming in Eclipse including Processing.

Including...

public class MyProcessingSketch extends PApplet {
       public static void main(String args[]) {
               PApplet.main(new String[] { "--present", "MyProcessingSketch" });
             


Whenever I run this as "application" the program starts in a black fullscreen. Everything is fine and it has the given size.

But why in a black Fullscreen with the link "stop" in the left lower edge?

Does anybody know, why there is no kind of window frame and title?

Thank you all, Fejngold



Re: Application in Eclipse mysteriously in fullscreen
Reply #1 - Dec 10th, 2009, 11:37pm
 
the "--present" arg sets the frame to undecorated filling your screen and places the applet at it's center.
by default a stop label is shown in present mode, you can get rid of it by passing "--hide-stop".
the frame color can be set like this: "--bgcolor=#0f0f0f".
you probably just want PApplet.main(new String[] {"MyProcessingSketch" });
Re: Application in Eclipse mysteriously in fullscreen
Reply #2 - Dec 11th, 2009, 1:15am
 
This works fine.

Thanks a lot.
Page Index Toggle Pages: 1