File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Please Help me...!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Please Help me...!!!" Watch "Please Help me...!!!" New topic
Author

Please Help me...!!!

Siddheh Desai
Greenhorn

Joined: Jun 18, 2005
Posts: 4
I am working on JDBC project. I am implimenting Frame Buttons. I used following code got error. I dont understanding it.
I Request you to help me.

import java.awt.*;

class Buttontest extends Frame
{

Button yes= new Button("Yes");
Button no= new Button("no");
Button yn= new Button("YN");

public Buttontest(String title)
{
super(title);
setLayout(new FlowLayout());
add(yes);
add(no);
add(yn);
}
public static void main(String args[])
{
Buttontest b=new Buttontest("j");
b.setSize(500,500);
b.show();
}
}


Error is:

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.
Shailesh Chandra
Ranch Hand

Joined: Aug 13, 2004
Posts: 1081

does it tell name of deprecated API on any line number........?

even you have a JDBC project but this seems to be a java compilation issues and suited for java froum

Shailesh
[ June 24, 2005: Message edited by: Shailesh Chandra ]

Gravitation cannot be held responsible for people falling in love ~ Albert Einstein
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60986
    
  65

As there is no JDBC dimension to this question, moved to Java in General (beginner).

Siddeh, you might also want to read this.
[ June 24, 2005: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Steve Morrow
Ranch Hand

Joined: May 22, 2003
Posts: 657

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Please Help me...!!!