Java 전체화면 해상도 구하기

|
import java.awt.Toolkit;
import java.awt.Dimension;
 
public class test {
 public static void main(String[] agrs){
  Dimension res = Toolkit.getDefaultToolkit().getScreenSize();
  System.out.println("해상도 : " + res.width + " x " + res.height);  
 }
}



And