[kepler-dev] [Bug 5587] long parameter values get replaced with scrollbar

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Wed Aug 29 20:27:59 PDT 2012


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5587

--- Comment #7 from Christopher Brooks <cxh at eecs.berkeley.edu> 2012-08-29 20:27:59 PDT ---
The problem is that JTextArea should not be used when there is just a single
line and no scroll bar.

http://docs.oracle.com/javase/tutorial/uiswing/components/textarea.html
says:
"If you need to obtain only one line of input from the user, you should use a
text field."

It seems like part of the problem is that the JTextArea gets a scrollbar and
wants more screen real estate, but the GridBagLayout in ptolemy.gui.Query
is not giving it space.

I'll look into this, but I'm not confident.

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Kepler-dev mailing list