FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Bug Fixes, Implemented Suggestions
(Moderator: fry)
   showStatus - nullpointerexception
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: showStatus - nullpointerexception  (Read 309 times)
elout

12747371274737 WWW
showStatus - nullpointerexception
« on: Sep 12th, 2003, 4:00pm »

Although showStatus() works fine in the compiled web-version. Processing gives a nullpointer exeption.
 
I used showStatus("hello world"); a lot in my java-work. It displays the information in your browser-status bar.  
I uses it for copyright msg/fps etc. Like in case somebody rips my applet from my site, to uses it somewhere else.
« Last Edit: Sep 12th, 2003, 4:02pm by elout »  
fry


WWW
Re: showStatus - nullpointerexception
« Reply #1 on: Sep 21st, 2003, 7:47pm »

that's because the p5 environment isn't really an appletviewer, so showStatus isn't enabled. showStatus() wouldn't work on applications anyway.
 
i've added status() to the next release, which will do the proper thing: when running as an applet, it'll show the message in the browser bar, when running as an application, it'll just print a line to the console.
 
Pages: 1 

« Previous topic | Next topic »