diff options
Diffstat (limited to 'odk/examples/DevelopersGuide/Forms/SingleControlValidation.java')
-rw-r--r-- | odk/examples/DevelopersGuide/Forms/SingleControlValidation.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odk/examples/DevelopersGuide/Forms/SingleControlValidation.java b/odk/examples/DevelopersGuide/Forms/SingleControlValidation.java index 910b46fcf951..c22054b46f37 100644 --- a/odk/examples/DevelopersGuide/Forms/SingleControlValidation.java +++ b/odk/examples/DevelopersGuide/Forms/SingleControlValidation.java @@ -74,7 +74,7 @@ public class SingleControlValidation implements XFormComponentValidityListener try { m_inputLabel = m_formLayer.createControlAndShape( "FixedText", columnPos, rowPos, 70, 12, null ); - m_inputLabel.setPropertyValue( "MultiLine", new Boolean( true ) ); + m_inputLabel.setPropertyValue( "MultiLine", Boolean.TRUE ); com.sun.star.awt.FontDescriptor font = (com.sun.star.awt.FontDescriptor)m_inputLabel.getPropertyValue( "FontDescriptor" ); font.Weight = com.sun.star.awt.FontWeight.BOLD; |