mirror of https://github.com/rusefi/jzy3d-api.git
Test uses another text renderer to avoid crash
This commit is contained in:
parent
a538367ae6
commit
44ea5d2f92
|
@ -24,7 +24,7 @@ public class TestAddRemoveFromFrame {
|
||||||
Chart chart = factory.newChart(q);
|
Chart chart = factory.newChart(q);
|
||||||
chart.add(SampleGeom.surface());
|
chart.add(SampleGeom.surface());
|
||||||
|
|
||||||
// chart.getView().getAxis().setTextRenderer(new TextBitmapRenderer());
|
chart.getView().getAxis().setTextRenderer(new TextBitmapRenderer());
|
||||||
|
|
||||||
Frame frame = new Frame();
|
Frame frame = new Frame();
|
||||||
frame.add((java.awt.Component)chart.getCanvas());
|
frame.add((java.awt.Component)chart.getCanvas());
|
||||||
|
|
Loading…
Reference in New Issue