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

21
LINES

< > BotCompany Repo | #1014276 // PApplet2

JavaX fragment (include)

sclass PApplet2 extends PApplet {
  S title;

  void setTitle(S title) {
    this.title = title;
    ifndef Processing2
      getSurface().setTitle(title);
    endifndef
    ifdef Processing2
      setFrameTitle(frame, title);
    endifdef
  }
  
  void settings() {}
  
  void setup() {
    ifdef Processing2
      settings();
    endifdef
  }
}

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: 362 / 933
Version history: 11 change(s)
Referenced in: #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674)