改变JFileChooser的外观 [英] change look and feel of JFileChooser in swing
本文介绍了改变JFileChooser的外观的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的要求是为JFileChooser显示的每个目录添加复选框. 并提供多种选择功能.
My requirement is to add check box with every directory which is shown by JFileChooser. and give multi selection facility.
我该如何实现?
推荐答案
实现自定义组件可能比更改JFileChooser
来支持此(奇数)要求更容易.您可能首先要更改文件管理器问题中使用的组件.
It would probably be easier to implement a custom component than alter a JFileChooser
to support this (odd) requirement. You might start with altering the component used in File Manager questions.
这篇关于改变JFileChooser的外观的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文