文件名称:JLISTDEMO
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2014-04-26
- 文件大小:
- 27kb
- 下载次数:
- 0次
- 提 供 者:
- t**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
在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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
列表单元中实现图标
..................\JLISTDEMO
..................\.........\BAK
..................\.........\...\JLISTDEMO
..................\.........\...\.........\JLISTDEMO.JAVA~1~
..................\.........\...\.........\MAINFRAME.JAVA~1~
..................\.........\...\.........\MAINFRAME.JAVA~2~
..................\.........\...\.........\MAINFRAME.JAVA~3~
..................\.........\...\.........\MAINFRAME.JAVA~4~
..................\.........\...\.........\MAINFRAME.JAVA~5~
..................\.........\...\.........\OWNCELLRENDERER.JAVA~1~
..................\.........\CLASSES
..................\.........\.......\IMAGES
..................\.........\.......\......\1-3-1.JPG
..................\.........\.......\......\1-3-2.JPG
..................\.........\.......\......\1-3-3.JPG
..................\.........\.......\......\1-3-4.JPG
..................\.........\.......\......\1-3-5.JPG
..................\.........\.......\......\1-3-6.JPG
..................\.........\.......\JLISTDEMO
..................\.........\.......\.........\JLISTDEMO.CLASS
..................\.........\.......\.........\MAINFRAME.CLASS
..................\.........\.......\.........\OWNCELLRENDERER.CLASS
..................\.........\.......\PACKAGE CACHE
..................\.........\.......\.............\JLISTDEMO.DEP2
..................\.........\JLISTDEMO.HTML
..................\.........\JLISTDEMO.JPX
..................\.........\JLISTDEMO.JPX.LOCAL
..................\.........\JLISTDEMO.JPX.LOCAL~
..................\.........\JLISTDEMO.JPX~
..................\.........\SRC
..................\.........\...\JLISTDEMO
..................\.........\...\.........\JLISTDEMO.JAVA
..................\.........\...\.........\MAINFRAME.JAVA
..................\.........\...\.........\OWNCELLRENDERER.JAVA