看板java
标 题Re: 请问怎麽写程式模拟使用者按下Button的行为
发信站KKCITY (Wed Apr 19 18:23:40 2006)
转信站ptt!ctu-reader!ctu-gate!news.nctu!news.ntu!bbs.ee.ntu!zoonews.ee.ntu!n
※ 引述《[email protected] (test all the thing)》之铭言:
> ※ 引述《[email protected] (参不透呀~)》之铭言:
> > 先取得那个Button的reference
> > 然後执行button.doClick();
> > 应该就会是你想要的效果了:P
> > GL & HF
> 如果说要"模拟使用者按下"
> 最接近的解应该是用java.awt.Robot XD
可以了 刚温喔 ~~ ^^
--
┌─────◆KKCITY◆─────┐ ◢
◤ 动态歌词 让你成为K歌之王!
│ bbs.kkcity.com.tw │ \^_^ / ★ http://www.kkbox.com.tw ★
└──《From:140.109.18.149
》──┘ ◤ 唱片公司授权,音乐尽情下载
--