CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 1999
    Location
    usa
    Posts
    33

    how to prevent a jtextfield from being resized ?

    how can i stop a jtextfield from being resized ?

    when the form is maximized, the jtextfield becomes so blotted and ugly...

    yukk...

    how can i prevent that while allowing the jframe to be resized ?

    Thanks a lot.



    http://members.xoom.com/lookads

  2. #2
    Guest

    Re: how to prevent a jtextfield from being resized ?

    Hi,
    For the this(frame) in the inspector set the border layout as XYLayout before u go further with adding an buttons, textfields etc. After completely designing the frame
    u can again set the layout of this(frame) to whatever format u want


  3. #3
    Guest

    Re: how to prevent a jtextfield from being resized ?

    Hi,
    In the class whichever extends the frame, set the layout as
    XYLayout xyLayout1 = new XYLayout();
    instead of BorderLayout.
    This will work.


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