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

22
LINES

< > BotCompany Repo | #1016703 // Reproduce WebLAF Bug

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

Download Jar. Libraryless. Click here for Pure Java version (2853L/20K).

1  
!7
2  
3  
set flag LeanMode.
4  
5  
p {
6  
  installWebLAF();
7  
  swing {
8  
    JDesktopPane desktop = new JDesktopPane();
9  
    JFrame bigFrame = new JFrame();
10  
    bigFrame.add(desktop);
11  
    bigFrame.setBounds(0, 0, 500, 500);
12  
    bigFrame.setVisible(true);
13  
    
14  
    JInternalFrame frame = new JInternalFrame("Resize me!", true, true, true);
15  
    frame.setBounds(100, 100, 300, 200);
16  
    frame.setVisible(true);
17  
    JTextArea textArea = new JTextArea();
18  
    textArea.setText(repLine(100, "abcabcabcabcabcabcabcabc"));
19  
    frame.getContentPane().add(new JScrollPane(textArea));
20  
    desktop.add(frame);
21  
  }
22  
}

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: #1016703
Snippet name: Reproduce WebLAF Bug
Eternal ID of this version: #1016703/6
Text MD5: 87895ac3f20ef6e9c242de018f1be8a1
Transpilation MD5: 589a66234f32944b56494adb41ebf7e5
Author: stefan
Category: javax / gui
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-28 16:42:45
Source code size: 606 bytes / 22 lines
Pitched / IR pitched: No / No
Views / Downloads: 532 / 1271
Version history: 5 change(s)
Referenced in: [show references]