compiles with current processing

Line 846, now 847 `_myApplet.setBounds( 0 , 0 , _myApplet.width , _myApplet.height );` would stop the class from compiling because `PApplet.setBounds(int, int, int, int)` is not a function in `PApplete.java`.
This commit is contained in:
Hunter Chasens 2020-02-09 22:45:44 -05:00 committed by GitHub
parent 1f7cb64986
commit e2f6621644
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -843,7 +843,8 @@ public final class ControlWindow {
_myApplet.frame.removeNotify( ); _myApplet.frame.removeNotify( );
_myApplet.frame.setUndecorated( isUndecorated ); _myApplet.frame.setUndecorated( isUndecorated );
_myApplet.setSize( _myApplet.width , _myApplet.height ); _myApplet.setSize( _myApplet.width , _myApplet.height );
_myApplet.setBounds( 0 , 0 , _myApplet.width , _myApplet.height ); // Wont compile as `PApplet.setBounds(int, int, int, int)` is not a function (Im not sure if setBounds does anything important)
//_myApplet.setBounds( 0 , 0 , _myApplet.width , _myApplet.height );
_myApplet.frame.setSize( _myApplet.width , _myApplet.height ); _myApplet.frame.setSize( _myApplet.width , _myApplet.height );
_myApplet.frame.addNotify( ); _myApplet.frame.addNotify( );
} }