Results 1 to 1 of 1
Thread: Item Flickering
- 10-25-2011, 07:48 AM #1Member
- Join Date
- Oct 2011
- Rep Power
I am in the process of developing a general mobile application frame work in which before displaying each form element, the application will check whether the element has dependency with any of the previous controls.
For example, Say I have the following form elements Name, Gender, Age Group (If male, display age group), hobbies etc.
After appending the Gender and before appending the age group in the forms, my app performs the following operation in the itemstate change of Gender
1. Clear all form item below Gender
2. Check dependency
3. If true, add form item
4. If false, go to next item
This algorithm causes flickering in my mobile since each time when I add/edit the form value it needs refresh the entire form that can have around 15-20 form elements. It causes poor performance also.
Can anyone suggest some other way to avoid this flickering
- By dewitrydan in forum New To JavaReplies: 2Last Post: 08-17-2010, 07:45 PM
- By dimril in forum Java 2DReplies: 5Last Post: 06-11-2010, 08:52 AM
- By Tomasz Wroniak in forum SWT / JFaceReplies: 0Last Post: 12-02-2009, 12:23 PM
- By hemanthjava in forum AWT / SwingReplies: 1Last Post: 12-12-2008, 02:07 PM
- By samson in forum Java 2DReplies: 3Last Post: 09-21-2007, 10:51 PM