I have created a desktop application using java swing on a system with resolution- 1920 x 1080. When i run this application on a lower resolution screen the screen size seems to be to large to be visible on the lower screen resolution sizes. How do i overcome this problem using programming?
I have tried below code, which is not satisfying
Any other options please..
I have tried below code, which is not satisfying
Code:
Toolkit t = Toolkit.getDefaultToolkit(); Dimension d = t.getScreenSize(); int h = d.height; int w = d.width; this.setSize( 1200 , 950 );
Any other options please..
Comment