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_
   Programming Questions & Help
   Syntax
(Moderators: fry, REAS)
   moving from p5 to textpad
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: moving from p5 to textpad  (Read 253 times)
Steve

nerdytone WWW Email
moving from p5 to textpad
« on: Dec 11th, 2003, 8:54am »

so amit brought up in our last class that moving from p5 to a 'real' java environment is the next step towards lower level programming. so i downloaded textpad which is a java/c/c++ editor and java compiler. i am having trouble, however, with the p5 classes. ive tried adding to my CLASSPATH a jar file with all the BApplets and all the standard stuff in the jar created by p5. and in a simple file like this:
 
Code:

import java.applet.*;
import java.awt.*;
import java.awt.image.*;
import java.awt.event.*;
import java.io.*;
import java.net.*;
import java.text.*;
import java.util.*;
import java.util.zip.*;
 
 
public class test extends BApplet{
 
 public void setup(){
  size(200,200);
 }
 
}
 
 
i get the following errors:
 
Code:

C:\Documents and Settings\Administrator\Desktop\test\test.java:12: cannot resolve symbol
symbol  : class BApplet  
location: class test
public class test extends BApplet{
      ^
C:\Documents and Settings\Administrator\Desktop\test\test.java:15: cannot resolve symbol
symbol  : method size (int,int)
location: class test
  size(200,200);
      ^
2 errors
 
Tool completed with exit code 1

 
now obviously im going to get the cannot resolve symbol size if i cant get the BApplet to be recoginzed, but where do i put these files? thanks!
 
Steve

nerdytone WWW Email
Re: moving from p5 to textpad
« Reply #1 on: Dec 11th, 2003, 9:37am »

problem solved by doing the following for those interested:
 
make the CLASSPATH=. and just include the classes in the directory of the java file, and appending my java sdk path to the PATH variable. anyway, thats how i got it workin.
 
Pages: 1 

« Previous topic | Next topic »