Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

problem with jtabbedpane

  • 19-02-2004 05: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