您应该看一下GraphicsEnvironment。
特别是
getScreenDevices():
返回所有屏幕GraphicsDevice对象的数组。
您可以从这些GraphicDevice对象获取尺寸(通过间接获得
getDisplayMode)。(该页面还显示了如何在特定设备上放置框架。)
而且你可以从通过一个Jframe其设备
getGraphicsConfigration()的方法,它返回一个GraphicsConfiguration的,有一个
getDevice()。(该
getIDstring()方法可能使您能够区分屏幕。)



