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
   Integration
(Moderators: fry, REAS)
   How to import BApplet from a class in java packag?
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: How to import BApplet from a class in java packag?  (Read 2161 times)
matsu

2355901823559018 WWW Email
How to import BApplet from a class in java packag?
« on: Nov 4th, 2004, 10:26am »

Hi.
 
Im trying to make a application using processing. And I wrote a source code to use BApplet as below.
==============================
 package gui;
 public class Gui extends BApplet{
  public init(){
   ...
  }
 }
==============================
This code doesn't work!
I want to use a BApplet-class from a java code constructed by package.
But can't extends non package class from a package class.  
A BApplet class doesn't belong to package, so we can't use inside of a package.
 
I think there are 2 ways to resolve.
1) Write a code without package.
2) Using a package in pde.jar
 
For 1), I'm using package with many java programs , so cannot assemble without package.
 
For 2), I need to request for developer to make a pde.jar using package.
 
If you have any good ideas to import inside of package, plz tell me.
 
#Is this BBS is read by developers? If not, I'd like to request via e-mail.  
 
 
thanks.
 
fry


WWW
Re: How to import BApplet from a class in java pac
« Reply #1 on: Nov 4th, 2004, 3:26pm »

starting with revision 70 and higher (when that becomes available), BApplet is now inside a package so that it can be used outside the environment.
« Last Edit: Nov 4th, 2004, 3:27pm by fry »  
matsu

2355901823559018 WWW Email
Re: How to import BApplet from a class in java pac
« Reply #2 on: Nov 4th, 2004, 4:56pm »

Thank you for your reply!
All my questions have reloved.
 
I'm looking forward to releasing revision70!
« Last Edit: Nov 4th, 2004, 4:58pm by matsu »  
Pages: 1 

« Previous topic | Next topic »