Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #3672

equally sizing text areas

From "Albretch Mueller" <albretch.mueller@THRWHITE.remove-dii-this>
Subject equally sizing text areas
Message-ID <1213901841.510724@nntp.acecape.com> (permalink)
Newsgroups comp.lang.java.gui
Date 2011-04-27 15:46 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
 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

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextNext in thread | Find similar | Unroll thread


Thread

equally sizing text areas "Albretch Mueller" <albretch.mueller@THRWHITE.remove-dii-this> - 2011-04-27 15:46 +0000
  Re: equally sizing text a "Daniele Futtorovic" <daniele.futtorovic@THRWHITE.remove-dii-this> - 2011-04-27 15:46 +0000

csiph-web