文件名称:JLISTDEMO
- 所属分类:
- JSP源码/Java
- 资源属性:
- 上传时间:
- 2014-04-30
- 文件大小:
- 26kb
- 下载次数:
- 0次
- 提 供 者:
- 嗖**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
在Java的列表单元中实现图标,用Java实现一个可以在列表单元中显示图标的小程序。通过实现javax.swing.ListCellRenderer 接口来创建自定义的列表单元渲染类OwnCellRenderer,并且为了使列表单元同时显示图标和文本,OwnCellRenderer 同时将继承JLabel类。图标显示在左,文本在右。
-Java icon in the list to achieve unit, implemented in Java applet that can display an icon in the list of units. To create a custom list cell renderer class OwnCellRenderer by implementing javax.swing.ListCellRenderer interface, and in order to make the list of units simultaneously display icons and text, OwnCellRenderer JLabel class will inherit the same time. Icon is displayed on the left, text on the right.
-Java icon in the list to achieve unit, implemented in Java applet that can display an icon in the list of units. To create a custom list cell renderer class OwnCellRenderer by implementing javax.swing.ListCellRenderer interface, and in order to make the list of units simultaneously display icons and text, OwnCellRenderer JLabel class will inherit the same time. Icon is displayed on the left, text on the right.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
(没有文件,原文件不完全或已损坏或有密码)