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

9
LINES

< > BotCompany Repo | #1020526 // Test JMenuScroller

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

Download Jar. Libraryless. Click here for Pure Java version (7486L/53K).

!7

!include once #1020525

p-exp {
  final JMenu menu = addMenu(showFrame("Hello"), "Test");
  for i to 30: addMenuItem(menu, str(i), null);
  swing { JMenuScroller.setScrollerFor(menu); }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020526
Snippet name: Test JMenuScroller
Eternal ID of this version: #1020526/1
Text MD5: 71a56276d669c0bae7c10b8f50ca4b60
Transpilation MD5: 805b97d46843c41da09094374c3b9c99
Author: stefan
Category: javax / gui
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-25 19:41:28
Source code size: 199 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 261 / 797
Referenced in: [show references]