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.
Page Index Toggle Pages: 1
framing my app (Read 454 times)
framing my app
Dec 13th, 2007, 11:28pm
 
Hello,
I would like to be able to run my app with a black frame around it - filling the screen, something that will adjust to the size of the monitor with actually changing the size of my application. I've searched the forum for an answer to this question, but everything I find has to do with making the app fullscreen... which isn't what I am after. Any thoughts?

thanks,
the n00b
Re: framing my app
Reply #1 - Dec 14th, 2007, 6:48am
 
Hi, indeed the first thing that comes to mind is drawing this black frame in your app and run your app fullscreen.

Or you could simply embed your app in a web-browser, center it and set the background-color of the body to black, and then run your browser fullscreen (F11 key in Firefox).
Re: framing my app
Reply #2 - Dec 14th, 2007, 9:48am
 
fullscreen is what you are looking for .. i does not mean your app is going to be scaled to the screen, it means it's run ontop of a background without titlebar and menu (check --present and --bgcolor):

PApplet.main(java.lang.String[])

i do not recommend running it in a browser .. it might be a little slower (depending on your sketch) and just wastes computing power.

F
Page Index Toggle Pages: 1