Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wont compile through java #161

Open
hchasens opened this issue Feb 10, 2020 · 4 comments
Open

Wont compile through java #161

hchasens opened this issue Feb 10, 2020 · 4 comments

Comments

@hchasens
Copy link

Expected:

 All classes compile

Receaved:

 javac -cp src/core.jar .\src\controlP5\*.java 

 src\controlP5\ControlWindow.java:846: error: cannot find symbol
                         _myApplet.setBounds( 0 , 0 , _myApplet.width , _myApplet.height );
                                  ^
   symbol:   method setBounds(int,int,int,int)
   location: variable _myApplet of type PApplet

Solution:

Comment out _myApplet.setBounds(0, 0, _myApplet.width, _myApplet.height); on line 846 of ControlWindow.java

Explanation:

If one does a search for the function setBounds in PApplet.java they will find the function does not exist.

@retiutut
Copy link

retiutut commented Sep 8, 2020

@sojamo Same problem. Can you help with some instructions to compile a new jar to be used by Processing?

@jeremydouglass
Copy link

See also:

https://stackoverflow.com/a/61959735/7207622

@retiutut
Copy link

Awesome, this worked! Able to modify and build!

@hchasens
Copy link
Author

Sorry for the late response but I think #162 still solves this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants