Skip to content

Wont compile through java #161

@hchasens

Description

@hchasens

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions