facebook

Migrating Forms From Netbeans 5.0

  1. MyEclipse Archived
  2.  > 
  3. Matisse/Swing UI Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #257561 Reply

    akotlus
    Member

    I have some substantial swing projects that I started in Netbeans 5.0 and would like to migrate over to MyEclipse.

    I imported the project from CVS into MyEclipse and was pleasantly surprised when I was able to open up .form files and they displayed appropriately! Very well done!

    There are a few exceptions though. I have two forms (one is rather complex and the other is simple) that do not open correctly. They simply open an empty “MyEclipse Mattise Form editor” tab.

    Do you know anything that could cause this to happen?

    Thank you,
    Austin

    #257588 Reply

    Riyad Kalla
    Member

    I imported the project from CVS into MyEclipse and was pleasantly surprised when I was able to open up .form files and they displayed appropriately! Very well done!

    Very cool, we are glad its working well.

    As to why the other two are failing, check if you are getting exceptions in you rlog file <workspace dir>\.metadata\.log, and post your findings here. If all else fails, we can attach those forms to a bug report here for developers.

    #257611 Reply

    akotlus
    Member

    This is a very handy log file to know about. The errors indicate to me that m4m cannot resolve some glazed list classes. There are two interesting things here. First, the entire application compiles correctly which means that the glazed lists library is definitely on the build path. Second, the form that generates these errors doesn’t directly use any glazed list classes. It does however use a nother form (as a custom component) that uses glazed lists. Even more interesting, the form that uses glazed lists directly opens just fine!

    Thank you for your support,
    Austin

    .log file contents generated from opening that form:

    !ENTRY org.eclipse.ui 4 4 2006-08-25 08:26:45.152
    !MESSAGE Unhandled event loop exception

    !ENTRY org.eclipse.ui 4 0 2006-08-25 08:26:45.152
    !MESSAGE Unresolved compilation problems:
    The import ca cannot be resolved
    The import ca cannot be resolved
    The import ca cannot be resolved
    The import ca cannot be resolved
    EventList cannot be resolved to a type
    data cannot be resolved
    data cannot be resolved
    data cannot be resolved
    data cannot be resolved
    data cannot be resolved
    GlazedLists cannot be resolved
    EventListModel cannot be resolved to a type
    data cannot be resolved
    data cannot be resolved

    !STACK 0
    java.lang.Error: Unresolved compilation problems:
    The import ca cannot be resolved
    The import ca cannot be resolved
    The import ca cannot be resolved
    The import ca cannot be resolved
    EventList cannot be resolved to a type
    data cannot be resolved
    data cannot be resolved
    data cannot be resolved
    data cannot be resolved
    data cannot be resolved
    GlazedLists cannot be resolved
    EventListModel cannot be resolved to a type
    data cannot be resolved
    data cannot be resolved

    at com.bah.tax.itd.gui.CategoryDataEditor.<init>(CategoryDataEditor.java:9)
    at sun.reflect.GeneratedConstructorAccessor55.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at org.netbeans.modules.form.CreationFactory.createDefaultInstance(CreationFactory.java:130)
    at org.netbeans.modules.form.RADComponent.createBeanInstance(RADComponent.java:193)
    at org.netbeans.modules.form.RADComponent.initInstance(RADComponent.java:137)
    at org.netbeans.modules.form.GandalfPersistenceManager.restoreComponent(GandalfPersistenceManager.java:611)
    at org.netbeans.modules.form.GandalfPersistenceManager.loadComponent(GandalfPersistenceManager.java:756)
    at org.netbeans.modules.form.GandalfPersistenceManager.restoreComponent(GandalfPersistenceManager.java:633)
    at org.netbeans.modules.form.GandalfPersistenceManager.loadComponent(GandalfPersistenceManager.java:756)
    at org.netbeans.modules.form.GandalfPersistenceManager.loadForm(GandalfPersistenceManager.java:454)
    at org.netbeans.modules.form.GandalfPersistenceManager.loadForm(GandalfPersistenceManager.java:222)
    at org.netbeans.modules.form.FormEditor$2.run(FormEditor.java:225)
    at org.netbeans.modules.form.FormLAF$1.run(FormLAF.java:58)
    at org.openide.util.Mutex$1.run(Mutex.java:1188)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    #257642 Reply

    Riyad Kalla
    Member

    Would you be able to export this project to an archive (File > Export > ZIP) and send it to me for testing with some instructions on which form fails to open? Even better would be a trimmed down project hat just contained the classes necessary to compile.

    support@genuitec.com ATTN Riyad, with a link to this thread so I know why I’m getting it.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Migrating Forms From Netbeans 5.0

You must be logged in to post in the forum log in