Thread: NetBeans killed my form.

  1. #1
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,071

    NetBeans killed my form.

    I know this isn't exactly a Java-oriented board, but hopefully someone might have come accross this.

    I'm working on a program in the NetBeans IDE. I have a few components that I've created, and added to the design pallet.

    Today, I decided to reorganize my code a bit, and renamed the default package where most of my source is kept. After re-naming and refactoring the code, I opened up one of my forms, to discover that all of my compontents were "invalid". It gives me errors about loading the properties of the various components.

    I tried "reload form" in the source browser, but it doesn't work .

    Any suggestions? I really don't feel like starting over.
    M.Eng Computer Engineering Candidate
    B.Sc Computer Science

    Robotics and graphics enthusiast.

  2. #2
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,071
    Well, I decided to spam the internet a little, and a response on comp.lang.java.gui prompted me to try opening the NetBeans .form file. Luckily, the .form is in XML format, so I can manually change the class references in the forms to point to the new package names.
    M.Eng Computer Engineering Candidate
    B.Sc Computer Science

    Robotics and graphics enthusiast.

  3. #3
    Registered Abuser
    Join Date
    Jun 2006
    Location
    Toronto
    Posts
    591
    You did a "safe" rename right (i.e. through NetBeans?)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. from dev-c++ mingw to netbeans cygwin
    By yahn in forum C++ Programming
    Replies: 10
    Last Post: 01-14-2009, 08:18 AM
  2. NetBeans + Cygwin driving me insane
    By Del75 in forum C++ Programming
    Replies: 4
    Last Post: 08-17-2008, 05:03 AM
  3. Accessing main form from functions in other classes
    By pj_martins in forum C++ Programming
    Replies: 1
    Last Post: 11-05-2004, 09:27 AM
  4. My UserControls dissapear off my form
    By zMan in forum C# Programming
    Replies: 2
    Last Post: 09-15-2004, 08:55 AM
  5. Making an MFC form to suit
    By TJJ in forum Windows Programming
    Replies: 1
    Last Post: 04-17-2004, 11:20 AM