File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Please Help me...!!!

Siddheh Desai

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)
setLayout(new FlowLayout());
public static void main(String args[])
Buttontest b=new Buttontest("j");

Error is:

C:\Program Files\Java\jdk1.5.0\bin>javac
Note: uses or overrides a deprecated API.
Note: Recompile with -Xlint eprecation for details.
Shailesh Chandra
Ranch Hand

Joined: Aug 13, 2004
Posts: 1082

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

[ 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

Joined: Jan 10, 2002
Posts: 63866

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] [About Bear] [Books by Bear]
Steve Morrow
Ranch Hand

Joined: May 22, 2003
Posts: 657

I agree. Here's the link:
subject: Please Help me...!!!
It's not a secret anymore!