does anyone know how to get a password feld of stars using applets? unfortunately swing isn't supported on the web so it's no good, here's the bit of my code that needs assistance:

import java.applet.Applet;
import java.awt.*;
import java.awt.event.*;
import java.net.*;
import java.io.*;
import java.math.BigInteger;
import java.lang.Character.*;
public class SecPost extends Applet
implements ActionListener {
private LabeledTextField userNameField, passwordField,
emailAddressField, hostField,
portField,statusField, uriField;
private Button sendButton;
private TextArea resultsArea;
private BigInteger gk,Pgak ;
URL currentPage;
public void init() {
gk = new BigInteger("0");
Pgak = new BigInteger("0");
setLayout(new BorderLayout());
Panel inputPanel = new Panel();
inputPanel.setLayout(new GridLayout(9, 1));
inputPanel.setFont(new Font("Serif", Font.BOLD, 14));
userNameField =
new LabeledTextField("User Name:", 15);
passwordField =
new LabeledTextField("Password:", 15);
// passwordField.setEchoChar('*');


it's just that last bit there, can anyone help?