I have the following line of code that consists of a text box:
NameTextCustomers = new JTextField();
NameTextCustomers.setBounds(10, 10, 350, 150);
Customers.add( NameTextCustomers);
I would like to align the text so it starts at the top left and it wraps within the box. Meaning the words don't disappear off screen, they continue to the next line. I'm not sure what or where to put additional code to accomplish this.
Thanks