用Java add-in extensibility 改写mousePressed方法,该怎么做?
public void mousePressed(MouseEvent e) {try {
System.out.println("test: mousePressed"); // cannot show this line, why?
if (!isInRecord())
return;
// TODO: Uncomment and edit the call to MicAPI.record
// MicAPI.record(e.getSource(), <Operation>, new
// String[]{<Parameters>});
} catch (Throwable th) {
System.out.println(th.toString());
}
}
谁有代码能参考一下?
页:
[1]