Results 1 to 4 of 4

Thread: How to disable close button or option in java swing

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2005
    Posts
    2

    How to disable close button or option in java swing

    Hi all,
    I want to make a swing page which will only have minimize option, that means I want to disable all close option for that page. Is it possible? If it is possible please reply me.
    Thanks in advance. Gopal

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: How to disable close button or option in java swing

    Again, this is in the wrong forum.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: How to disable close button or option in java swing

    Moved from CodeBank.

  4. #4
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111

    Re: How to disable close button or option in java swing

    Simple: Don't specify a close operation.

    In swing, don't specify the defaultCloseOperation(swing constant)

    int awt don't add a windowlistener.

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