PDA

Click to See Complete Forum and Search --> : Automatic Font adjustment


debbie_82
Mar 18th, 2004, 06:50 PM
Is there a class in java that I could use that would automatically update the font of a certain component when I resize the component or do I have to manually compute for the font... I have here a formula to compute for the font.... but if there is a better one kindly reply... tnx :)

Font_Size = (Height_of_Component) * 72 / Resolution;