Transpiled version (13484L) is out of date.
1 | sclass JSelectableDirLabel > JFilePathLabel { |
2 | transient JButton selectButton; |
3 | |
4 | *() {} |
5 | *(File dir) { super(dir); } |
6 | |
7 | void makeButtons :: after { |
8 | selectButton = toolTip("Select a directory", |
9 | jbutton("Choose...", l0 showSelectDialog); |
10 | buttons.add(selectButton); |
11 | } |
12 | |
13 | void showSelectDialog { |
14 | showDirChooser(file(), l1 setFile); |
15 | } |
16 | } |
Began life as a copy of #1034207
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035150 |
Snippet name: | JSelectableDirLabel |
Eternal ID of this version: | #1035150/2 |
Text MD5: | 8542c24a544d8a09a0bf8de7e7155c91 |
Author: | stefan |
Category: | javax / screen recognition |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-04-01 22:14:12 |
Source code size: | 377 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 163 / 222 |
Version history: | 1 change(s) |
Referenced in: | [show references] |