Saturday, 15 June 2013

java - Padding on JFrame in Windows 7 -


I saw that on JFrame , there is always padding for blue borders in Windows 7 Horizontally 30 and vertical 10 are some). What are the exact values ​​of these straps and do they vary in different versions of Windows?

As noted in a comment as @MadProgrammer, the price looks different and seems to vary between However, you can easily get accurate values ​​on the runtime.

  JFrame frame = new JFrame ("title"); Frame.setVisible (true); Println (frame.getInsets ());   

It is worth mentioning that the frames can not be shown by inset all 0 .

No comments:

Post a Comment