-
Java自定义鼠标光标
super("自定义光标"); //调用父类构造函数
int[] cursor={Cursor.DEFAULT_CURSOR,Cursor.HAND_CURSOR,Cursor.MOVE_CURSOR,Cursor.N_RESIZE_CURSOR,Cursor.W_RESIZE_CURSOR,Cursor.WAIT_CURSOR,Cursor.TEXT_CURSOR}; //预定义光标数组
Container container=getContentPane(); //得到容器
container.setLayout(new FlowLayout()); //设置容器布局管理器
for (int i=0;i JTextArea jta=new JTextArea(3,6); //实例化一个文本框对象
jta.setCursor(Cursor.getPredefinedCursor(cursor[i])); //设置文本框的光标
container.add(jta); //增加组件到容器上
}
Toolkit toolkit=Toolkit.getDefaultToolkit(); //得到默认的ToolKit对象
Image image=toolkit.getImage("cursor.gif"); //得到图像
Cursor customCursor=toolkit.createCustomCursor(image,new Point(6,6),"MyCursor"); //实例化自定义光标对象
JTextArea jta=new JTextArea(3,6); //实例化文本框
jta.setCursor(customCursor); //设置文本框光标
container.add(jta); //增加组件
setSize(300,160); //设置窗口大小
setVisible(true); //窗口可视
- 2022-03-06 15:35:47下载
- 积分:1
-
nine
说明: 一个九宫格小游戏的源代码,主要应该编辑框,实现输入,编辑和修改,检测(A Jiugongge game' s source code, should the main edit box, the input, editing and revising, testing)
- 2011-04-07 11:59:56下载
- 积分:1
-
cfg命令_peakGrouping_峰值检测
解释TI官方雷达cfg配置文件中的分值检测(Explain the score detection in the CFG configuration file of TI official radar)
- 2020-06-22 18:20:02下载
- 积分:1
-
ver按钮过渡动画效果
说明: 一款CSS3鼠标hover按钮过渡动画效果。该CSS3鼠标h(A CSS3 mouse hover button transition animation effect. The CSS3 mouse H)
- 2019-02-11 15:05:48下载
- 积分:1
-
EAC反作弊绕过工具源代码
说明: 反作弊绕过工具.可以绕过np等大部分反作弊工具(Anti cheating bypass tool. Can bypass most anti cheating tools such as NP)
- 2020-03-15 20:26:26下载
- 积分:1
-
magic_formula_model
说明: 魔术公式轮胎模型,其中包括横向/纵向力以及回正力矩的计算,参数都已调整好(magic formula tyre model developed in Matlab/Simulink)
- 2020-11-17 18:59:40下载
- 积分:1
-
Cexpert
说明: C语言讲得最专业的一本图书,各种疑难都讲得很好,值得拥有(The most professional book in C language is worth having.)
- 2019-05-16 01:16:18下载
- 积分:1
-
mzm.gsp.occupation.confbean.SRoleLevelUpExp
说明: 梦幻诛仙手游原始经验倍率文件 用于替换修复游戏经验获取不正常的问题(The original experience multiplier file of dream kill immortal is used to replace and repair the abnormal problem of obtaining game experience)
- 2020-03-25 22:10:05下载
- 积分:1
-
蒙特卡罗代码大全
关于蒙特卡洛相关方法的MATLAB程序实现(MATLAB program implementation about Monte Carlo method)
- 2018-01-18 20:45:53下载
- 积分:1
-
两阶段三系统网络DEA
能够计算出两阶段三系统的网络dea模型的第一阶段效率、第二阶段效率以及总体效率(The first stage efficiency, the second stage efficiency, and the overall efficiency of the two-stage three-system network DEA model can be calculated)
- 2021-03-08 20:49:28下载
- 积分:1