Olá galera!
Tem como descobrir em tempo de execução em qual resolução está setado o vídeo?
Resolução atual da tela - RESOLVIDO
3 Respostas
import java.awt.GraphicsDevice;
import java.awt.GraphicsEnvironment;
...
GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDisplayMode().getWidth();
GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDisplayMode().getHeight();
GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDisplayMode().getBitDepth();
GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDisplayMode().getRefreshRate();
...
Funfou! Valew!!!
o que é o getBitDepth() e o getRefreshRate() se o getWidth() e o getHeight() já pegam largura e altura ?
Não entendi.
Vlw
Criado 20 de abril de 2006
Ultima resposta 30 de mai. de 2006
Respostas 3
Participantes 3