equally sizing text areas inside of a JTabbedPane
- From: Albretch Mueller <lbrtchx@xxxxxxxxx>
- Date: Thu, 19 Jun 2008 14:57:21 -0400
I have a container, a JFrame, with a JTabbedPane inside of it.
The Dimension of the JFrame I set based on the screen size
Inside of the JTabbedPane I create three, two or just one text area.
These JTextAreas are placed inside of a JScrollPane and separated by
JSplitPanes, but I would like for all these text areas to occupy equal
spaces
I can not use as reference the JFrame or JTabbedPane Dimensions (which are
the same) because the JTabbedPane already uses space for the tabs
themselves
How can you get the innner Dimension of the actual real estate that the
JTabbedPane lets you use to place in JPanels?
Thanks
lbrtchx
.
- Follow-Ups:
- Re: equally sizing text areas inside of a JTabbedPane
- From: Daniele Futtorovic
- Re: equally sizing text areas inside of a JTabbedPane
- Prev by Date: can't listen to TextArea of Spinner
- Next by Date: How can you dinamically adjust the size of components based on their labels?
- Previous by thread: can't listen to TextArea of Spinner
- Next by thread: Re: equally sizing text areas inside of a JTabbedPane
- Index(es):
Relevant Pages
|