mPanel = new HeapPanel(); mPanel.createPanel(parent); setSelectionDependentPanel(mPanel); // listen to focus changes for table(s) of the panel. setupTableFocusListener(mPanel, parent);
mPanel.setFocus();