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

5
LINES

< > BotCompany Repo | #1006354 // growToTop - grow frame to top of screen

JavaX fragment (include)

static int growToTop_inset = 20;

static JFrame growToTop(JFrame f) {
  ret f == null ? null : frameGrowUpper(f, max(0, -(growToTop_inset-f.getY())));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006354
Snippet name: growToTop - grow frame to top of screen
Eternal ID of this version: #1006354/1
Text MD5: c0b9a05abb6e5580df2687a11dfb4472
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-29 01:51:38
Source code size: 156 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 403 / 437
Referenced in: [show references]