//Eric Bauer //Homework #6 3.21 import javax.swing.*; //import class JApplet import java.awt.Graphics; //import class Graphics public class YourName extends JApplet { public void paint (Graphics g) { String fName, lName, fullName; fName=JOptionPane.showInputDialog("Enter your first name here:"); lName=JOptionPane.showInputDialog("Enter your last name here:"); fullName=fName + " " + lName; g.drawString("Hello "+fullName,25,25); } }