Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

problem with jtabbedpane

Options
  • 19-02-2004 5:31pm
    #1
    Closed Accounts Posts: 1,525 ✭✭✭


    not too sure about how to go about solving this problem.
    Basically I have two panels inside a jtabbedpane. One of them is using a borderlayout and contains a jtextarea that output will be written to.

    This panel is in turn inside a jscrollpane. The problem is that the second panel resizes itself when it text is written to the jtextarea making the first panel look messy as it gets resized as well. Is there a way to prevent this automatic resizing. Ideally I would only want resizing if the user say enlarged the window. Thanks.


Advertisement