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.
IndexDiscussionGeneral Discussion,  Status › Processing 0097 - Christmas Comes Early
Pages: 1 2 
Processing 0097 - Christmas Comes Early (Read 5967 times)
Processing 0097 - Christmas Comes Early
Nov 30th, 2005, 1:40am
 
yeehaa!

ABOUT REV 0097 - 29 November 2005

"Export to Application" is here! See the FAQ for more details:
http://processing.org/faq/bugs.html#application
Re: Processing 0097 - Christmas Comes Early
Reply #1 - Nov 30th, 2005, 9:43am
 
Wow! Shocked
Re: Processing 0097 - Christmas Comes Early
Reply #2 - Nov 30th, 2005, 10:58am
 
Santa is real!
Re: Processing 0097 - Christmas Comes Early
Reply #3 - Nov 30th, 2005, 1:38pm
 
Wow, excellent news, and completely unexpected.

One question though, does the exported application still require Java to be installed on the users's system?
Re: Processing 0097 - Christmas Comes Early
Reply #4 - Nov 30th, 2005, 2:56pm
 
Quote:
One question though, does the exported application still require Java to be installed on the users's system?

yep, i'll add this to the faq.
Re: Processing 0097 - Christmas Comes Early
Reply #5 - Nov 30th, 2005, 5:02pm
 
Yay, excellent!  This is a feature I've been eagerly anticipating for many months.   Thank you!
Re: Processing 0097 - Christmas Comes Early
Reply #6 - Nov 30th, 2005, 7:48pm
 
Wow.  Fan-freakin-tastic.  Right out of the box, it supports webcam input, audio input, and it still works with my powermates (though pressAndTurn no longer works).

I am impressed!  Any way to force a present mode on the app?

r

Re: Processing 0097 - Christmas Comes Early
Reply #7 - Nov 30th, 2005, 8:09pm
 
*cough* http://processing.org/faq/bugs.html#application *cough* Wink
Re: Processing 0097 - Christmas Comes Early
Reply #8 - Nov 30th, 2005, 8:26pm
 
You know, I read that whole list before asking.  Sigh.  maybe its time for another triple latte.

r

Re: Processing 0097 - Christmas Comes Early
Reply #9 - Nov 30th, 2005, 9:28pm
 
Waaa thats so coool! Smiley
Re: Processing 0097 - Christmas Comes Early
Reply #10 - Nov 30th, 2005, 11:21pm
 
I've been waiting for "export to application" for sooooo long, that I totally forgot all about it. Got me completely off guard.

Awesome!
Re: Processing 0097 - Christmas Comes Early
Reply #11 - Dec 1st, 2005, 10:33am
 
Two quick tips that might be useful:

If you want to replace (or add) titlebar text, just do this in setup():

  frame.setTitle("This is in the titlebar!");

To change the title bar icon, create a 16x16 .gif, and in setup():

  ImageIcon titlebaricon = new ImageIcon("myicon.gif");
  frame.setIconImage(titlebaricon.getImage());

For some reason the new icon doesn't display when you hit the big play button in the PDE.  If you export to application and drop the icon file in the directory it creates for your application/OS, it will work, at least in Windows and Linux -- haven't tested with OSX yet.
Re: Processing 0097 - Christmas Comes Early
Reply #12 - Dec 1st, 2005, 3:39pm
 
thanks, i've added these to the faq.

i forgot to add the note to the faq about setting the title.. and the imageicon stuff is useful too, though i'd recommend using loadBytes() first, so that your paths are set properly so that the ImageIcon comes out of the data folder or the jar file the same way as it works with other data files.
Re: Processing 0097 - Christmas Comes Early
Reply #13 - Mar 1st, 2006, 4:33pm
 
I figured out how to get fool-proof title bar icons in Processing:

 String s=sketchPath("youricon.gif");
 s.replace('\\','/');                
 ImageIcon titlebaricon = new ImageIcon(s);  
 frame.setIconImage(titlebaricon.getImage());

ImageIcon's constructor is expecting a URL-style pathname, so that's why the replace() is necessary.  If the path is erroneous, ImageIcon doesn't complain, it just remains empty.  

Now all that's left is to get a setIcon() added to the core library! :)

-22
Re: Processing 0097 - Christmas Comes Early
Reply #14 - Feb 19th, 2007, 6:16pm
 
Hello everyone, this is a little bit older discusion, but i have found some obstruction. When i try to set the window icon, some mess appears on the line:

ImageIcon titlebaricon = new ImageIcon("blabla.gif");    

-> an error message tells me that there is no such a command called "ImageIcon" (???)

Im still trying to get solution.. funny how can this little piece of graphics flummox me. Please help me.. i believe there is some easy way to solve this. Im using winXP, ver.0123 without java, Thanks
Pages: 1 2