From current source code of jXUI on GitHub...
Java:
/**
* Gets or sets the rectangle width.
*/
public float getWidth() {
return right - left;
}
public void setWidth(int w) {
right = left + w;
}
/**
* Gets or sets the rectangle height.
*/
public float getHeight() {
return bottom - top;
}
public void setHeight(float h) {
bottom = top + h;
}