I have a Java app that launches, creates a GUI and works great. If the user changes the screen resolution (switches from 1440x900 to 1280x768), I d like to be able to listen for that event.
Any ideas?
PS——我想以事件/名单方式,而不是以投票方式这样做,这样,在像一个时间者一样不断投票时,会把CPU以外的周期推到每个N秒的屏幕大小上,看它是否发生了变化。