ControlP5 ControlFont not working
              in 
             Contributed Library Questions 
              •  
              2 years ago    
            
 
           
             Hi there,
            
            
I'm using the controlP5 library and trying to use the .setControlFont method.
            
I'm using the following code.
            
            
            
IllegalAccessError: tried to access field processing.core.PFont.smooth from class controlP5.ControlFont
            
I'm using the latest versions of both Processing and the ControlP5 library. I can't see where I'm going wrong. Any help would be appreciated.
            
Thanks, mark.
 
           
 
            
           I'm using the controlP5 library and trying to use the .setControlFont method.
I'm using the following code.
- controlP5 = new ControlP5(this);
 controlP5.setControlFont(new ControlFont(createFont("Arial",15), 15));
IllegalAccessError: tried to access field processing.core.PFont.smooth from class controlP5.ControlFont
I'm using the latest versions of both Processing and the ControlP5 library. I can't see where I'm going wrong. Any help would be appreciated.
Thanks, mark.
 
              
              1  
            
 
            
 
 
          