- This topic has 5 replies, 4 voices, and was last updated 13 years, 10 months ago by PepsiCo-3.
-
AuthorPosts
-
rob2MemberHi,
I have a problem, mabye it is just me who does not understand this. I have a jar containing visual java beans. In netbeans I can go to tools and do “add from jar”, which gives me the option to add custom components from an external jar. I MyEclipse I suppose the “Choose Bean” should do the same, but I can not make it work. I click the “Choose Bean” node and get a dialog, but I can not add anything here. I have added my Jar to the “Build Path” in my eclipse as an external jar. The bean I want to add is a simple button in com.rsutils.swingtest.TestButton, but when I type this (com.rsutils.swingtest.TestButton) into the “Choose Bean” dialog nothing hapen. I can add this in Netbeans just fine. What an I missing.
Thanks
Rob
Loyal WaterMemberRob,
Can you PM me a sample jar file so that I can test this at my end. You can hit the PM button at the bottom of my post and send me the jar.
Bernd ClemenzMemberHi @ll,
is there anything new on this topic? I’am using 7.5-20090609 am winXP prof. I get the ‘choose bean’ dialog too. Nothing happens after entering a class. On Netbeans the Beans are working fine in Matisse.
Bernd ClemenzMemberThe following instructions allow to use a custom component in matisse, but do not add annything to the palette:
– add a component to your form as dummy from matisse palette (javax.swing.JTextField for example)
– close the form in myeclise IDE
– open the .java-File in an external Texteditor (i use JEdit).
– Replace the type of the dummy field with the type of the bean you want to use (decalaration and instantiation)
– change the setter of the value of the component accordingly or simply remove it.
– save the file
– open .form-File in an external Editor
– replace the type assignments of the component, identified by the variable name
– correct the value assignment of the component, esp. the type.
– save the form.
– reopen form in myeclise IDE. The component should now be displayed.
Loyal WaterMemberThank you for posting this workaround. I have filed a PR for investigation and we will try to fix this asap.
PepsiCo-3Member@support-nipun wrote:
Thank you for posting this workaround. I have filed a PR for investigation and we will try to fix this asap.
Is there now a process for adding a jar?
-
AuthorPosts