facebook

.form no longer loading in design window

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

    mgreco32
    Member

    My project is using jdk1.6.0_02. I can create a new form in the design viewer without any problem. I can bounce between source and design view, preview the form or compile and launch the program without errors. However, when I leave the workspace, and come back later, I’m unable to bring the form up again in the designer. I can still compile and launch the program without a problem, I just can’t continue to use the design viewer. I tried to create a new form and that didn’t help. I dropped the entire project, created a new one, then a new form, and the same results occurred from the start of the first project, things worked, then they didn’t.

    The error dialogs that pop up (there’s about 20+, seems to be one per String/label in the form) after double clicking the .form file in the package explorer complain about loading a component property. The exact text is:

    “Error in loading component property:
    [JFrame]->jLabel3->text
    Cannot load component class
    java.lang.String
    The component cannot be loaded”

    I’m in the process of downloading the jdk1.5.0_12 based on a comment in a different post, but this is going to require me to do some reswizzling of my classes as I was using the TableRowSorter<Object,Object> and a few other classes with generics. I’d prefer not to have to go back to a previous version of the JDK.

    Thanks in advance for your time and help.

    Installation Summary:
    ___________________________________________
    *** Date:
    Tuesday, August 21, 2007 3:19:52 AM PDT

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 5.5.1 GA
    Build id: 20070521-5.5.1-GA

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.5.1 GA
    Build id: 20070521-5.5.1-GA

    Eclipse Platform

    Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
    Build id: M20070212-1330

    Eclipse Java Development Tools

    Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
    Build id: M20070212-1330

    Eclipse Project SDK

    Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
    Build id: M20070212-1330

    Eclipse RCP

    Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
    Build id: M20070212-1330

    Eclipse Plug-in Development Environment

    Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
    Build id: M20070212-1330

    Eclipse Graphical Editing Framework

    Version: 3.2.2.v20070208
    Build id: 20070208-1315

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    D:\MyEclipse 5.5.1 GA\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    db4_50
    -vm
    D:\MyEclipse 5.5.1 GA\jre\bin\javaw.exe
    ___________________________________________

    #274172 Reply

    Riyad Kalla
    Member

    You shouldn’t need to step back to using 1.5 *for* your project. You do need to run MyEclipse with it, but it is already doing that (since you used the All in One)

    What happens when you restart using -clean then try and reopen the form?
    https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/

    #274185 Reply

    mgreco32
    Member

    I tried the -clean, no luck. I then upgraded to MyEclipseIDE 6.0, and ran under jdk1.6.0_02 experimental mode, still no luck. Finally, I started backing things out from what I remembered I had recently done. One of which was the LAF I added into the mix. I had put in the Napkin look and feel. I removed it and everything worked fine again. My guess here is that it was a classpath order issue, with the Napkin LAF jars ahead of the JDK jars? I’m not entirely sure, but it does appear to have been a classpath issue. I’m not going to add in the Napkin LAF anymore anyway, I was just having fun with it. Sorry to bother you on this one. My bad.

    #274243 Reply

    Riyad Kalla
    Member

    Oh no worries at all, I’m jsut glad you figure out what had killed it.

    It’s also good for me to know incase anyone else runs into an issue like that.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: .form no longer loading in design window

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