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)
   _____ extends java.applet.Applet ?
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: _____ extends java.applet.Applet ?  (Read 367 times)
jedierikb

WWW
_____ extends java.applet.Applet ?
« on: Dec 19th, 2003, 6:23pm »

i am attempting to migrate from the p5 editor into another ide (intellij idea).
 
a few p5 questions:
 
a) which class extends Applet?  According to my ide, BApplet isn't doing it.
 
b) is there a difference between BApplet in the pde.jar and the class file in lib/export?
 
thank you.
 
fry


WWW
Re: _____ extends java.applet.Applet ?
« Reply #1 on: Dec 19th, 2003, 6:55pm »

yer ide is wrong, BApplet extends Applet.  
 
the BApplet in pde.jar has stuff compiled in for 1.3 support (i.e. cursors and some other bits) as well as serial, video, etc. the files in the export folder are 1.1 only, and are all applet-safe to run on the web w/o security troubles (that would be incurred from serial et al)
 
jedierikb

WWW
Re: _____ extends java.applet.Applet ?
« Reply #2 on: Dec 19th, 2003, 9:46pm »

there is a bug in intellij - it doesn't automatically identify compiled extensions of Applet.  
 
no bother, i manually entered my extension of BApplet as the 'applet class' and then everything went smoothly from there.  thanks.
 
Matthew


Re: _____ extends java.applet.Applet ?
« Reply #3 on: Aug 29th, 2004, 10:30pm »

I was wondering how you got BApplet working in IntelliJ.  
 
I tried adding pde.jar to the project library papth and then use the statement:
 
import BApplet;
 
but IntelliJ doesn't seem to allow classes in jars that are in the unnamed package.
 
Thanks for any help...
 
arielm

WWW
Re: _____ extends java.applet.Applet ?
« Reply #4 on: Aug 30th, 2004, 8:30am »

since the "bagel" library is not a package, it's useless anyway to use the "import" statement.
 
you should give a try to www.eclipse.org: it's free, intelligent, and works like a charm with bagel.
 

Ariel Malka | www.chronotext.org
Pages: 1 

« Previous topic | Next topic »