CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    Join Date
    Feb 2010
    Posts
    121

    Re: Trying to copy text from one JFrame to another JFrame

    Cool, worked first time - again thanks!

    I swear this is the last request on this thread lol. How do I invoke a 'System.exit(0)' when closing my main JFrame as the engine is still running in the background, i.e. I would like to change my 'setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);'

  2. #17
    Join Date
    Jun 1999
    Location
    Eastern Florida
    Posts
    3,877

    Re: Trying to copy text from one JFrame to another JFrame

    Add a window listener. it has methods where you can put your System.exit() call.
    Norm

  3. #18
    Join Date
    Feb 2010
    Posts
    121

    Re: Trying to copy text from one JFrame to another JFrame

    Ok Norm, thanks for all your help.
    I can take it form here.

    ATB

Page 2 of 2 FirstFirst 12

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured