I creating a JApplet in java using Netbeans, the problem is the text on JApplet is being cut off, and I've tried to used some different layouts and resizing, but it still turns out the same.
Here's the section of my code I used to setup the Applet:
JPanel jPanel1 = new JPanel();
jPanel1.setLayout(new FlowLayout());
jPanel1.add(new JLabel("First Name"));
jPanel1.add(jtfFname);
jPanel1.add(new JLabel("Last Name"));
jPanel1.add(jtfLname);
jPanel1.add(new JLabel("Phone No."));
jPanel1.add(jtfphoneNo);
jPanel1.add(new JLabel("Age 00/00/00"));
jPanel1.add(jtfage);
jPanel1.add(new JLabel("Email"));
jPanel1.add(jtfemail);
jPanel1.add(new JLabel("Address"));
jPanel1.add(jtfaddress);
jPanel1.add(jbtAdd);
add(jPanel1, BorderLayout.NORTH);