|
Author |
Topic: showStatus - nullpointerexception (Read 309 times) |
|
elout
|
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
|
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.
|
|
|
|
|