JCGLViewportsType g;
AreaInclusiveUnsignedLType area =
AreaInclusiveUnsignedL.of(
new UnsignedRangeInclusiveL(0, 639),
new UnsignedRangeInclusiveL(0, 479)
);
g.viewportSet(area);
The current viewport state is global to a given context; when modified,
it is modified for all subsequent rendering operations on that context
until modified again.