Answer the question
In order to leave comments, you need to log in
How is such a syntactic construction implemented?
Hello!
Using a variable of type Rectangle2D, we can write it like this:
Rectangle2d ourscreen = new Rectangle2d(minX, minY, width, height);
Rectangle2D ourScreen = Screen.getPrimary().getBounds();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question