You can use componentResized method of Component Listener to know resizing of the component. In this method you can change the font and repaint the component.
Nilu Deshmukh
Greenhorn
Joined: Aug 03, 2009
Posts: 22
posted
0
Thanks Shreeram,
I am using component listner... and it changes values also. but the issue is i could not determine how to change font size..
In getFormatLable method I wrote function to set font size and other parameters.