Simple GUI problem
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm having a problem adding an editor pane to the bottom of a split pane
that I'm sure someone here can help me with. I don't do much GUI
programming in Java, so forgive me being the novice here.
I would like the editor pane to resize to fill the bottom pane in the
split pane, but it doesn't seem to want to. It also sometimes seems to
extend past the bottom of the split pane. What I'm really looking for is
what one would expect as a default, the editor should take up the entire
pane underneath the divider.
This has got to be a simple tweak, but I can't for the life of me figure
out what it is.
While I'm at it I should probably ask one more question. Is an
JEditorPane the correct choice for a simple text editor? Should I really
be using a JTextArea? Someday I might want to use fonts, bold, and such,
but right now it is just text.
Thanks in advance,
- --
Kenneth P. Turvey <kt-usenet@squeakydolphin.com>
XMPP: kpturvey@jabber.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFFPEMfi2ZgbrTULjoRAlb9AJ9jhpUUsEIK21VyEHDpH2M83ytTFQCfQ6FR
8kjwxCIdFV5zKR+Pc5TEyGc=
=xs3P
-----END PGP SIGNATURE-----