Andrew Andrew - 1 year ago 101
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 Source
java.awt.Toolkit.getDefaultToolkit().getScreenSize()