Print

Print


I am very new to MASON. I worked through the tutorials and began to work on
my own project. I was trying to setup a domain for an integer property on my
model. I create the interval and the domFoo() function and the console
created the slider correctly. But when I went to move the slider I received
a exception because it was trying to assign a double value to the integer
property.

After tracking it down I found this in PropertyField.java

public void stateChanged (ChangeEvent e)
{
    . . .

double d;

if (domain.isDouble())
{
    . . .
}
else
{
    . . .

}