Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public void handle(ActionEvent event) {
- context.hide(); //убираем меню
- System.out.println("старт " + new Date(System.currentTimeMillis()));
- JniTest SS = new JniTest();
- try {
- //вызываем метод
- SS.showString();
- }
- catch (UnsatisfiedLinkError e) {
- System.out.println("метод не найден (" + e + ")");
- }
- System.out.println("завершено " + new Date(System.currentTimeMillis()));
- } }); '
- new Thread(() -> {
- System.out.println("старт " + new Date(System.currentTimeMillis()));
- JniTest SS = new JniTest();
- try {
- //вызываем метод
- SS.showString();
- } catch (UnsatisfiedLinkError e) {
- System.out.println("метод не найден (" + e + ")");
- }
- System.out.println("завершено " + new Date(System.currentTimeMillis()));
- }).start();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement