Andrew Andrew - 9 months ago 65
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()