use of org.eevolution.form.bom.RadioButtonTreeCellRenderer in project adempiere by adempiere.
the class VProductConfigurationBOM method init.
/**
* Initialize Panel
* @param WindowNo window
* @param frame parent frame
*/
public void init(int WindowNo, FormFrame frame) {
log.info("");
m_WindowNo = WindowNo;
m_frame = frame;
try {
// Top Selection Panel
createSelectionPanel(true, true, true);
m_frame.getContentPane().add(selectionPanel, BorderLayout.NORTH);
// Center
createMainPanel();
CScrollPane scroll = new CScrollPane(this);
m_frame.getContentPane().add(scroll, BorderLayout.CENTER);
confirmPanel.addActionListener(this);
// South
m_frame.getContentPane().add(confirmPanel, BorderLayout.SOUTH);
//Tree stuff
DefaultMutableTreeNode parent = new DefaultMutableTreeNode(Msg.translate(Env.getCtx(), "No Product Chosen"));
this.m_RadioButtonTreeCellRenderer = new RadioButtonTreeCellRenderer();
} catch (Exception e) {
log.log(Level.SEVERE, "", e);
}
sizeIt();
}
Aggregations