A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
Please Help me...!!!
Joined: Jun 18, 2005
Jun 24, 2005 05:54:00
I am working on
project. I am implimenting Frame Buttons. I used following code got error. I dont understanding it.
I Request you to help me.
class Buttontest extends Frame
Button yes= new Button("Yes");
Button no= new Button("no");
Button yn= new Button("YN");
public static void main(String args)
Buttontest b=new Buttontest("j");
C:\Program Files\Java\jdk1.5.0\bin>javac ButtonTest.java
Note: ButtonTest.java uses or overrides a deprecated API.
Note: Recompile with -Xlint
eprecation for details.
Joined: Aug 13, 2004
Jun 24, 2005 06:24:00
does it tell name of deprecated API on any line number........?
even you have a JDBC project but this seems to be a
compilation issues and suited for java froum
[ June 24, 2005: Message edited by: Shailesh Chandra ]
Gravitation cannot be held responsible for people falling in love ~
Author and ninkuma
Joined: Jan 10, 2002
Jun 24, 2005 08:20:00
As there is no JDBC dimension to this question, moved to Java in General (beginner).
Siddeh, you might also want to
[ June 24, 2005: Message edited by: Bear Bibeault ]
Asking smart questions
Books by Bear
Joined: May 22, 2003
Jun 24, 2005 08:43:00
b.show(); // deprecated b.setVisible(true);
I agree. Here's the link:
subject: Please Help me...!!!
Applet not initialized
firing an event when it has not been fired
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014