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

14
LINES

< > BotCompany Repo | #1013397 // Test GraphPanel [OK]

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

Download Jar. Libraryless. Click here for Pure Java version (5899L/39K).

1  
!7
2  
3  
p-awt {
4  
  new L<Double> scores;
5  
  new Random random;
6  
  int maxDataPoints = 40;
7  
  double maxScore = 10;
8  
  for i to maxDataPoints: scores.add(random(maxScore));
9  
    //scores.add((double) i);
10  
11  
  GraphPanel mainPanel = new GraphPanel(scores);
12  
  mainPanel.setPreferredSize(new Dimension(800, 600));
13  
  showCenterPackedFrame("DrawGraph", mainPanel);
14  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1013397
Snippet name: Test GraphPanel [OK]
Eternal ID of this version: #1013397/3
Text MD5: adf1ef9a23fd918067b694c88ea1c2eb
Transpilation MD5: a371e422f1dfac3546d06a70459d1fcc
Author: stefan
Category: javax / gui
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-05 01:29:41
Source code size: 361 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 645 / 1374
Version history: 2 change(s)
Referenced in: [show references]