Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / July 2006

Tip: Looking for answers? Try searching our database.

java strictest compiler setting

Thread view: 
Navodit - 06 Jul 2006 18:46 GMT
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.
Oliver Wong - 06 Jul 2006 19:23 GMT
>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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.