[java-dev] multiple class, package, or .jar examples
bart woodstrup
bart at bartwoodstrup.com
Sat Aug 11 20:43:59 MDT 2007
- Previous message: [java-dev] multiple class, package, or .jar examples
- Next message: [java-dev] [H] Set gridshape params in mxj
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thanks for replying Owen. I've been getting some help off the list from a Java pro. We got it working, but I may be having some thread and timing questions in the near future. thx, Bart On 8/7/07, Owen Green <owen at owengreen.net> wrote: > Hi Bart, > > Yes, this is the right list. > > It's not entirely clear what you're after here, but I'll try and shed > some light. > > The process for using other code in an mxj object is the same as in Java > generally: import [whatever]. You do, however, need to make sure the > classes in question are on mxj's classpath. > > If you're converting a vanilla app to an mxj object, instead of having a > main class that declares public static void main(String arg[]), you have > a class that descends from MaxObject that provides an interface for > communication with objects in your patcher. This also needs to be on the > classpath. > > If you can be more specific, so can I :) > > -- > Owen > > > bart woodstrup wrote: > > Hi, > > > > I've been spending some time with the mxj tutorial and looking at many > > of the java examples, but I was wondering if there were any examples > > of using multiple classes, package, or .jar files within Max? I > > didn't see any, but I might have overlooked something. Tutorial09 > > leaves me wanting a bit more... > > > > I have a program that I have cobbled together in Java (still very noob > > to Java) and now I am trying to convert it into a Max object in order > > to use the data it collected within Max. My Java program uses a > > couple of libraries and many external class files. The beginning of > > my main class designates a package. > > > > It's all very messy right now and I'm trying to simplify... > > > > thanks in advance... > > > > (also is this the right list to post to - it's a "dev" list?) > > > > Bart > > _______________________________________________ > > java-dev mailing list > > java-dev at cycling74.com > > http://www.cycling74.com/mailman/listinfo/java-dev > > > > _______________________________________________ > java-dev mailing list > java-dev at cycling74.com > http://www.cycling74.com/mailman/listinfo/java-dev > -- bartwoodstrup.com vodstrup.com
- Previous message: [java-dev] multiple class, package, or .jar examples
- Next message: [java-dev] [H] Set gridshape params in mxj
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
