Multi level inheritance


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Multi level inheritance

  1. #1
    Ramkumar Guest

    Multi level inheritance


    Hi,
    I would like to know whether there is any performance degradation due to
    multi level inheritance in JAVA.

    I am thinking of extending the basic SWing components for use in my applications
    so that other developers need not worry about setting the color, font size,
    etc and some common functionality like implementing the listeners. I would
    also like to know whether this is feasible or not

    TIA,
    Ramkumar



  2. #2
    Paul Clapham Guest

    Re: Multi level inheritance

    Yes, this is feasible. I have a class that extends JPanel to make its
    background white and set a standard border. I didn't worry about
    performance, there's thousands of lines of code in Swing and my few extra
    lines aren't going to make much difference.

    PC2

    Ramkumar <ramkuma@usa.net> wrote in message news:3a41a13c$1@news.devx.com...
    >
    > Hi,
    > I would like to know whether there is any performance degradation due to
    > multi level inheritance in JAVA.
    >
    > I am thinking of extending the basic SWing components for use in my

    applications
    > so that other developers need not worry about setting the color, font

    size,
    > etc and some common functionality like implementing the listeners. I would
    > also like to know whether this is feasible or not
    >
    > TIA,
    > Ramkumar
    >
    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center