Problem with JFrame


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Problem with JFrame

  1. #1
    Join Date
    Feb 2004
    Posts
    4

    Problem with JFrame

    I want to build a Swing Application simialr to the VC ++ stand alone application.

    in VC++ aplication the ere is a main frame with a title and its own minimize, maximize and cross button.
    just below it there is another frame (VC++ People call it as Document) with its own minimize, maximize and cross button.

    when i click the cross button of the Document, that particulr file gets closed, but the main frame is intact. when i click the cross button of the main frame, the application gets closed.

    this application is just like any microsoft application.

    How can i achieve it in Swings.
    I thought of one solution i.e to put two JFrames , but that is not going to be a good solution.

    Please help me regarding this.

  2. #2
    Join Date
    Mar 2004
    Posts
    12
    Use a JInternalFrame and all it's related classes

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