There is an application with fields:
Surname Name Patronymic Telephone Identifier
What are the options for implementing the generation of QR-code in java? Maybe there are libraries, or ready-made solutions? Maybe somewhere described how to implement it?
public void onQR(ActionEvent actionEvent) { String fam = "Тестовый"; String im = "Тест"; String ot = "Тестович"; String phone = "tel:89999999999"; String mail = "mailto:test@test.ru"; String url = "urlto:https://test.ru"; String contact = "mecard:" + fam + " " + im + " " + ot + ", г. Тестовск"; String rez = contact + "," + phone + "," + mail + "," + url; try { generateQRCodeImage(rez, 350, 350, QRIMG); } catch (WriterException ex) { System.out.println("Could not generate QR Code, WriterException :: " + ex.getMessage()); } catch (IOException ex) { System.out.println("Could not generate QR Code, IOException :: " + ex.getMessage()); } } 