DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

Thread: getContentPane

  1. #1
    alex Guest

    getContentPane


    If I want to substitute "getContentPane" for another similar .
    Do you know any other that has the same result as getContentPane.
    The reason is that when I use "getContentPane into my program. It give me
    an error: getContentPane not found on xxx.Frame1.

  2. #2
    Andy Brundell Guest

    Re: getContentPane


    I guess instead of looking for an alternative to a standard method, you should
    be wondering why there is no 'getContentPane'. Probably because you've created
    an AWT frame instead of a Swing frame and get/setContentPane( ) is a Swing
    method.

    "alex" <cad1374@yahoo.com> wrote:
    >
    > If I want to substitute "getContentPane" for another similar .
    >Do you know any other that has the same result as getContentPane.
    >The reason is that when I use "getContentPane into my program. It give me
    >an error: getContentPane not found on xxx.Frame1.



Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links