📄 audioform.java
字号:
package com.Series40Book;
import javax.microedition.lcdui.*;
public class AudioForm extends Form
implements CommandListener {
private Command done;
public AudioForm () {
super ("Play audio");
done = new Command ("Done", Command.OK, 1);
addCommand (done);
setCommandListener (this);
append (new StringItem ("","The Music is playing"));
}
public void commandAction (Command c, Displayable d) {
if (c == done) {
MediaPlayer.stopPlayer ();
MediaPlayer.showMenu ();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -