how do i check for fullscreen support in LWJGL?? because i have met a condition where posibly my hardware do not supported fullscreen. i got a JVM crash message like this :
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000, pid=2456, tid=2380
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_04-b05 mixed mode, sharing)
# Problematic frame:
# C 0x00000000
#
# An error report file with more information is saved as hs_err_pid2456.log
#
# If you would like to submit a bug report, please visit:
#
http://java.sun.com/webapps/bugreport/crash.jsp#
but if i switch it using window mode, it running fine. right now i'm switching between fullscreen and window mode via applicaton parameter.
but how do i check it in my code, if the hardware is not supporting fullscreen and move to window mode instead???
TiA