aspose file tools*
The moose likes Beginning Java and the fly likes APPLETS - JUST NOT GETTING IT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "APPLETS - JUST NOT GETTING IT" Watch "APPLETS - JUST NOT GETTING IT" New topic
Author

APPLETS - JUST NOT GETTING IT

J Doggett
Greenhorn

Joined: Mar 03, 2003
Posts: 6
I have just started learing about applets. I have been trying to do the examples that are in the book that I have and I am just not getting it and they don't work, the book that I have is Java Programming second edition and I am using JBuilder to do them. I am not sure that I am using JBuilder correctly for them can anyone give me any help. The question that I am doing is.
A) Create a Swing applet that asks a user to enter a password into a JTextField and to then press<Enter>. Compare the password to "Rosebud"; if it matches, display "Access Granted"; if not, display "Access Denied"; Save the program as JPassword.java
B) Modify the password applet in "A" to ignore differences in case between the typed passowrd and "Rosebud".
C) Modify the password applet in exercise "B" to compare the password to a list of five valid passwords; "Rosebud", "Redrum", "Jason", "Surrender", or "Dorothy".
Please explain to me how to use JBuilder to do this or try it and see if it works in there for you.
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
Here's a *very* basic applet, just add your code for [ENTER]



here's the html code to run it

Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Moving this to the Applets forum...
[ August 23, 2004: Message edited by: Dirk Schreckmann ]

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: APPLETS - JUST NOT GETTING IT
 
Similar Threads
my 1st applet....problem!
APPLETS - JUST NOT GETTING IT
Internet Explorer 5.0 and Applets
Signed applet getting access denied
Configuing java.policy / java.security