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).

!747
!awt {
!pcall

m {
  static JTable tbl;
  static O data;
  
  p {
    data = unstructure(loadSnippet("#1001610"), true);
    
    JFrame frame = new JFrame("A Table");
    frame.setBounds(10, 10, 400, 400);

    tbl = new JTable();
    updateTable();
    
    frame.getContentPane().add(new JScrollPane(tbl));
    frame.setVisible(true);
  }
  
  static void updateTable() {
    dataToTable(tbl, data);
  }
}

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: 938 / 920
Referenced in: #1001615 - Swing: Test dataToTable with map
#1001618 - Swing: Test dataToTable (shortened)
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)