DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: make JFrame unresizeable

  1. #1
    Penny Guest

    make JFrame unresizeable


    Hi,

    How to make a JFrame unresizeable in application and applet.

    in all , how to make a window nonresizeable

    Thanks

  2. #2
    Paul Clapham Guest

    Re: make JFrame unresizeable


    Penny <penny336@hotmail.com> wrote in message
    news:391b0dcd$1@news.devx.com...
    >
    > Hi,
    >
    > How to make a JFrame unresizeable in application and applet.
    >
    > in all , how to make a window nonresizeable
    >
    > Thanks


    Copied from the Javadoc for class Frame (of which JFrame is a descendant):

    setResizable

    public void setResizable(boolean resizable)

    Sets whether this frame is resizable by the user.
    Parameters:
    resizable - true if this frame is resizable; false otherwise.




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