- Java and JSP
||05-03-2013 01:30 AM
Get panel width after GridLayout resize
Is it possible for me to get the Panel width and height right after GridLayout resizes it?
||05-03-2013 03:21 PM
Sure, you can pull the getSize() off of it at any time to get the current height and width. If you want to actually respond to the resize events, you can add a ComponentAdapter and override the componentResized method.
|All times are GMT +1. The time now is 03:25 PM.
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.