Javaプログラミング言語を使用してWindows XPで表示設定(設定)を変更(変更/更新)することはできますか?Javaで表示設定をプログラム的に変更するにはどうすればよいですか?
私はこのような何かをしたいと思います:
Display[] displays = WindowsXPSystem.getDisplays(); //get all available displays (monitors). assume there are currently two monitors connected
Display d0 = displays[0]; // the first is 24" and is positioned on the left
d0.setPrimary(true); // and it should be primary, so all new windows open on it.
d0.setSize(new Dimension(1920,1080)); //update screen size (resolution)
d0.setPossition(0,0); //and position it on the left
Display d1 = displays[1]; //second monitor is also present
d1.setSize(new Dimension(1440,768)); // and it's 14.1" laptop's display
d1.setPossition(1920,332); //it's positioned on the right
任意のアイデア/提案/ APIをJavaの持つディスプレイの設定を更新する方法?