I'm going to add a JTable embedded into a JScrollPane into a ChartPanel of JFreeChart, in order to have it on printed version of chart.
Anyway, by using
chartPanel = new ChartPanel(chart);
chartPanel.setLayout(new BorderLayout(0, 10));
chartPanel.add(dataScrollPane,BorderLayout.SOUTH);
or other form of Layout Managers, the table rendered above the plot:
Is there an efficient way to solve this and show the JScrollPane under the chart in the print prefectly?