47 |
{ |
{ |
48 |
private static final long serialVersionUID = -4899416460737170217L; |
private static final long serialVersionUID = -4899416460737170217L; |
49 |
|
|
50 |
|
int x = 0; |
51 |
|
int y = 0; |
52 |
int cols; |
int cols; |
53 |
int rows; |
int rows; |
54 |
int colWidths[]; |
int colWidths[]; |
55 |
int rowWidths[]; |
int rowHeights[]; |
56 |
double colWeigths[]; |
double colWeights[]; |
57 |
double rowWeigths[]; |
double rowWeights[]; |
58 |
|
|
59 |
GridBagLayoutInfo (int cols, int rows) |
GridBagLayoutInfo (int cols, int rows) |
60 |
{ |
{ |
61 |
this.cols = cols; |
this.cols = cols; |
62 |
this.rows = rows; |
this.rows = rows; |
63 |
this.colWidths = new int [cols]; |
this.colWidths = new int [cols]; |
64 |
this.rowWidths = new int [rows]; |
this.rowHeights = new int [rows]; |
65 |
this.colWeigths = new double [cols]; |
this.colWeights = new double [cols]; |
66 |
this.rowWeigths = new double [rows]; |
this.rowWeights = new double [rows]; |
67 |
} |
} |
68 |
} |
} |