Noob Compiling Problem
public void update (Graphics g) {
Dimension d = getSize();
if ((offGraphics ==null)
***(d.width ! = offDimension.width)
(d.height ! = offDimension.height)) {
offDimension = d;
offImage = createImage(d.width, d.height);
offGraphics = offImage.getGraphics();
}
offGraphics.setColor(getBackground());
offGraphics.fillRect(0, 0, d.width, d.height);
offGraphics.setColor(Color .black);
paintFrame(offGraphics);
g.drawImage(offImage, 0, 0, null);
}
was trying to compile this code with the textpad but failed said that ")" expected on the *** line but i 've no idea where to fill ")" in . thx for help

