1 | static void clearJList(final JList list) { |
2 | if (list != null) swing { |
3 | ((DefaultListModel) list.getModel()).clear(); |
4 | } |
5 | } |
Began life as a copy of #1015284
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021817 |
Snippet name: | clearJList - assumes DefaultListModel |
Eternal ID of this version: | #1021817/1 |
Text MD5: | 9e84d9c28dce7d98cb411d86f337c901 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-28 12:58:20 |
Source code size: | 130 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 261 / 298 |
Referenced in: | [show references] |