display resolutions and aspect ratio's

Two questions:1. Is there a way to get the aspect ratio of the screen?2. Is there a way from within Java to take over the entire screen and set the screen resolution without using DirectX?
[209 byte] By [Will2Playa] at [2007-10-3 9:40:42]
# 1
hi!for your first problem you can reffer to Toolkit.getDefaultToolkit().getScreenSize()after that you can easily calculate the ratio..:)
Aniruddha-Herea at 2007-7-15 4:56:43 > top of Java-index,Desktop,Core GUI APIs...