Hi folks,
My projects code had this in its setup to allow the window to resize;
frame.setResizable(true);
frame.addComponentListener(new ComponentAdapter() {
public void componentResized(ComponentEvent e) {
if(e.getSource()==frame) {
redraw();
}
}
});
frame.addComponentListener(new ComponentAdapter() {
public void componentResized(ComponentEvent e) {
if(e.getSource()==frame) {
redraw();
}
}
});
it worked fine until I updated my Processing from 1.08 to 1.2 and know all im getting is this...
"Cannot find a class or type named "ComponentAdapter"
Now its been a while since I put this code in, and Im wondering if I've replaced the Processing folder and lost a Java library I put in to make this work - but I cant remember for the life of me what it could be.
Hope anyone can help!
-Dave
1