Libraryless. Click here for Pure Java version (102L/1K/4K).
| 1 | !747 | 
| 2 | !actionListener {
 | 
| 3 | !721 // thread { | 
| 4 | !x1000805 // awt {
 | 
| 5 | |
| 6 | main {
 | 
| 7 | static LogView logView; | 
| 8 | |
| 9 | !include #1000820 // the bug-free 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: | #1000821 | 
| Snippet name: | LogView test 2 | 
| Eternal ID of this version: | #1000821/1 | 
| Text MD5: | b8ad6cd26bef783736a69d6a34b8b2d1 | 
| Transpilation MD5: | 78024a7297235697bae9727681a37235 | 
| 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:30:53 | 
| Source code size: | 614 bytes / 30 lines | 
| Pitched / IR pitched: | No / Yes | 
| Views / Downloads: | 916 / 1023 | 
| Referenced in: | [show references] |