freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

音樂播放器畢業(yè)設計論文-資料下載頁

2024-08-26 03:30本頁面

【導讀】在信息,技術(shù)高速發(fā)展的今天,多媒體技術(shù)也越來越受到人們的重視。前使用較多的音樂播放器作出較詳細的比較。通過閱讀多張文獻,分析了一些音樂播。本文主要介紹了一個基于JavaApplet來實現(xiàn)的音樂播放器的設計。作原理,最后說明系統(tǒng)需要實現(xiàn)的功能。音樂是一種聲音符號,表達人的思想感情。是人們思想的載體之一。的和內(nèi)涵的,其中隱含了作者的生活體驗,思想情懷。一款好的pc音樂播放器不僅。能夠提供好的音樂播放效果,更能夠為用戶提供方便的操作。本設計利用java語言和eclipse編輯工具對播放器進行編寫。下一曲、上一曲、音量調(diào)節(jié)等功能與一體,性能良好。該播放器支持MP3、WAV、MP3. 和AIFF等音頻格式。在開發(fā)的過程中采用瀑布模型。項目分模塊編碼;第三階段對項目進行全面的測試和系統(tǒng)集成測試。

  

【正文】 Rectangle rectemp = new Rectangle(temp, i, j temp, 1)。 (new Area(rectemp))。 temp = 0。 } } } temp = 0。 } return rec。 } /** * 獲取像素 的 Alpha 值 * * @param pixel * @return 像素的 Alpha 值 */ private int getAlpha(int pixel) { return (pixel 24) amp。 0xff。 } @Override public void paint(Graphics g) { // (g)。 //運行此行會導致鼠標進入窗體時窗口閃爍 (img, 0, 0, null)。 ()。 四川科技職業(yè)學院 畢業(yè)設計 (論文 ) 第 27 頁 ()。 ()。 ()。 ()。 ()。 } // public static void main(String[] args) { // repanl sample = new repanl()。 // (true)。 // } 播放模式功能實現(xiàn) /** * 隨機播放 */ public static void randomSong() { int randNumber = (int) (() * (() 1))。 initPlayer((randNumber))。 start()。 (randNumber)。 } 歌詞背景功能實現(xiàn) 歌詞背景菜單包含風車,傾聽,蒲公英,許愿,無背景, 5 個子菜單。如圖 : 四川科技職業(yè)學院 畢業(yè)設計 (論文 ) 第 28 頁 圖: /** * 加載指定歌詞背景的屬性 * @param file 是屬性文件 */ private void loadProperties(String path) { try { ((path))。// 讀取屬性文件 } catch (FileNotFoundException e) { (FileNotFound)。 } catch (IOException e) { (IOException)。 } } /** * 設置歌詞背景的屬性 * @param i 是屬性的下標 */ public void setProperties(int i) { 四川科技職業(yè)學院 畢業(yè)設計 (論文 ) 第 29 頁 if (i = 0 amp。amp。 i ) { String path = minimusic/syj/properties/lrc/lrc + i + .properties。 loadProperties(path)。 ().setLrcbg(i)。 } } /** * 得到前景色 * @return 前景色 */ public Color getForegroundColor() { String decode = (fgColor)。 if (decode == null) { return new Color(0, 255, 0)。 } return (decode)。 } /** * 得到背景色 * @return 背景色 */ public Color getBackgroundColor() { String decode = (bgColor)。 return (decode)。 } /** 四川科技職業(yè)學院 畢業(yè)設計 (論文 ) 第 30 頁 * 得到背景圖片 Image * @return 背景圖片 */ public Image getBackgroundImage() { String imgPath = (bgImage)。 return new IconTool(imgPath).getImage()。 } public static LRCProperties getInstance() { return lrcp。 } /** * 設置歌詞背景 * @param index 為歌詞背景的下標 */ public void setLRCBackImage(int index) { if (index 0 || index = || index == bgImageNum) { return。 } bgImageMenuItem[index].setIcon(new IconTool(images/).getIcon())。 if (bgImageNum != 1) { bgImageMenuItem[bgImageNum].setIcon(null)。 } (index)。 ()。 bgImageNum = index。 } 四川科技職業(yè)學院 畢業(yè)設計 (論文 ) 第 31 頁 皮膚功能詳細設計 此功能主要采用對話框形式顯示皮膚縮略圖,然后根據(jù)自己喜好選擇設置皮膚,也可以點擊下面的更換顏色選擇器自己配色。如圖 圖 主要功能實現(xiàn)代碼: /** * 皮膚類 * @author jys1109 */ public class MySkin { private static MySkin mySkin = new MySkin()。 private Config config = ()。 private Properties pp = new Properties()。 private int themeNumer = ()。 private MySkin() { setTheme(())。 四川科技職業(yè)學院 畢業(yè)設計 (論文 ) 第 32 頁 } /** * 加載主題 * @param path */ private void loadTheme(String path) { try { ((path))。// 讀取屬性文件 } catch (FileNotFoundException e) { (FileNotFound)。 } catch (IOException e) { (IOException)。 } } /** * 設置主題 * @param i */ public void setTheme(int i) { String path = minimusic/syj/properties/theme/theme + i + .properties。 loadTheme(path)。 (i)。 = i。 refreshSystem()。 } /** * 系統(tǒng) UI 進行更新 */ 四川科技職業(yè)學院 畢業(yè)設計 (論文 ) 第 33 頁 private void refreshSystem() { ().setTheme(themeNumer)。 ().setMenuBackgroundColor(getBackgroundColor())。 ().setBackgroundColor(getBackgroundColor())。 BottomPanel bpnl = ()。 (getForegroundColor())。 (getForegroundColor())。 ().setUI(new MySliderUI(()))。 ().setUI(new MySliderUI(()))。 ().setForeground(getListTextColor())。 ().setForeground(getListTextColor())。 (getForegroundColor())。 ().getListTabPnl().setUI(new MyTabbedPaneUI())。 ().getListTabPnl().setForeground(getListTextColor())。 (getListTextColor())。 (getForegroundColor())。 ().setBorderColor(getListTextColor())。 ().repaint()。 } public Color getBackgroundColor() { return ((bgColor))。 } public Color getForegroundColor() { return ((fgColor))。 } 四川科技職業(yè)學院 畢業(yè)設計 (論文 ) 第 34 頁 public Color getListTextColor() { return ((ltColor))。 } public static MySkin getCurrentSkin() { return mySkin。 } } 當點擊更換按鈕時彈出系統(tǒng)顏色選擇器,如圖 圖 主要功能實現(xiàn)代碼: public void actionPerformed(ActionEvent e) { Object obj = ()。 if (obj == ccButton) { Color newColor = (this, 更換顏色 , null)。 if (newColor != null) { (newColor)。 ().repaint()。 四川科技職業(yè)學院 畢業(yè)設計 (論文 ) 第 35 頁 } } 播放按鈕詳細設計 播放按鈕主要包括:上一曲 /下一曲 ,播放 /暫停,停止,聲音:開 /關(guān)。如圖 主要功能實現(xiàn)代碼: /** * 開始播放音樂 */ public static void start() { if (player != null amp。amp。 !noCanPlaySong()) { ().setLevel(() / )。 setSoundSta
點擊復制文檔內(nèi)容
研究報告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1