Click here to Skip to main content
14,367,061 members
Rate this:
Please Sign up or sign in to vote.
See more:
when I design a custom jframe form in netbeans.it may be a simple button or a complex calculater.Then if I want to add these custom components in netbeans pallete so that
I can reuse it in any jframe by just drag and drop.when I select my custom jframe from project window and right click and  goto 'tools' and then 'add to pallete',this jframe is added in pallete.but when and try to drag and drop it on my any jframe it gives following error.

cannot load component class practice(project name).calculater from project e:\wdd\idework\practice.
the class could not be found.note that class must be compiled and must be the part of sources or dependencies of the project
where the target GUI belongs to.

note that my custom component which I want to add in pallete is compiled and run and I am trying to drag ang drop it on another jframe of the same project.
kindly guide me what is proper way of adding custom components made in netbeans in its pallete to reuse it again and again.
regards 


What I have tried:

ask from diffrent forums.still no reply
Posted
Updated 8-Nov-19 7:51am

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

Maybe some of these links can help: netbeans add custom control to pallette - Google Search[^]
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100