OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 142 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 142 Rev 174
Line 83... Line 83...
83
                    maxWidth = Math.max(1, str.length() - 1);
83
                    maxWidth = Math.max(1, str.length() - 1);
84
                    System.out.println(w + " " + getLeftMargin() + " " + maxWidth);
84
                    System.out.println(w + " " + getLeftMargin() + " " + maxWidth);
85
 
85
 
86
                }
86
                }
87
                super.paint(g);
87
                super.paint(g);
-
 
88
 
-
 
89
                g.setColor(Color.LIGHT_GRAY);
-
 
90
                g.drawLine(0, 0, 0, this.getHeight());
-
 
91
 
88
            }
92
            }
89
 
93
 
90
            private int getLeftMargin() {
94
            private int getLeftMargin() {
91
 
95
 
92
                return 10;
96
                return 10;