sizing swing components

Discussion in 'Java' started by nadunalexander, Jul 31, 2007.

  1. nadunalexander

    nadunalexander New Member

    Joined:
    Sep 13, 2006
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Student
    Now I am involving a java project in campus. That is using swing. We are using netbeans as ide. In my JFrame I drop a JTextArea. I have to change that's size accordingly user input. I try all the methods setMinimumSize, setPreferedSize,
    etc...But I coudn't see any change in width and height of jTexArea. How can i do this task?
    pls help me. Because i dont have much programming experience with java.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice