BF (1899283) - Numeric fields allow copy strings

https://sourceforge.net/tracker/index.php?func=detail&aid=1899283&group_id=176962&atid=879332
This commit is contained in:
kthiemann 2009-09-24 11:58:56 +00:00
parent 321edb6782
commit e1ada0fff9
1 changed files with 1 additions and 0 deletions

View File

@ -408,6 +408,7 @@ public final class VNumber extends JComponent
{
log.log(Level.SEVERE, "Value=" + value, e);
}
m_text.setText(m_format.format(0));
if (m_displayType == DisplayType.Integer)
return new Integer(0);
return Env.ZERO;