Test uses another text renderer to avoid crash

This commit is contained in:
martin 2022-02-18 15:26:03 +01:00
parent a538367ae6
commit 44ea5d2f92
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ public class TestAddRemoveFromFrame {
Chart chart = factory.newChart(q);
chart.add(SampleGeom.surface());
// chart.getView().getAxis().setTextRenderer(new TextBitmapRenderer());
chart.getView().getAxis().setTextRenderer(new TextBitmapRenderer());
Frame frame = new Frame();
frame.add((java.awt.Component)chart.getCanvas());