This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
Win a copy of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 this week in the Programmer Certification forum!
    Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

how to add my custom components in netbeans Pallete

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
 
Sheriff
Posts: 6374
172
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Duplicate post.  Discussion should be posted here:

https://coderanch.com/t/721628/netbeans/ide/add-JFrame-form-netbeans-Pallete
 
The harder I work, the luckier I get. -Sam Goldwyn So tiny. - this ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!