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).

!747
!actionListener {

!721 // thread {
!x1000805 // awt {

main {
  static LogView logView;
  
  !include #1000815 // LogView

  psvm {
    JFrame frame = new JFrame("LogView Test");
    
    logView = new LogView;
    logView.println("Hello Agnes");
    //logView.println("Hello Julia");

    frame.add(logView);
    frame.setBounds(100, 100, 500, 400);
    print("Showing");
    frame.setVisible(true);
    exitOnFrameClose(frame);
    print("Done showing");
    
    logView.println("Hello Julia");
    print("yup");
  }
}

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: 1036 / 969
Referenced in: #1000821 - LogView test 2
#1000823 - LogView test - fixed by putting UI creation in awt { }
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)