sudeep
Posts: 2
Nickname: sudeep
Registered: Jul, 2003
|
|
Re: DEPRECATION
|
Posted: Jul 4, 2003 10:42 AM
|
|
I came to know how to recompile with -deprecation, its just adding -deprecation after "javac xxx.java -deprecation".
Can anybody tell what should I do when I am getting the following warning messages
C:\Java\proimage>javac dialoglayout.java -deprecation dialoglayout.java:93: warning: countComponents() in java.awt.Container has beendeprecated int count = parent.countComponents(); ^ dialoglayout.java:97: warning: insets() in java.awt.Container has been deprecated Insets insets = parent.insets(); ^ dialoglayout.java:120: warning: reshape(int,int,int,int) in java.awt.Component has been deprecated
c.reshape(rect.x, rect.y, rect.width, rect.height); ^ 3 warnings
Thanks in advance Sudeep
|
|