Possible Duplicate:
Java application automatically resize to fit screen resolution
I have to create a desktop application using Java Swing. It's working fine on a large screen monitor (18.5 inch).
I want to reduce the size of windows, but now controls are overlapping, some controls hide others, how will I handle my code for dynamically using the larger screen (18.5 inch) and smaller screen(14 inch)?
I handled the layout for all screens but screens will display correctly...only the controls are overlapping each other.