getsize

Java Frame Desktop Position

By default the frame, you create, is placed on the left top corner of the monitor by JVM. But you can dictate the position. In the following program, the frame is positioned in the center of the monitor. The task here is, you must get the screen (monitor) size and…

Java Retrieve Font Information

Java Retrieve Font Information Summary: By the end of this tutorial "Java Retrieve Font Information", you will be comfortable to retrieve the components of Font object like font name, style and size. The Font object (discussed earlier) comprises of three components – font name as string, font style and font…