question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Import Processing

See original GitHub issue

May be is not necessary to write by default,

import processing.core.*;
import processing.opengl.PGraphics2D;

because when you open the example in Processing, Processing return an error message.

Plus may be remove all the part private public… of course that depend if you want a novice or advance users 😃

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
hamoidcommented, Oct 21, 2018

This command removed recursively those import processing... when I tried on Linux:

find . -type f -name "*.java" -exec bash -c 'sed -i "/^import processing/ d" {}' \;

Based on https://stackoverflow.com/a/9709296 maybe adding '' after -i is required on mac, not sure.

It searches recursively for *.java files and then discards lines that start with import processing.

0reactions
jeffThompsoncommented, Oct 21, 2018

Just FYI this is still an issue and I’m sure would be confusing to new users (took me a minute to figure it out and I’ve been using Processing for years). Maybe a cleanup script to remove those imports before committing the library?

Read more comments on GitHub >

github_iconTop Results From Across the Web

import / Reference / Processing.org
The keyword import is used to load a library into a Processing sketch. A library is one or more classes that are grouped...
Read more >
5 Managing Import Processing
Capture's Import Processor provides automated bulk importing of documents (image and non-image) into a Capture workspace from email, network folders, or list ...
Read more >
Import processing requirements - IBM
This environment is necessary for the imported logical volumes to go through entry processing. An import operation is more restrictive than an export...
Read more >
processing - PyPI
processing is a package for the Python language which supports the spawning of ... from processing import Process, Queue def f(q): q.put('hello world')...
Read more >
Processing in Java - Happy Coding
import processing.core.PApplet; public class MySketch extends PApplet { public void settings() { size(500, 500); } public void draw(){ background(64); ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found