Hi Ajay,
I gave a look at your code.
The problem is a Java problem. You have a null reference to the timer
within MaActionListener, because you set it before creating the
ULCPollingTimer.
Hier a possible solution for your code.
try{
MyListener listener = new MyListener();
ULCPollingTimer timer = new ULCPollingTimer(40,
listener);
listener.setTimerReference(timer);
timer.start();
}catch(Exception e2)
{
System.out.println("handled by timer"+e2);
}
On Jun 20, 2007, at 2:16 AM, Ajay Kumar wrote:
Hi Sandro,
I am Ajay, developer to Gavin McNicholl .
Thanks for your response,now the problem with the ULCWindow and
ULCTextFields have been solved.
Now,I am getting problem with ULCProressBar, ULCCombobox.
I am using ULCProgressBar and ULCPoolingTimer. I am using the
ULCPoolingTimer to show the progress of the progressbar, in which
I specified
the minimum value of progressbar as 0 and maximum value as 1000. I
am stopping the timer in the condition when progress bar's value
reaches to the 900, but it is not stopping, as it is running
continuously. I have used the timer.stop() method and
timer.removeActionListener() but they are not able to stop the timer
For second problem,please find the attachment problem with
ULCComboBox.doc
Please help me.
Thanks & Regards,
Ajay Kumar
<problem with progress bar using timer.doc>
<problem with ULCComboBox.doc>
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer