From e2f66216449fef13958ecf95764984dbfd78c0f0 Mon Sep 17 00:00:00 2001 From: Hunter Chasens Date: Sun, 9 Feb 2020 22:45:44 -0500 Subject: [PATCH] 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`. --- src/controlP5/ControlWindow.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controlP5/ControlWindow.java b/src/controlP5/ControlWindow.java index 968d172..f42c473 100755 --- a/src/controlP5/ControlWindow.java +++ b/src/controlP5/ControlWindow.java @@ -843,7 +843,8 @@ public final class ControlWindow { _myApplet.frame.removeNotify( ); _myApplet.frame.setUndecorated( isUndecorated ); _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.addNotify( ); }