Original Post
Hopefully you Java fellows can help me with a little issue I'm having. I've used Java quite a bit for console only never really touched Java GUI very much. I am working on a class project which requires me to throw together a simple GUI interface. I'm finding it pretty easy to put together; however, I'm having trouble with one particular issue. I'm looking for a way to get ahold of the desktop's current resolution so that I could set the GUI application's location to certain spot depending on the resolution. Is there a way within the Java API to obtain this type of information or do I have to use a separate API? Thanks. EDIT: Oh and if it helps any, I have to use 1.5 can't use 1.6 so any newer tricks I probably won't be able to do.