Detecting screen size
is it possible to detect the user screen size eg. 800X600 then direct them to a web site depending on thier screeen size if so how would this be done ?
i have very little java experiacne
so please make as clear as possible
thanking u in advance
Maybe this will do, though you are talking about resolution and this one is more of the size of the screen.
Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();
The Dimension class has the getWidth(), getHeight() methods, and other methods that would help you get what you want when it comes to size and stuff.
Check the classes responsible, as there must be something that handles your question directly.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL