Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Calling from one javabean object to other javabean object in a single class

  1. #1
    Junior Member
    Join Date
    Jun 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Calling from one javabean object to other javabean object in a single class

    Hi,
    I have 2 Javabeans named
    FruitBean,TreeBean
    I want to call these 2beans in a single class.. hw can i call these beans in a single class..plz help me..


  2. #2
    Grand Poobah
    Join Date
    Mar 2011
    Posts
    1,537
    My Mood
    Grumpy
    Thanks
    0
    Thanked 165 Times in 156 Posts

    Default Re: Calling from one javabean object to other javabean object in a single class


  3. #3
    Member
    Join Date
    Jun 2011
    Location
    Rhode Island
    Posts
    69
    My Mood
    Bored
    Thanks
    11
    Thanked 7 Times in 6 Posts

    Default Re: Calling from one javabean object to other javabean object in a single class

    Quote Originally Posted by kichkich View Post
    Hi,
    I have 2 Javabeans named
    FruitBean,TreeBean
    I want to call these 2beans in a single class..
    if the class you want to call them creates them vita there constructors then you have full control of the Public methodswithin the class.. Your not really specific on how your logic is. You can have getters and setters , constructors, methods anything public... What are you trying to do?

Similar Threads

  1. Reading from ResultSet to Object and from object Object Array
    By anmaston in forum What's Wrong With My Code?
    Replies: 4
    Last Post: April 7th, 2011, 06:11 AM
  2. Identifying calling object
    By frogfury in forum What's Wrong With My Code?
    Replies: 6
    Last Post: October 25th, 2010, 05:13 PM
  3. JavaBean property TextPosition
    By stu1811 in forum Object Oriented Programming
    Replies: 4
    Last Post: August 26th, 2010, 09:33 AM
  4. Object or Class?
    By mortalc in forum Object Oriented Programming
    Replies: 23
    Last Post: August 20th, 2010, 01:17 AM
  5. Class and Object
    By jyothishey in forum Object Oriented Programming
    Replies: 2
    Last Post: January 25th, 2010, 07:48 AM