public void playerUpdate(final Player p, final String event, final Object eventData) { // queue a call to updateEvent in the user interface event queue Display display = Display.getDisplay(midlet) display.callSerially(new Runnable() { public void run() { DRMPlayer.this.updateEvent(p, event, eventData) } }) }
資源簡介:public void playerUpdate(final Player p, final String event, final Object eventData) { // queue a call to updateEvent in the user interface event queue Display display = Display.getDisplay(midlet) display.callSerially(new Runnable...
上傳時間: 2013-12-18
上傳用戶:1109003457
資源簡介:package youxiangtu import java.io.* public class YXTu{ static public void main(String[] args){
上傳時間: 2014-01-10
上傳用戶:zjf3110
資源簡介:class NumberListener implements ActionListener{ public void actionPerformed(ActionEvent e){ if (!append) { tf.setText("") append=true } String s=tf.getText() s+=e.getActionCommand() tf.setText(s) if (!btn[10].isEnable...
上傳時間: 2013-12-05
上傳用戶:wys0120
資源簡介:if(e.getActionCommand()=="參數法畫圓"){ p=11 } } //actionPerformed //實現接口WindowListener的所有方法,用于處理發生在窗口上的事件 public void windowClosing(WindowEvent e)
上傳時間: 2016-02-27
上傳用戶:busterman
資源簡介:java的一個源代碼,、 public class ThunderBoltAct extends Canvas implements Runnable { private int TIMEOUT = 0 private final static int NUMERIC = 10000 //總分 private final static int INERRGAL = 60 //頻率 private final static int M...
上傳時間: 2016-04-26
上傳用戶:jichenxi0730
資源簡介:package query public class LinkQuery { private Node front private Node vear public LinkQuery() { this.front=null this.vear=null } public void add(int i) { Node newNode=new Node(i) if(vear==null && front==...
上傳時間: 2016-07-08
上傳用戶:天誠24
資源簡介:1. 學生成績刪除功能:該功能通過調用int shanchu(struct Student *p,int x,int num,float a[])來實現。該功能采用的是詢問管理人員的意見之后再功能實現,由學號來引出學生信息,當學號不存在時,系統將給出信息“該學生不存在!”。然后詢問管理員是否繼續...
上傳時間: 2013-12-02
上傳用戶:hebmuljb
資源簡介:物料管理 物料登記 批量登記:一次性導入多條物料 單條登記:只能錄入一條物料信息 物料管理 更新: 刪除: 查看: 物料導出 庫管員可以將系統中登記的所有物料一次性導出來 MaterialImport public MaterialImport( MateiralManager manager, Str...
上傳時間: 2013-12-03
上傳用戶:fredguo
資源簡介:本附錄介紹一些新的A P I函數,有了這些函數,便可在自己的計算機上對I P協議統計情況 進行查詢和管理。它們有助于獲得下面的能力: ■ I p c o n f i g . e x e(或適用于微軟Windows 95的Wi n i p c f g . e x e):顯示I P配置信息,允許釋放 和更新D H...
上傳時間: 2014-01-12
上傳用戶:569342831
資源簡介:This code is a cipher which takes in a plaintext or ciphertext string and encrypts / decrypts according to a user defined key value.
上傳時間: 2014-01-05
上傳用戶:181992417
資源簡介:OpenSS7 This the fourth public release of the OpenSS7 Master Package. See README in the release for a sub-package listing. Most of the sub-packages in the release are production grade for Linux Fast-STREAMS. All existing validation test sui...
上傳時間: 2015-10-28
上傳用戶:cc1
資源簡介:26.編寫一個具有如下樣式的類模板tmplt,用于實現所謂的反序輸出問題,其中使用了類型參數T(使所處理的元素類型可變化)以及普通參數n(元素個數也可變化): template <class T, int n> class tmplt { T arr[n] // n個T類型的數據存放于數組arr之中 ...
上傳時間: 2014-01-07
上傳用戶:xiaoxiang
資源簡介:本程序執行后,創建一個能夠加載文字的面板,文字的內容是本地主機的IP地址的動態顯示。跑馬燈文字的大小和跑馬燈文字顯示的速度都可以在GatutTextCrawler.html文件里通過參數進行設置。 編程思路:首先,本練習因為要制作偵測IP的跑馬燈的實例,所以首先要...
上傳時間: 2016-06-06
上傳用戶:miaochun888
資源簡介:為了實現定時事件,我們引入了一個接口implements TimerClient這個接口是別人做好了的,具體代碼在包中,它的作用是只要我們設置一下定時產生事件的時間,它就定時調用方法public void timerEvent(int id)因此,我們就在這個方法中每調用一次,在不同的地方畫...
上傳時間: 2016-11-22
上傳用戶:wpwpwlxwlx
資源簡介:java 線程 靜態鎖,對象鎖, synchronized 是鎖方法還是鎖對象?還是鎖類?如何實現?? 部分代碼如下, public static Object lock=new Object() //靜態鎖,鎖類,不是鎖對象了!!所以兩個線程同時 運行兩個 TestThread 的execute( ),也可以同...
上傳時間: 2017-07-15
上傳用戶:lijianyu172
資源簡介:兩個鏈表的交集 #include<stdio.h> #include<stdlib.h> typedef struct Node{ ? int data; ? struct ?Node *next; }Node; void initpointer(struct Node *p){ ? p=NULL; } int ?printlist(struct Node* head){ ? int flag=1; ? head=head->next; ...
上傳時間: 2015-04-27
上傳用戶:coco2017co
資源簡介:/** ?* 用于在邏輯和界面間傳輸數據的bean ?* @version 1.0 ?*/ public class DataBean { ? ? private int first = -1; ? ? private int second = -1; ? ? public int getFirst() { ? ? ? ? return first; ? ? } ? ? public int getSecon...
上傳時間: 2015-11-07
上傳用戶:dddhhhwww
資源簡介:利用“原始套接字”(Raw Socket),我們可訪問位于基層的傳輸協議。本章專門講解如 何運用這種原始套接字,來模擬I P的一些實用工具,比如Tr a c e r o u t e和P i n g程序等等。使用原 始套接字,亦可對I P頭信息進行實際的操作。本章只關心I P協議;至于...
上傳時間: 2015-07-08
上傳用戶:時代電子小智
資源簡介:本文專門講解如何運用這種原始套接字,來模擬I P的一些實用工具,比如Tr a c e r o u t e和P i n g程序等等。使用原始套接字,亦可對I P頭信息進行實際的操作。
上傳時間: 2013-12-24
上傳用戶:wqxstar
資源簡介:快速排序算法是基于分治策略的另一個排序算法。其基本思想是,對于輸入的字數組a[p:r],按以下3個步驟進行排序: (1)分解:以a[p]為基準元素將a[p:r]劃分成3段a[p:q-1],a[q]和a[q+1:r],使得a[p:q-1]中任何元素小于等于a[q],a[q+1:r],中的任何元素大于等...
上傳時間: 2016-07-09
上傳用戶:wuyuying
資源簡介:European Research Framework programs are public policy instruments designed to strengthen European competitiveness through cooperation. Although they have a fixed time frame, determined research themes, and a specific expected impact, the a...
上傳時間: 2020-05-31
上傳用戶:shancjb
資源簡介:My association with the theory of controls in continuous time started during my studies at the Indian Institute of Technology, Kharagpur, India, in 1974 as an undergraduate student in the Controls and Power program. The initial introduction...
上傳時間: 2020-06-10
上傳用戶:shancjb
資源簡介:摘# 要:設計和制作了一款&& ?G(!& )*)液晶電視用4F9 背光源。模擬出4F9 的光學分布,以此為基礎模擬出4F9 陣列的光強和顏色分布,得到適合的背光源厚度尺寸。在實際制作中,采用高效的驅動電路對4F9 陣列進行驅動,利用鋁制散熱片為背光源提供必須的散熱。...
上傳時間: 2021-12-09
上傳用戶:
資源簡介:public class month1{ public static void main(String [] args){ int month = 10 int days = 0 switch(month){ case 1: days = 31 case 2: days = 28 case 3: days = 31
上傳時間: 2014-08-26
上傳用戶:chenbhdt
資源簡介:String int 字符串常量池 包裝類型 函數參數 值傳遞引用傳遞 的 內存分配例子——源碼 代碼段: public static void fun_ref (Ref_test ref_out){ Ref_test ref_in=new Ref_test() ref_in.s1="in" //ref_out.s1="out" ref_out=ref_in //...
上傳時間: 2013-12-27
上傳用戶:ls530720646
資源簡介:第一個Java程序 public class Practice { public static void main(String args[]) { System.out.println("**********************************") System.out.println("** Practice makes perfect") System.out.println("*****************...
上傳時間: 2017-09-05
上傳用戶:xiaoyunyun
資源簡介:java 100例子 import javax.swing.JOptionPane //調用method class c { //定義名字 public static void main(String[] args) { //開始method JOptionPane.showMessageDialog( null, "錯誤" ) //顯示一條信息 System.exit(0) // 結束程序...
上傳時間: 2015-05-18
上傳用戶:gengxiaochao
資源簡介:public class CircleMenuCanvas extends Canvas implements Runnable{ double pi = Math.PI public final int MENURIGHT = 1 public final int MENULEFT = 0 Image menuImage[] = new Image[6] int []jiaodu = {330,30,90,150,210,270} Stri...
上傳時間: 2014-01-08
上傳用戶:zhaoq123
資源簡介:J2ME MIDP2.0 final specification
上傳時間: 2015-01-23
上傳用戶:壞天使kk
資源簡介:1995年ACM contest final試題和源碼
上傳時間: 2015-02-10
上傳用戶:洛木卓