Andrew Andrew - 5 months ago 7
Java Question

How do you get the screen width in java?

Does anyone know how you would get the screen width in java? I read something about some toolkit method but I'm not quite sure what that is.

Thanks,
Andrew

Answer
java.awt.Toolkit.getDefaultToolkit().getScreenSize()
Comments