看板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
》──┘ ◤ 唱片公司授權,音樂盡情下載
--