java - How to properly make getComponentAfter set focus on jDateChooser -
so i'm trying implement following:
public component getcomponentafter(container focuscycleroot, component acomponent) { int idx = (order.indexof(acomponent) + 1) % order.size(); return order.get(idx); } where order list of elements. doing this, focus going vertically when reaches jdatechooser does't focus.
what need set?
i have fixed it, problem in jdatechooser component set following
idateeditor editor = jdatechooser9.getdateeditor(); jcomponent comp = editor.getuicomponent(); and add comp array.
Comments
Post a Comment