Libraryless. Click here for Pure Java version (43L/1K/2K).
1 | !747 |
2 | |
3 | m { |
4 | p { |
5 | JFrame frame = new JFrame("A List!"); |
6 | frame.setBounds(100, 100, 400, 600); |
7 | |
8 | String[] strings = {"Hello", "World!"}; |
9 | JList list = new JList(strings); |
10 | |
11 | frame.getContentPane().add(new JScrollPane(list)); |
12 | frame.setVisible(true); |
13 | exitOnFrameClose(frame); |
14 | |
15 | // Not needed anymore - all VMs are now injectable. |
16 | // injectable(); |
17 | } |
18 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
ID | Author/Program | Comment | Date |
---|---|---|---|
1064 | #1000610 (pitcher) | 2015-10-11 15:46:17 | |
1063 | #1000604 (pitcher) | 2015-10-11 15:46:17 |
Snippet ID: | #1000763 |
Snippet name: | Swing: Show a list of strings |
Eternal ID of this version: | #1000763/1 |
Text MD5: | 7b3dd2c55817bc51a39accf72163b86a |
Transpilation MD5: | 5ee9350fd79f3a2c41d67a17a1904ef1 |
Author: | stefan |
Category: | |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-10-13 21:10:33 |
Source code size: | 406 bytes / 18 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 757 / 795 |
Referenced in: | [show references] |