Hi Roger,
I think I found the roof of the problem.
As per what you suggested, in the sample stock_tracker_window.bxml
I tried to assign an bxml:id to each container so that I call the
setFocusTraversalPolicy(null)
to prevent the focus goes to the other components in this case the TableView.
<TablePane bxml:id="pane1" styles="{padding:8, horizontalSpacing:6,
verticalSpacing:6}">
:
<SplitPane bxml:id="pane2" splitRatio="0.4">
:
<ScrollPane bxml:id="pane3" horizontalScrollBarPolicy="fill_to_capacity"
verticalScrollBarPolicy="fill_to_capacity">
:
<StackPane bxml:id="pane4">
<TableView bxml:id="stocksTableView" selectMode="multi"
styles="{showHorizontalGridLines:false}">
I found that only when I call pane1.setFocusTraversalPolicy(null) which is
TablePane and the rest are all fine.
But the strange things is I have no where to catch this exception, anyway
there's a way solved the issue.
Thanks,
Jeffrey