01-16-2009 04:51 AM
Please let me question.
I want to have the Manager class do drawFocus.
Focus is not gained though 'FOCUSABLE' is specified for the constructor of the Manager class. Do you know the method of executing the drawFocus method of the Manager class?
By the way, I want to express one data of the mail list in the Manager class.
JDE Component Package 4.6.0
Solved! Go to Solution.
01-19-2009 02:52 PM
01-19-2009 10:17 PM
Thank you for the reply, Mark.
My goal is as shown in the following description.
When the item is drawn in the custom field, it is necessary to correct the paint() method when the another item is added by the specification change. I thought that I only had to add the item by the insert(Field,index) method of the Manager class when the another item was added by the specification change.
The Manager class shows one data of the mail list, and the item that shows the presence of the reception date and the subject and the attached file is included in that. Therefore, I want "Manager class" to express the focus existence when a Manager class acquires focus in the mail list.
This is my goal.(I feel sorry by my poor English. )
01-22-2009 10:35 AM
01-26-2009 12:10 AM - edited 01-26-2009 03:39 AM
I solved for oneself.
The following figure is a thing that I wanted to do.
(Because the image had not been displayed by the preview, the link was presented. I'm sorry.)
First of all, I arranged it at the head of the Manager class of "FOCUSABLE" NullField.(The Manager class can judge the event of the focus acquisition from this. )
The Manager class has one class variable that shows the state of the presence of focus.
And, the "focusChanged" method of FocusChangeListener is mounted.
The Manager class draws the rectangle in the paint() method referring to the value of the class variable ahead.
I was able to want to do by this.
I want to close and this matter by this.
Thank you for sparing the expensive time, Mark.