Writing processing programs using eclipse

Source: Internet
Author: User

1Writing processing programs using eclipse1.1Preparation instructions

2015-08-11 22:25:23
Local Environment: mac,jdk8,processing2.2
This article uses the Mac to test, in the Linux and the win under also does not have the difference, the principle is consistent


Reference articles
Https://processing.org/tutorials/eclipse/Processing in Eclipse


1.2Find the processing jar package

Processing installed on Mac system, right-click on program->show Package Contents (Show packages contents)

It's like this when it's open.

The jar packs are what we need, and we can copy them out.

1.3Importing jar packages to eclipse

The next step is to import the jar packages we need in Eclipse, select File->import->file system-> in Eclipse, select the directory where the jar package is located, select the jar package we need, Here we only select Core.jar, click Finish to continue

Then right-click the add to build path, Core.jar, build path, which you just imported, and put the imported jar in the build path


1.4Write a processing program under Eclipse

Now we can use eclipse to write the processing program.


Test.java public class Test extends Papplet {public void Setup () {size (300,200);    Ellipse (100, 100, 30, 30); } }

Right-click Run as Java applet running program

Writing processing programs using eclipse

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.