I have a java application which runs well with version 1.2 but not with 1.3.
Basically some buttons which are displayed in 1.2 do not show up while using
1.3. In an earlier post, someone suggested that I compile the code with the
strictest compiler settings and see if there are any warnings about
deprecated code... Can someone tell how we can compile code with "strictest
compiler setting" ? and how does one go about rewriting the deprecated code
? thanks.
>I have a java application which runs well with version 1.2 but not with
>1.3.
[quoted text clipped - 8 lines]
> code
> ? thanks.
The what settings are available to you depend on which compiler you use.
If you're using Sun's javac, just type in "javac" with no arguments, and
it'll complain and show you what the arguments you should use. One of the
things it lists is how to check for deprecated API usage.
- Oliver
Navodit - 06 Jul 2006 21:39 GMT
While compiling the application in Java 1.3 there were no errors or warnings
displayed. However the buttons in that application are not displayed
properly. If I run the application on a system with JDK 1.2.2 the buttons
are displayed correctly. Does anyone have any idea where the bug may lie
here ? Thanks...
>>I have a java application which runs well with version 1.2 but not with
>>1.3.
[quoted text clipped - 15 lines]
>
> - Oliver