Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old June 12th, 2002, 03:57 PM
adunkey adunkey is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Posts: 32 adunkey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
applet password field

Hello,
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");
setBackground(Color.white);
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);
inputPanel.add(userNameField);
passwordField =
new LabeledTextField("Password:", 15);
// passwordField.setEchoChar('*');
inputPanel.add(passwordField);

..........

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

thanks

adunkey

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > applet password field


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway