由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
CS版 - Question about java applet
相关主题
How to Integrate C++ System with OpenGL into Web pagewhat does "@Override" mean in the Java code below? Thanks!
为啥IE8性能还赶不上人家开源的Firefox!?!?用Python读csv文件header?
Cross-platform programming现在哪个最主流?批量下载mp3音频流文件最好用什么软件?
Re: networking is first - faculty posit.如何用python web.py web service 做 multiple parameters 的 c (转载)
如何import acm into Endnote测试一下自己的语言有多快
memory usage and time question请问一个C++调用Python的问题
求助大家 如何用 Eclipse 给一个project加入image (转载)How is this conference? SecureComm
How to import projects from VC 6++ to VC2008ASE short paper, worth 不worth it?
相关话题的讨论汇总
话题: import话题: xpos话题: ypos话题: newx话题: newy
进入CS版参与讨论
1 (共1页)
s****y
发帖数: 478
1
I have two java applets which are listed here.
Program 1:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class MouseDetails extends JApplet {
private String s = "";
private int xPos, yPos;
private int newX, newY;
public void init(){
newX = 0;
newY = 0;
xPos = -1;
yPos = -1;
addMouseMotionListener( new MouseMotionHandler() );
setBackground(Color.black);
setSize( 350, 150 );
}
public void paint( Graphics g )
{
1 (共1页)
进入CS版参与讨论
相关主题
ASE short paper, worth 不worth it?如何import acm into Endnote
上次俺问的那个conf. paper被推荐给journal要不要rewrite的问题memory usage and time question
请教:到底会议的文章能不能再发journal?求助大家 如何用 Eclipse 给一个project加入image (转载)
如何在电视看PPLIVE?How to import projects from VC 6++ to VC2008
How to Integrate C++ System with OpenGL into Web pagewhat does "@Override" mean in the Java code below? Thanks!
为啥IE8性能还赶不上人家开源的Firefox!?!?用Python读csv文件header?
Cross-platform programming现在哪个最主流?批量下载mp3音频流文件最好用什么软件?
Re: networking is first - faculty posit.如何用python web.py web service 做 multiple parameters 的 c (转载)
相关话题的讨论汇总
话题: import话题: xpos话题: ypos话题: newx话题: newy