static <A extends Concept> A conceptFromComboBox(JComboBox cb, Class<A> cc) { ret conceptFromComboBox(cb, mainConcepts, cc); } static <A extends Concept> A conceptFromComboBox(JComboBox cb, Concepts concepts, Class<A> cc) { S s = getTextFromComboBox(cb); if (empty(s)) null; long id = parseFirstLong(s); ret getConcept(concepts, cc, id); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006616 |
Snippet name: | conceptFromComboBox |
Eternal ID of this version: | #1006616/1 |
Text MD5: | debf1d2b1efbb4864bd8bd8df15d44e9 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-01-22 00:58:18 |
Source code size: | 359 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 413 / 453 |
Referenced in: | [show references] |