Creates new form LPAUI
()
| 71 | * Creates new form LPAUI |
| 72 | */ |
| 73 | public LPAUI() { |
| 74 | |
| 75 | // LocalDateTime today = LocalDateTime.now(); |
| 76 | // |
| 77 | // if (today.getYear() >= 2019 && today.getMonthValue() > 12) { |
| 78 | // // TODO add your handling code here: |
| 79 | // StringBuilder sb = new StringBuilder(); |
| 80 | // |
| 81 | // String version = getAppVersion(); |
| 82 | // if (version != null && version.length() > 0) { |
| 83 | // version = String.format("(V%s) ", version); |
| 84 | // } else { |
| 85 | // version = ""; |
| 86 | // } |
| 87 | // |
| 88 | // sb.append(String.format("This version of Truphone LPAdesktop %sis no longer valid.", version)).append(System.getProperty("line.separator")); |
| 89 | // sb.append("Please contact Truphone (DevicesxSIMTechnologies&Roaming@truphone.com)").append(System.getProperty("line.separator")); |
| 90 | // |
| 91 | // Util.showMessageDialog(this, sb.toString()); |
| 92 | // System.exit(0); |
| 93 | // } |
| 94 | initComponents(); |
| 95 | |
| 96 | LogStub.getInstance().setAndroidLog(true); |
| 97 | LogStub.getInstance().setLogLevel(Level.ALL); |
| 98 | LOG.log(Level.INFO, "STARTING"); |
| 99 | |
| 100 | init(); |
| 101 | |
| 102 | } |
| 103 | |
| 104 | private void init() { |
| 105 | try { |
nothing calls this directly
no test coverage detected