Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JFrame size incorrect on MSPaint

sudeep_hsNov 13 2017 — edited Nov 15 2017

HI,

  I created a jframe in an app by setting the size to 400, 800. I launch and take the printscreen [screenshot]. And i transfer it to the Win10 MSPaint. When the rulers and the grids are switched on in the paint app, the sizes does not match with the launched java window.

The screen resoultion is 1920/1080.

Why is this difference found ? Any help appreciated.

    If you take a png image and transfer the same like above, then the paint app shows the correct size.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 13 2017
Added on Nov 13 2017
1 comment
595 views