Open marcriera opened 2 years ago
I think you can add this code line UseCppVersion.setSelected(true);
at between line 921 and 922 in src/apertiumview/ApertiumView.java. So the "C++ version" will be default. I can't compile/test it so can anyone test this?
That's right. Or right after the invocation of initComponents() - at line 234 ( https://github.com/apertium/apertium-viewer/blob/master/src/apertiumview/ApertiumView.java#L234 ) The initComponents() is auto generated from a layout file and in this way you dont risk the change to get lost if the initComponents() method is ever re-generated again.
Partly related to https://github.com/apertium/apertium-viewer/issues/3
The Java port of Apertium doesn't have feature parity with the C++ version and this leads to all kinds of errors in Apertium Viewer. I think it makes sense to set "C++ version" as default when starting the program or, at least, to remember the last version used via settings.