CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2002
    Posts
    157

    Set JFrame No Resizeable

    How to I make a JFrame non-resizeable?

    Thanks.

  2. #2
    Join Date
    Sep 2004
    Posts
    247

    Re: Set JFrame No Resizeable

    Use the setResizable() method passing false as the parameter.

    Code:
            myFrame.setResizable(false);
    http://java.sun.com/j2se/1.5.0/docs/...zable(boolean)

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