I draw a chart with tooltip.But when i add it to a RCP,the tooltip doesn't show?
so did anyone know this problem ? Here is the code.
Code: Select all
public void createPartControl(Composite parent) {
composite = new Composite(parent, SWT.NO_BACKGROUND|SWT.EMBEDDED);
DrawChart myChart = new DrawChart();
chartFrame = SWT_AWT.new_Frame(composite);
chartFrame.add(myChart.chartPanel);// the chart is in the chartPanel
chartFrame.pack();
chartFrame.setVisible(true);
}