51Testing软件测试论坛
标题:
用Java add-in extensibility 改写mousePressed方法,该怎么做?
[打印本页]
作者:
BTTESTER
时间:
2008-10-6 16:25
标题:
用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());
}
}
谁有代码能参考一下?
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2