Hi Srinivas,
Originally posted by M Srinivas:
regobj.regframe.setSize(loginframe.getWidth(),loginframe.getHeight());
My Application is simple Login Screen and next 5 screens are there.
Whats the requirement is Login Page is in fixed bounds 640 X 480. And it is resizable.
Now i have to Maximize this LoginScreen, then next screens also open with this same bounds like 800 X 600.
I solved this solution, But next screens are opening with 808 X 580,so little bit smaller gap is coming,
I applied the code as above. This code is solving the problem but not getting the exact bounds.
Would you print.. to check if the login screen size and the next screen size is same.
It should be same if you are using the login screen size for the next screen also. There is no chance of a differed size!