Normand Briere
2018-12-17 86f4e9c75951153ae9825f4772633e45698cb602
timeflow/app/ui/ComponentCluster.java
....@@ -8,7 +8,7 @@
88 int numComps=0;
99 int x1=80;
1010 int width=200;
11
- int compH=30;
11
+ int compH=20;
1212 DottedLine line=new DottedLine();
1313
1414 public ComponentCluster(String name)
....@@ -25,9 +25,9 @@
2525 {
2626 add(c);
2727 c.setBorder(null);
28
- c.setBounds(x1,10+numComps*compH, c.getPreferredSize().width, c.getPreferredSize().height);
28
+ c.setBounds(x1,numComps*compH, c.getPreferredSize().width, c.getPreferredSize().height);
2929 numComps++;
30
- line.setBounds(x1-10,10,1,numComps*compH-5);
30
+ line.setBounds(x1-10,10,0,numComps*compH);
3131 }
3232
3333 public Dimension getPreferredSize()