draw GeoGebra shapes automatically from a java program

Mohsen Salah shared this question 4 months ago
Answered

Hello,

I'm writing a java program and it would be great if I could present the results as 2D shapes ( simple rectangles and squares ).

I was wondering if there is a library I can use in my public static void main(String[] args) so that it will create a new geogebra window and show the results there?

Comments (1)

photo
1

Try something like this:

app = new AppD(null, this, false);
GeoGebraFrame f = new GeoGebraFrame();
f.setApplication(app);
app.setFrame(f);
f.setSize(1200, 800);
f.setVisible(true);
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

© 2021 International GeoGebra Institute