如何在swing JList中编辑数据 [英] how do one edit data in swing JList

查看:334
本文介绍了如何在swing JList中编辑数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何编辑JList中显示的数据,或许可以使用jListselectionListener?

How can I edit data displayed in JList,perhaps making use of jListselectionListener?

推荐答案

http://docs.oracle.com/javase/tutorial/uiswing/components/list.html [ ^ ]



在这里查看解决方案。



玩得开心。
http://docs.oracle.com/javase/tutorial/uiswing/components/list.html[^]

Check for a solution here.

Have fun.


这篇文章可能会有所帮助 - 动态更新列表 [ ^ ]
This article may be helpful - Dynamically Updating a List[^]


这篇关于如何在swing JList中编辑数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆