Libraryless. Click here for Pure Java version (106L/1K/4K).
1 | !747 |
2 | !actionListener { |
3 | !721 // thread { |
4 | !x1000805 // awt { |
5 | |
6 | main { |
7 | static LogView logView; |
8 | |
9 | !include #1000815 // LogView |
10 | |
11 | psvm { |
12 | awt { |
13 | JFrame frame = new JFrame("LogView Test"); |
14 | |
15 | logView = new LogView; |
16 | logView.println("Hello Agnes"); |
17 | //logView.println("Hello Julia"); |
18 | |
19 | frame.add(logView); |
20 | frame.setBounds(100, 100, 500, 400); |
21 | print("Showing"); |
22 | frame.setVisible(true); |
23 | exitOnFrameClose(frame); |
24 | print("Done showing"); |
25 | |
26 | logView.println("Hello Julia"); |
27 | print("yup"); |
28 | } |
29 | } |
30 | } |
Began life as a copy of #1000816
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
No comments. add comment
Snippet ID: | #1000823 |
Snippet name: | LogView test - fixed by putting UI creation in awt { } |
Eternal ID of this version: | #1000823/1 |
Text MD5: | c566ff6a1732fd29c51c48b87531f424 |
Transpilation MD5: | 74e4d66e0f42b2599f2d88a98e7bab2c |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-08-28 20:33:40 |
Source code size: | 601 bytes / 30 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 707 / 746 |
Referenced in: | [show references] |