Location:
Search - io ja
Search list
Description: java上传组件源码-java passes on the module source code
Platform: |
Size: 63488 |
Author: 张书扬 |
Hits:
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: 中国联通GPSone模拟网关,用Java写的很好用的GPSone网关,可供开发人员进行测试-GPSone IO
Platform: |
Size: 1891328 |
Author: kv鸟 |
Hits:
Description: Java io的示例程序,在My Ecllipse中打开,结构比较清楚。-Java io sample program, open by My Ecllipse, the structure is clear.
Platform: |
Size: 39936 |
Author: 郭佳临 |
Hits:
Description: UDP实现可靠数据传输。使用GBN算法,实现了:1.随即丢包(随机数产生器Math.random()) 2.丢包后遇冗余ack重传 3.超时重传 (DatagramSocket和Socket都有成员函数setSoTimeout(delay),通过捕获超时时抛出的IO异常来实现超时重传)-Reliable UDP data transfer. GBN algorithm used to realize: 1. Then packet loss (random number generator Math.random ()) 2. After the case of redundant packet loss retransmission ack 3. Retransmission timeout (DatagramSocket and Socket has a member function setSoTimeout ( delay), by capturing the IO exception thrown during timeout to achieve retransmission timeout)
Platform: |
Size: 10240 |
Author: nazali |
Hits: