I am using a GUI to display information about "members" in my program database. I want to display a user bio, but it is getting cut off. How do I make my JLabel longer, or allow for it to use multiple lines?
Thanks!
I am using a GUI to display information about "members" in my program database. I want to display a user bio, but it is getting cut off. How do I make my JLabel longer, or allow for it to use multiple lines?
Thanks!
JLabel extends JComponent; I believe you want to use setPreferredSize(Dimension size).