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

15
LINES

< > BotCompany Repo | #1015732 // jAutoSnippetTitle

JavaX fragment (include)

static JLabel jAutoSnippetTitle(final JTextComponent snippetIDChooser) {
  final JLabel label = jlabel();
  awtCalcEveryAndNow(label, 200, new Runnable {
    S last;
    
    public void run {
      S id = getTextTrim(snippetIDChooser);
      if (neq(last, id)) {
        last = id;
        setText(label, isSnippetID(id) ? getSnippetTitle(id) : "");
      }
    }
  });
  ret label;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1015732
Snippet name: jAutoSnippetTitle
Eternal ID of this version: #1015732/2
Text MD5: 526537cf9f9d4f977c6e9f84fbd9aa0d
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-26 13:50:35
Source code size: 399 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 277 / 326
Version history: 1 change(s)
Referenced in: [show references]