[Solved] keyPressed() not working in Eclipse
in
Core Library Questions
•
1 year ago
Just stumbled upon a strange problem: The function keyPressed() is not getting called when using Eclipse.
My class looks like this:
- package MyPackage;
- public class MyClass extends PApplet{
- public static void main(String[] args){
- PApplet.main(new String[] {"MyPackage.MyClass" });
- }
- @Override
- public void setup(){
- println("println working");
- }
- @Override
- public void keyPressed(){
- println("println not working");
- }
- }
Anybody can help me? I'm really confused right now...
Thanks,
Tim
1