// text = text to display as description of the action static JTable tableDefaultAction(JTable table, S text, O runnable) { Runnable r = rThread(runnable); onDoubleClickOrEnter(table, r); tablePopupMenuItem_top(table, text, r); ret table; }
Began life as a copy of #1003826
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1020963 |
| Snippet name: | tableDefaultAction - put on top of popup menu and register for Enter/double click. runs code in new thread |
| Eternal ID of this version: | #1020963/5 |
| Text MD5: | bd5ed71793e41d0313622872ffa13bed |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-01-12 23:07:17 |
| Source code size: | 254 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 530 / 568 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |