Issue
look at the image and you will understand what my problem
that's happened in this computer which is 4k UHD
this problem was under netbeans itself but i fix it using netbeans-ide-scaling-on-windows-8-10
when i tried to test it under swing
this problem appear again.
setSize
and setFont(new Font(MAX_FONT_SIZE))
are not what i'm looking for.
my working environment is:
- windows 10 home
- netbeans v8.0.2
Solution
May be you are not preparing the dimension on jframe. Go to the design panel and click jframe. set the preferredSize, width, height to change the size of jframe on properties window. I think that it will be work.
Answered By - Sachintha