A better method to upgreat jdk for GUI .


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: A better method to upgreat jdk for GUI .

  1. #1
    Join Date
    Oct 2005
    Location
    Maady
    Posts
    1,819

    Arrow A better method to upgreat jdk for GUI .

    Hey;

    I got a coded GUI with the jdk 1.5 , but I have the 1.6 one then when running the files, it gives me too many errors in the form and controls structurs .. all errors are in the protected code , and haven't any relation with the form code (I got an empty form and it has errors too) ...

    Now I had two options , the first is to install the jdk 5 and use it with this project .. and the second is to remanufactures all the forms to compile with the jdk 6 .. really I first installed the jdk 5 near mine and used it , but before continuing I noticed that I want to continue my work on the most updated platform so I had to make the the forms structures again under jdk 6 .

    Well originally I'm was asking about the better method to make this work, what to do if I send my code to someone who have jdk 5 or less , and what if there is jdk 7 , how to update ? I think there is a better method those forms and I don't know it so please give me some help in this .

    Another question , as said before I updated all forms under the old project, I have removed the old form files too , and now each form run succ. but when compiling the whole project it gives me error in the build xml file ... I think it has relation with the old project so how to solve this ? all errors are of type class name couldn't be null , and it points in a part of an xml file ..
    If there is noway to work with this project , how to safely copy my forms and put them again in another new project without loosing any configurations ??

    thanks .
    Programmer&Cracker CS
    MyBlog:Blog.Amahdy.com
    MyWebsite:www.Amahdy.com

  2. #2
    Join Date
    Mar 2004
    Posts
    635
    I think I remember from another of your posts you stated you were using Netbeans. You can set the JDK version to use for each project individually. I have both 1.5 and 1.6 installed and, unless I'm using a 1.6 specific feature, it converts back and forth just fine. What kind of errors are you getting?

  3. #3
    Join Date
    Oct 2005
    Location
    Maady
    Posts
    1,819
    Thanks Phaelax for reply, as said before I did that first time , but I want to continue under 1.6 so I had to reform all the old forms , I'm asking if there is a better method to do that , I don't want to reform all my forms again to make them run under 1.5 or under 1.7 in the future ..
    all errors are in the protected code : in initcomponents exactly .. it told me java.bla bla is not bla bla .. with no suggestion neither explained error ... and most of them say java.bla bla not found or not correct or not exact and all that ...
    I finally now can compile all and it runs correctly but I just want to take precautions to future update or running under later platform .
    Thank u.
    Programmer&Cracker CS
    MyBlog:Blog.Amahdy.com
    MyWebsite:www.Amahdy.com

Similar Threads

  1. Replies: 2
    Last Post: 08-05-2006, 10:40 PM
  2. Comparing .NET delegates
    By Quimbly in forum .NET
    Replies: 1
    Last Post: 04-21-2006, 11:51 AM
  3. Replies: 1
    Last Post: 04-13-2006, 04:57 AM
  4. jdi popframes method
    By caid in forum Java
    Replies: 0
    Last Post: 09-01-2005, 01:12 AM
  5. Replies: 3
    Last Post: 04-13-2001, 09:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center