首頁| 論壇| 消息
主題︰呢度有無人識java?help
回帖︰個class名係JTextField

String s = textField.getText();

呢個得左thx~~

========================
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
URL link;
link = new URL("http://humanum.arts.cuhk.edu.hk/Lexis/lexi-can/sound/ngo5.wav");
WavePlayer p = new WavePlayer( link.openStream() );
p.play();

}
========================
呢度唔得....
‹上一樓︰My current TextReader.java
/*
* To change this template, choose Tools | Templates ..

查看全部回帖(9)
«返回主帖