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

21
LINES

< > BotCompany Repo | #1014276 // PApplet2

JavaX fragment (include)

1  
sclass PApplet2 extends PApplet {
2  
  S title;
3  
4  
  void setTitle(S title) {
5  
    this.title = title;
6  
    ifndef Processing2
7  
      getSurface().setTitle(title);
8  
    endifndef
9  
    ifdef Processing2
10  
      setFrameTitle(frame, title);
11  
    endifdef
12  
  }
13  
  
14  
  void settings() {}
15  
  
16  
  void setup() {
17  
    ifdef Processing2
18  
      settings();
19  
    endifdef
20  
  }
21  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1014276
Snippet name: PApplet2
Eternal ID of this version: #1014276/12
Text MD5: ecc53631d7f340dcab6614fd2dbf1cc2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-30 15:16:39
Source code size: 366 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 288 / 857
Version history: 11 change(s)
Referenced in: [show references]