• Post Reply 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

How to add component(like Button, Text Feild) from other class to the Menu Bar in other class

 
Ranch Hand
Posts: 79
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

Greetings!
I have a class (Main Class), where I have menu Bar.
I want also have one other class (Say AddRecod), I want to add component of AddRecod class to the Menu Bar of main class.

Please fine the code given blow:

Main Class:



AddRecord Class:


Thanks in Advance,

Best Regards
Gursewak Singh.
 
Bartender
Posts: 4179
22
IntelliJ IDE Python Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Gursewak,

I moved your post to the Java in General forum, since it is specifically about Java (and not general computing).

A couple other house-keeping notes: first, it would help your code readability if you used code tags, please see UseCodeTags. For this post, I added them for you since we are past the point where you can edit your post, but in the future please add them yourself.

And finally, I don't actually see a question. What problem are you having?
 
Do not threaten THIS beaver! Not even with this tiny ad:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
reply
    Bookmark Topic Watch Topic
  • New Topic