- This topic has 3 replies, 2 voices, and was last updated 17 years, 2 months ago by Riyad Kalla.
-
AuthorPosts
-
mgreco32MemberMy 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 WorkbenchVersion: 5.5.1 GA
Build id: 20070521-5.5.1-GAEclipse Platform
Version: 3.2.2.r322_v20070119-RQghndJN8IM0MsK
Build id: M20070212-1330Eclipse Java Development Tools
Version: 3.2.2.r322_v20070104-R4CR0Znkvtfjv9-
Build id: M20070212-1330Eclipse Project SDK
Version: 3.2.2.r322_v20070104-dCGKm0Ln38lm-8s
Build id: M20070212-1330Eclipse RCP
Version: 3.2.2.r322_v20070104-8pcviKVqd8J7C1U
Build id: M20070212-1330Eclipse Plug-in Development Environment
Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
Build id: M20070212-1330Eclipse Graphical Editing Framework
Version: 3.2.2.v20070208
Build id: 20070208-1315Eclipse 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
___________________________________________
Riyad KallaMemberYou 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/
mgreco32MemberI 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.
Riyad KallaMemberOh 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.
-
AuthorPosts