Changing display settings at runtime

Hi, jme developers.

Is there a way to change the resolution or fullscreen mode on runtime and apply them?