Use ACM's Java Task Force library in Processing
in
Integration and Hardware
•
2 months ago
I'd like to know whether it's possible to use ACM framework inside Processing.
For informations and downloads go to -> http://www-cs-faculty.stanford.edu/~eroberts/jtf/
Course in YouTube -> https://www.youtube.com/playlist?list=PL84A56BC7F4A1F852
An example I'd like to know how to run:
For informations and downloads go to -> http://www-cs-faculty.stanford.edu/~eroberts/jtf/
Course in YouTube -> https://www.youtube.com/playlist?list=PL84A56BC7F4A1F852
An example I'd like to know how to run:
import acm.program.*; import java.awt.event.*; import javax.swing.*; public class ACMButton extends ConsoleProgram { public void init() { setFont("Courier-24"); add(new JButton("Hi"), SOUTH); addActionListeners(); } public void actionPerformed(ActionEvent e) { final String cmd = e.getActionCommand(); if (cmd.equals("Hi")) println("Hello there!"); } }
1