Results 1 to 4 of 4
  1. #1
    manu001 is offline Member
    Join Date
    Mar 2011
    Posts
    4
    Rep Power
    0

    Default inner frames in netbeans

    can anyone suggest me how to close inner frame without closing main frame by clicking a button in inner frame......

    means i have a GUI. in that GUI i am creating an instance for another frame which is taken in to the same package...

    let
    "main frame"
    is a frame for my project and

    "internal frame" is another frame which is taken in to the same project

    in "internal frame" i am taking a button called as "JButtonForInnerframe"

    my problem is when i close "internal frame" then entire main frame is also closing.....

    i just wants to close my "internal frame" .....

    is any one can help me..?

    thanks in advance....

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

  3. #3
    manu001 is offline Member
    Join Date
    Mar 2011
    Posts
    4
    Rep Power
    0

    Default

    is it possible to add a textarea and a company logo to the dialogbox?


    i wants to display some content about that page and add some company logo in to that.......

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    Quote Originally Posted by manu001 View Post
    is it possible to add a textarea and a company logo to the dialogbox?
    It's not a "dialogbox" but a JDialog, and you can add anything that can be added to a JFrame to a JDialog.

    i wants to display some content about that page and add some company logo in to that.......
    Try it out.

Similar Threads

  1. navigation b/w frames
    By imrankhan in forum AWT / Swing
    Replies: 3
    Last Post: 03-19-2012, 01:25 PM
  2. Java Frames
    By Java Unknown in forum New To Java
    Replies: 2
    Last Post: 02-22-2011, 06:45 AM
  3. travelling between frames
    By Stephen Douglas in forum New To Java
    Replies: 24
    Last Post: 07-04-2010, 04:51 PM
  4. jsp frames
    By vasug in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 04-16-2010, 06:00 PM
  5. Help regarding Frames
    By ramesh.8189 in forum AWT / Swing
    Replies: 14
    Last Post: 02-15-2009, 09:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •