I have an AWT Label inside a Panel with FlowLayout. I want to dynamically change the Labels text and resize it to the required width.
I have only found answers to the Swing version of this problem (setPrototypeDisplayValue()), but I have to stick with AWT since this is a homework.