| 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: 1076
|
|
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: 56163
|
|
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 ]
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Steve Morrow
Ranch Hand
Joined: May 22, 2003
Posts: 657
|
|
|
|
 |
 |
|
|
subject: Please Help me...!!!
|
|
|