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

25
LINES

< > BotCompany Repo | #1001614 // Swing: Test dataToTable

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

Libraryless. Click here for Pure Java version (1549L/10K/34K).

1  
!747
2  
!awt {
3  
!pcall
4  
5  
m {
6  
  static JTable tbl;
7  
  static O data;
8  
  
9  
  p {
10  
    data = unstructure(loadSnippet("#1001610"), true);
11  
    
12  
    JFrame frame = new JFrame("A Table");
13  
    frame.setBounds(10, 10, 400, 400);
14  
15  
    tbl = new JTable();
16  
    updateTable();
17  
    
18  
    frame.getContentPane().add(new JScrollPane(tbl));
19  
    frame.setVisible(true);
20  
  }
21  
  
22  
  static void updateTable() {
23  
    dataToTable(tbl, data);
24  
  }
25  
}

Author comment

Began life as a copy of #1001611

download  show line numbers  debug dex  old transpilations   

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

Comments [hide]

ID Author/Program Comment Date
1155 stefan Works! 2015-10-28 19:43:44

add comment

Snippet ID: #1001614
Snippet name: Swing: Test dataToTable
Eternal ID of this version: #1001614/1
Text MD5: e83af8e4d7263ada13f636d567489f0b
Transpilation MD5: b6347fc804c39b2b356160ded129a45c
Author: stefan
Category:
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-10-28 20:14:51
Source code size: 437 bytes / 25 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 853 / 811
Referenced in: [show references]