How can I set position of a JTextArea inside a JPanel?
843807Nov 23 2009 — edited Nov 23 2009Hi,
I'm trying to add a JTextArea to a JPanel. It works as expected but what can I do to alter the position of the JTextArea inside the JPanel? Right now the JTextArea is centered and starting at the top of the JPanel. I would like it to, either start one row down, or be centered vertically, depending on what looks the best.
Tried to mark as question, but that option is gone once the message is posted it seems.
Edited by: Red_herring on Nov 23, 2009 11:15 AM