Hi together,

I use the following code:
-----%<-----
Object inputModel01 =
        xMSF.createInstance("com.sun.star.awt.UnoControlEditModel");
XPropertySet xPSetInput01 = (XPropertySet) UnoRuntime.queryInterface(
        XPropertySet.class, inputModel01);
xPSetInput01.setPropertyValue("PositionX", new Integer(5));
xPSetInput01.setPropertyValue("PositionY", positionY - 2);
xPSetInput01.setPropertyValue("Width", new Integer(190));
xPSetInput01.setPropertyValue("Height", new Integer(120));
xPSetInput01.setPropertyValue("MultiLine", true);
//xPSetInput01.setPropertyValue("HScroll", true);
//xPSetInput01.setPropertyValue("VScroll", true);
xPSetInput01.setPropertyValue("AutoHScroll", true);
xPSetInput01.setPropertyValue("AutoVScroll", true);
xPSetInput01.setPropertyValue("ReadOnly", true);
xPSetInput01.setPropertyValue("Text", this.failureText);
xPSetInput01.setPropertyValue("Name", _INPUT_PAPER);
-----%<-----

When setting the AutoHScroll or AutoVScroll value, my dialog crashes
without an exception. I am using Java, OO 2.3 on Ubuntu Linux AMD64.

Is this a defect or am I doing something wrong?

Greetings, Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to