Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-13-2008, 11:34 AM
Member
 
Join Date: Feb 2008
Posts: 3
mikau is on a distinguished road
I need help with a deprecated program
Hi everybody

My problem Is not deprecation related, I mistaked but can't edit the title. I run this program with appletviewer but it says that the file of appletviewer properties: -location that ends on /.hotjava/properties- can't be readed using predetermined values. It's a translation from spanish, so it may not be exact.

how do i fix it?. Can i transform it into a non applet application?

I really need to get this done by today's afternoon.

Thanks

Quote:
package ejemplos;
import java.applet.Applet;
import java.awt.*;
import java.awt.event.*;

public class boton extends Applet implements ActionListener {

TextField text1;
Button button1;

public void init()
{
text1 = new TextField(20);
add(text1);
button1 = new Button("Pulsa este boton");
add(button1);
button1.addActionListener(this);
}

public void actionPerformed(ActionEvent event)
{
String texto = new String ("Muy bien!!!");
if(event.getSource() == button1){
text1.setText(texto);
}
}
}

Last edited by mikau : 02-13-2008 at 12:22 PM.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to execute an External Program through Java program Java Tip java.io 0 04-04-2008 04:40 PM
getYear deprecated method ravian New To Java 1 01-28-2008 12:35 PM
Using Deprecated Methods ravian New To Java 3 11-23-2007 09:58 PM
How to execute an External Program through Java program JavaBean Java Tips 0 10-04-2007 11:33 PM
method size is deprecated oregon New To Java 4 08-05-2007 07:59 PM


All times are GMT +3. The time now is 02:09 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org