This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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: 63534

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...!!!
jQuery in Action, 3rd edition