08-21-2008 12:24 PM
Is there a way to create TextField fields that can have unlimited size of length it them?
as a side note, is there a way i can register to an event that will happen every second?
like addRealtimeClockListener, but for a second instead of minute.
08-21-2008 01:39 PM
There is no way to specify an unlimited number or characters.
There are a couple of ways to schedule something to run at a given interval. The first is to use a Timer and TimerTask. Note that this does not gaurantee that a method will run exactly on the second.
A second option is to create a thread that loops and contains a 1 second sleep call. You can then perform your action every second.
08-21-2008 02:15 PM
Thanks MSohm, you solved my issue #2.
About #1, would it take the full memory space if i specify something like the short max value?
or will it resize it self depending on its content?