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) } }) }
資源簡(jiǎn)介: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...
上傳時(shí)間: 2013-12-18
上傳用戶:1109003457
資源簡(jiǎn)介:package youxiangtu import java.io.* public class YXTu{ static public void main(String[] args){
上傳時(shí)間: 2014-01-10
上傳用戶:zjf3110
資源簡(jiǎn)介: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...
上傳時(shí)間: 2013-12-05
上傳用戶:wys0120
資源簡(jiǎn)介:if(e.getActionCommand()=="參數(shù)法畫圓"){ p=11 } } //actionPerformed //實(shí)現(xiàn)接口WindowListener的所有方法,用于處理發(fā)生在窗口上的事件 public void windowClosing(WindowEvent e)
上傳時(shí)間: 2016-02-27
上傳用戶:busterman
資源簡(jiǎn)介:java的一個(gè)源代碼,、 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...
上傳時(shí)間: 2016-04-26
上傳用戶:jichenxi0730
資源簡(jiǎn)介: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==...
上傳時(shí)間: 2016-07-08
上傳用戶:天誠(chéng)24
資源簡(jiǎn)介:1. 學(xué)生成績(jī)刪除功能:該功能通過調(diào)用int shanchu(struct Student *p,int x,int num,float a[])來實(shí)現(xiàn)。該功能采用的是詢問管理人員的意見之后再功能實(shí)現(xiàn),由學(xué)號(hào)來引出學(xué)生信息,當(dāng)學(xué)號(hào)不存在時(shí),系統(tǒng)將給出信息“該學(xué)生不存在!”。然后詢問管理員是否繼續(xù)...
上傳時(shí)間: 2013-12-02
上傳用戶:hebmuljb
資源簡(jiǎn)介:物料管理 物料登記 批量登記:一次性導(dǎo)入多條物料 單條登記:只能錄入一條物料信息 物料管理 更新: 刪除: 查看: 物料導(dǎo)出 庫(kù)管員可以將系統(tǒng)中登記的所有物料一次性導(dǎo)出來 MaterialImport public MaterialImport( MateiralManager manager, Str...
上傳時(shí)間: 2013-12-03
上傳用戶:fredguo
資源簡(jiǎn)介:本附錄介紹一些新的A P I函數(shù),有了這些函數(shù),便可在自己的計(jì)算機(jī)上對(duì)I P協(xié)議統(tǒng)計(jì)情況 進(jìn)行查詢和管理。它們有助于獲得下面的能力: ■ 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...
上傳時(shí)間: 2014-01-12
上傳用戶:569342831
資源簡(jiǎn)介:This code is a cipher which takes in a plaintext or ciphertext string and encrypts / decrypts according to a user defined key value.
上傳時(shí)間: 2014-01-05
上傳用戶:181992417
資源簡(jiǎn)介: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...
上傳時(shí)間: 2015-10-28
上傳用戶:cc1
資源簡(jiǎn)介:26.編寫一個(gè)具有如下樣式的類模板tmplt,用于實(shí)現(xiàn)所謂的反序輸出問題,其中使用了類型參數(shù)T(使所處理的元素類型可變化)以及普通參數(shù)n(元素個(gè)數(shù)也可變化): template <class T, int n> class tmplt { T arr[n] // n個(gè)T類型的數(shù)據(jù)存放于數(shù)組arr之中 ...
上傳時(shí)間: 2014-01-07
上傳用戶:xiaoxiang
資源簡(jiǎn)介:本程序執(zhí)行后,創(chuàng)建一個(gè)能夠加載文字的面板,文字的內(nèi)容是本地主機(jī)的IP地址的動(dòng)態(tài)顯示。跑馬燈文字的大小和跑馬燈文字顯示的速度都可以在GatutTextCrawler.html文件里通過參數(shù)進(jìn)行設(shè)置。 編程思路:首先,本練習(xí)因?yàn)橐谱鱾蓽y(cè)IP的跑馬燈的實(shí)例,所以首先要...
上傳時(shí)間: 2016-06-06
上傳用戶:miaochun888
資源簡(jiǎn)介:為了實(shí)現(xiàn)定時(shí)事件,我們引入了一個(gè)接口implements TimerClient這個(gè)接口是別人做好了的,具體代碼在包中,它的作用是只要我們?cè)O(shè)置一下定時(shí)產(chǎn)生事件的時(shí)間,它就定時(shí)調(diào)用方法public void timerEvent(int id)因此,我們就在這個(gè)方法中每調(diào)用一次,在不同的地方畫...
上傳時(shí)間: 2016-11-22
上傳用戶:wpwpwlxwlx
資源簡(jiǎn)介:java 線程 靜態(tài)鎖,對(duì)象鎖, synchronized 是鎖方法還是鎖對(duì)象?還是鎖類?如何實(shí)現(xiàn)?? 部分代碼如下, public static Object lock=new Object() //靜態(tài)鎖,鎖類,不是鎖對(duì)象了!!所以兩個(gè)線程同時(shí) 運(yùn)行兩個(gè) TestThread 的execute( ),也可以同...
上傳時(shí)間: 2017-07-15
上傳用戶:lijianyu172
資源簡(jiǎn)介:兩個(gè)鏈表的交集 #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; ...
上傳時(shí)間: 2015-04-27
上傳用戶:coco2017co
資源簡(jiǎn)介:/** ?* 用于在邏輯和界面間傳輸數(shù)據(jù)的bean ?* @version 1.0 ?*/ public class DataBean { ? ? private int first = -1; ? ? private int second = -1; ? ? public int getFirst() { ? ? ? ? return first; ? ? } ? ? public int getSecon...
上傳時(shí)間: 2015-11-07
上傳用戶:dddhhhwww
資源簡(jiǎn)介:利用“原始套接字”(Raw Socket),我們可訪問位于基層的傳輸協(xié)議。本章專門講解如 何運(yùn)用這種原始套接字,來模擬I P的一些實(shí)用工具,比如Tr a c e r o u t e和P i n g程序等等。使用原 始套接字,亦可對(duì)I P頭信息進(jìn)行實(shí)際的操作。本章只關(guān)心I P協(xié)議;至于...
上傳時(shí)間: 2015-07-08
上傳用戶:時(shí)代電子小智
資源簡(jiǎn)介:本文專門講解如何運(yùn)用這種原始套接字,來模擬I P的一些實(shí)用工具,比如Tr a c e r o u t e和P i n g程序等等。使用原始套接字,亦可對(duì)I P頭信息進(jìn)行實(shí)際的操作。
上傳時(shí)間: 2013-12-24
上傳用戶:wqxstar
資源簡(jiǎn)介:快速排序算法是基于分治策略的另一個(gè)排序算法。其基本思想是,對(duì)于輸入的字?jǐn)?shù)組a[p:r],按以下3個(gè)步驟進(jìn)行排序: (1)分解:以a[p]為基準(zhǔn)元素將a[p:r]劃分成3段a[p:q-1],a[q]和a[q+1:r],使得a[p:q-1]中任何元素小于等于a[q],a[q+1:r],中的任何元素大于等...
上傳時(shí)間: 2016-07-09
上傳用戶:wuyuying
資源簡(jiǎn)介: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...
上傳時(shí)間: 2020-05-31
上傳用戶:shancjb
資源簡(jiǎn)介: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...
上傳時(shí)間: 2020-06-10
上傳用戶:shancjb
資源簡(jiǎn)介:摘# 要:設(shè)計(jì)和制作了一款&& ?G(!& )*)液晶電視用4F9 背光源。模擬出4F9 的光學(xué)分布,以此為基礎(chǔ)模擬出4F9 陣列的光強(qiáng)和顏色分布,得到適合的背光源厚度尺寸。在實(shí)際制作中,采用高效的驅(qū)動(dòng)電路對(duì)4F9 陣列進(jìn)行驅(qū)動(dòng),利用鋁制散熱片為背光源提供必須的散熱。...
上傳時(shí)間: 2021-12-09
上傳用戶:
資源簡(jiǎn)介: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
上傳時(shí)間: 2014-08-26
上傳用戶:chenbhdt
資源簡(jiǎn)介:String int 字符串常量池 包裝類型 函數(shù)參數(shù) 值傳遞引用傳遞 的 內(nèi)存分配例子——源碼 代碼段: 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 //...
上傳時(shí)間: 2013-12-27
上傳用戶:ls530720646
資源簡(jiǎn)介:第一個(gè)Java程序 public class Practice { public static void main(String args[]) { System.out.println("**********************************") System.out.println("** Practice makes perfect") System.out.println("*****************...
上傳時(shí)間: 2017-09-05
上傳用戶:xiaoyunyun
資源簡(jiǎn)介:java 100例子 import javax.swing.JOptionPane //調(diào)用method class c { //定義名字 public static void main(String[] args) { //開始method JOptionPane.showMessageDialog( null, "錯(cuò)誤" ) //顯示一條信息 System.exit(0) // 結(jié)束程序...
上傳時(shí)間: 2015-05-18
上傳用戶:gengxiaochao
資源簡(jiǎn)介: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...
上傳時(shí)間: 2014-01-08
上傳用戶:zhaoq123
資源簡(jiǎn)介:J2ME MIDP2.0 final specification
上傳時(shí)間: 2015-01-23
上傳用戶:壞天使kk
資源簡(jiǎn)介:1995年ACM contest final試題和源碼
上傳時(shí)間: 2015-02-10
上傳用戶:洛木卓