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

30
LINES

< > BotCompany Repo | #1000823 // LogView test - fixed by putting UI creation in awt { }

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

Libraryless. Click here for Pure Java version (106L/1K/4K).

!747
!actionListener {

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

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

  psvm {
    awt {
      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 #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: 708 / 747
Referenced in: #3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)