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 & HelpPrograms › avoiding coffee cup?
Page Index Toggle Pages: 1
avoiding coffee cup??? (Read 1638 times)
avoiding coffee cup???
May 4th, 2005, 8:17pm
 
does anyone know how to not show the ugly coffee cup? And what about why the java loading progress bar does that wierd thing where it grows way beyond it's bounding box??

it's kinda disheartening if you spend time making something look good only to have to first present this ugly coffee cup and a buggy loading bar to the user before they see your piece!

james
Re: avoiding coffee cup???
Reply #1 - May 4th, 2005, 11:07pm
 
I thought that loading was a bit pointless too, they could have just kept it simple, a little trade mark in the corner if need be.
Re: avoiding coffee cup???
Reply #2 - May 5th, 2005, 1:43am
 
i think the loading bar going past it's bounds is because it loads the entire .jar, then for each image it loads the .jar again, at least this i what ive heard around the boards.
Re: avoiding coffee cup???
Reply #3 - May 5th, 2005, 2:38am
 
the worse thing is that if the user clicks the cup, it opens the sun site. Not even the evil Macrodobe thought of a dirty trick like that...
Re: avoiding coffee cup???
Reply #4 - May 5th, 2005, 1:04pm
 
you can avoid the oversized progress bar by loading images/assets via absolut URLs. it'll be faster anyway and also helps people to play around with the source code locally (if you actually offer them this option Wink and they don't have local copies of the images used...

re:coffee cup - you could reduce the time its show by building a mini launcher applet which then loads the main .jar
Re: avoiding coffee cup???
Reply #5 - May 5th, 2005, 1:31pm
 
Could this be implemented as a tool, which lets you create your own loader?

I'm guessing that the loader couldn't use any of Processing functions since, the processing core takes some time to load aswell.  But maybe the launcher applet could just hold a very very simple frame by frame animation engine and some kind of built in text display.

Let me know what you think about that.  I haven't looked at the possibility to adding tools to PDE (I know that this couldn't be added as a library, since the launcher applet should be written without using the Processing methods).

Does anyone know if there's an alternative JVM (hopefully GPL)? I would like to try it out.
Re: avoiding coffee cup???
Reply #6 - May 5th, 2005, 1:35pm
 
ups!

a quick look at the internet gave me a big list of Free JVMs.  I'll have a better look later today.

http://www.kaffe.org/links.shtml#freevms

can anyone recommend me any of these

thanks
Re: avoiding coffee cup???
Reply #7 - May 5th, 2005, 7:31pm
 
Has anyone looked at this?

http://java.sun.com/j2se/1.5.0/docs/guide/plugin/developer_guide/special_attributes.html

It allows you to customize the loader by doing special applet tags...

I haven't tried it myself because they keep changing the loader (it wasn't until 1.5 that they added that huge coffeecup thing).

edit: also, for java 1.4:
http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/special_attributes.html

Marcello
Re: avoiding coffee cup???
Reply #8 - May 6th, 2005, 12:54pm
 
thanks for that cello.

I think that's the solution I will opt for.
Page Index Toggle Pages: 1