Location:
Search - media playerJa
Search list
Description: MediaPlayer代码,部分代码,合适请用:
import java.awt.*
import java.awt.event.*
import javax.swing.*
import javax.media.*
import java.io.*
import java.util.* //为了导入Vector
//import com.sun.java.swing.plaf.windows.*
public class MediaPlayer extends JFrame implements ActionListener,Runnable
{
private JMenuBar bar //菜单条
private JMenu fileMenu,choiceMenu,aboutMenu
private JMenuItem openItem,openDirItem,closeItem,about,infor
private JCheckBoxMenuItem onTop
private boolean top=false,loop //设定窗口是否在最前面
private Player player //Play是个实现Controller的接口
private File file,listFile //利用File类结合JFileChooser进行文件打开操作,后则与list.ini有关-MediaPlayer code, some code, appropriate use: import java.awt .* import java.awt.event .* import javax.swing .* import javax.media .* import java.io.* import java.util .*// in order to import Vector// import com.sun.java.swing.plaf.windows .* public class MediaPlayer extends JFrame implements ActionListener, Runnable (private JMenuBar bar// menu bar private JMenu fileMenu, choiceMenu, aboutMenu private JMenuItem openItem, openDirItem, closeItem, about, infor private JCheckBoxMenuItem onTop private boolean top = false, loop// set the window in the top private Player player// Play is a Controller Interface realize private File file, listFile// use File Class JFileChooser combine files to open operation, and after the relevant list.ini
Platform: |
Size: 8192 |
Author: benson |
Hits:
Description: JAVA版播放器,具有暴风影音相似的功能,支持视频,MP3的播放,是一款很好的软件,源代码奉上-JAVA version of player, with a storm similar to the functions of video to support video, MP3 player, is a very good software, source code offer
Platform: |
Size: 2318336 |
Author: wangbo |
Hits: