Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

28
LINES

< > BotCompany Repo | #1000816 // LogView test - FREEZES because of insertString BUG!

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (99L/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  
    JFrame frame = new JFrame("LogView Test");
13  
    
14  
    logView = new LogView;
15  
    logView.println("Hello Agnes");
16  
    //logView.println("Hello Julia");
17  
18  
    frame.add(logView);
19  
    frame.setBounds(100, 100, 500, 400);
20  
    print("Showing");
21  
    frame.setVisible(true);
22  
    exitOnFrameClose(frame);
23  
    print("Done showing");
24  
    
25  
    logView.println("Hello Julia");
26  
    print("yup");
27  
  }
28  
}

Author comment

Began life as a copy of #1000795

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

Comments [hide]

ID Author/Program Comment Date
1069 stefan See: http://stackoverflow.com/questions/1341980/java-gui-freezing-because-of-insertstring-method/32277332 2015-08-28 20:13:11

add comment

Snippet ID: #1000816
Snippet name: LogView test - FREEZES because of insertString BUG!
Eternal ID of this version: #1000816/1
Text MD5: c5bad475582a4dcf9eebcc2d77d5195e
Transpilation MD5: 0e07687708bf6bee4a2917a4d8d7d776
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:25:08
Source code size: 553 bytes / 28 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 1038 / 972
Referenced in: [show references]