When I'm entering fullscreen I'm also changing display mode, but my app can't use the best refresh rate avilable in the system at specified screen res. getRefreshRate returns REFRESH_RATE_UNKNOWN. So is there java based workaround for this or should I write res. switching function in native code?

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org