这是代码的顶部部分:
import java.util.* ;
//Build an ArrayList to hold all of the words that we get from the imported tweets
ArrayList<String> words = new ArrayList();
void setup() {
//Set the size of the stage, and the background to black.
size(800,800);
background(0);
smooth();
frameRate(5);
//Credentials
ConfigurationBuilder cb = new ConfigurationBuilder();
我正在尝试做一些类似于Jer Thorp的教程:http://blog.blprnt.com/blog/blprnt/quick-tutorial-twitter-processing我一直收到一个错误:找不到名为“ConfigurationBuilder”的类或类型我尝试导入东西,当我尝试拖放文件时一直收到错误-有什么建议吗?
您应该能够将库.jar
文件拖到处理编辑器上。确保您获得了正确的.jar
文件,您可以通过将其作为存档文件检查或使用jartf
命令来检查该文件。
您还可以使用Sketch导入库-