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)
   java mode (p5 0065)
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: java mode (p5 0065)  (Read 668 times)
amoeba

WWW
java mode (p5 0065)
« on: Oct 9th, 2003, 3:12pm »

ok, so I tried the to run a java mode program as described in the Processing environment overview. I have the Java binaries in my path, but when I try to run the program it opens a window but doesn't start the program.
 
is it a bug or stupidity on my part?
 
the program is as follows:
 
public class MyDemo extends BApplet {
  void setup()
  {
    size(200, 200);
    background(255);
    rectMode(CENTER_DIAMETER);
    noStroke();
    fill(255, 204, 0);
  }
 
  void loop()
  {
    background(255);
    rect(width-mouseX, height-mouseY, 50, 50);
    rect(mouseX, mouseY, 50, 50);
  }
}
 
« Last Edit: Oct 9th, 2003, 3:14pm by amoeba »  

marius watz // amoeba
http://processing.unlekker.net/
fry


WWW
Re: java mode (p5 0065)
« Reply #1 on: Oct 14th, 2003, 10:51pm »

hmm.. try changing the name of your sketch to MyDemo and see if that works. it may not be getting the name of the thing properly.
 
fry


WWW
Re: java mode (p5 0065)
« Reply #2 on: Oct 18th, 2003, 7:21pm »

this seems to be working fine for me.. are you still having trouble with it?
 
Pages: 1 

« Previous topic | Next topic »