- This topic has 43 replies, 13 voices, and was last updated 16 years, 8 months ago by
Riyad Kalla.
-
AuthorPosts
-
Riyad KallaMemberCan you use File > Export and export your project to a ZIP then email it to [email protected] ATTN Riyad, I’ll take a look at it for you.
NOTE: Please include a link to this forum so I have a reference point.
Riyad KallaMemberDave,
I received your project but it cannot be compiled and I’m missing a few libraries from the build path and the Gfx project.Do I have all the projects/code to reproduce the problem? Keep in mind I am trying to reproduce the problem you are seeing, so I need the correct projects/code and instructions on how to do that. (it might require exporting a few projects so I can build these and then tell me which bean you are trying to add)
wcdaveMemberActually you really don’t need anything but that one class that extends JPanel. I was simply trying to add that class as a bean (TestPanel.java I think the name was) It may be that I simply don’t understand what constitutes a bean.
Riyad KallaMemberYour build path for that project looks like it has some errors. Either a blank /src dir that doesn’t resolve or a duplicate/unresolved library reference, that’s why it’s failing to DnD that JPanel into the Frame.
Once I fixed that (removed stray source dir) I dnd’d the panel onto the frame (I made it 100×100 and red)
Attachments:
You must be logged in to view attached files.
wcdaveMemberOk that’s interesting…let me play with it and I will let you know how I make out…thx!
wcdaveMember@support-rkalla wrote:
Your build path for that project looks like it has some errors. Either a blank /src dir that doesn’t resolve or a duplicate/unresolved library reference, that’s why it’s failing to DnD that JPanel into the Frame.
Once I fixed that (removed stray source dir) I dnd’d the panel onto the frame (I made it 100×100 and red)
Here is what my project looks like. The src directory is completely legit from the looks of things:
” alt=””>
Riyad KallaMemberOh that looks fine, just the copy of the project I got had some squirrelyness in the build path. Open the project properties and go to Java Build Path, check all the tabs and make sure there aren’t any error markers.
wcdaveMember@support-rkalla wrote:
Oh that looks fine, just the copy of the project I got had some squirrelyness in the build path. Open the project properties and go to Java Build Path, check all the tabs and make sure there aren’t any error markers.
” alt=””>
Riyad KallaMemberhmm…. everything looks kosher.
Try and open Window > Show VIew > Other > PDE > Errors, and click the red “X” to clear all the errors, then try and add the component then DnD it… do you get an exception logged?
wcdaveMemberI cleared all the errors and then tried DnD of my custom TestPanel which I created in the Palette Mgr by adding a new widget then selecting my TestPanel class. The drag and drop did not work and I got NO exceptions or any other messages logged in the PDE Runtime error log. The remains empty.
wcdaveMemberWhen I tried the DnD absolutely nothing happened. Nothing was being dragged to drop. I am able to DnD the existing/non-custom components.
Riyad KallaMemberJeez this is really strange… honestly the only thing I can think to do is have you send me all the projects so what I get from you builds completely, without any errors, and I’ll try and debug what is going on.
ejarosekParticipantI am having the same issue…I created a project, created a bean but am unable to add a Custom Bean. When I load the .form in Netbeans I can add the bean with no issues but in eclipse I am unable to.
When I add the bean from Netbeans it adds the following code to my .form file:
... <NonVisualComponents> <Component class="com.renovo.visitation3.settings.DatabaseSettingsBean" name="databaseSettingsBean1"> </Component> ... </NonVisualComponents>
After adding the bean from Netbeans and then reloading in eclipse the bean is now available under “Other Components” but lists as [Invalid Component].
I am running 6.01.
Riyad KallaMemberejarosek,
Would you be able to put together a small example project and email it to [email protected] ATTN Riyad with a link to this thread? Then I can see what is going on (be sure to include instructions on how to reproduce the issue) -
AuthorPosts