Re: java question

Souvik Basak <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
You cant remove the close button of JDialog,JOptionPane and JFrame. But you can
add window listener to restrict the close operation. The sample code is
  this.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
-- Souvik Basak

"Anthony W. Marino" wrote:

> Take a look at the JOptionPane class.
> Anthony
>
> randie ursal wrote:
>
> > hello guys,
> >
> >   i'm very sorry about this question but i need the solution urgently.
> >
> >   how can i removed the "x" or close button on a JDialog?
> >
> >   a code snippet would be very helpful.
> >
> >
> > thanks a lot.
> >
> > ___________________________________________________________________________
> >
> > To unsubscribe, send email to [email protected] and include in the
> > body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> >
>
> ___________________________________________________________________________
> To unsubscribe, send email to [email protected] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.