User Tools

Site Tools


part_4-_java_mode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
part_4-_java_mode [2007/09/10 17:15]
scarl
part_4-_java_mode [2007/09/13 06:43] (current)
scarl Added caution about Java mode
Line 10: Line 10:
 Now that your program has its own class name, you can reference it from other programs, and you can re-use it in other applications. Now that your program has its own class name, you can reference it from other programs, and you can re-use it in other applications.
  
-Also, any Processing sketch can be made up of multiple files using //​tabs//​. ​ A new tab is created by clicking the right-arrow button on the right hand side of the tab bar (the bar which contains your sketch'​s name).+Also, any Processing sketch ​(in any mode) can be made up of multiple files using //​tabs//​. ​ A new tab is created by clicking the right-arrow button on the right hand side of the tab bar (the bar which contains your sketch'​s name).
  
-[This removes some  of Processing'​s limitations - you can now use Processing utilities without being constrained to one of Processing'​s PApplet windows. This means that you can write a program that uses one of Processing'​s windows as an embedded object, etc.]+However, the Processing reference cautions that this mode is not really recommended. ​ There are tricky issues in communicating values/​methods across Java files that take a solid understanding of the Java language to get right. ​ Java code can be added to a sketch written for Continuous mode using the tabs described above.  ​This removes some  of Processing'​s limitations - you can now use Processing utilities without being constrained to one of Processing'​s PApplet windows. This means that you can write a program that uses one of Processing'​s windows as an embedded object, etc.
  
 \\ \\
part_4-_java_mode.txt ยท Last modified: 2007/09/13 06:43 by scarl