Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. @Override
  2.  
  3. public void handle(ActionEvent event) {
  4.  
  5. context.hide(); //убираем меню
  6.  
  7. System.out.println("старт " + new Date(System.currentTimeMillis()));
  8.  
  9. JniTest SS = new JniTest();
  10.  
  11. try {
  12. //вызываем метод
  13. SS.showString();
  14. }
  15. catch (UnsatisfiedLinkError e) {
  16. System.out.println("метод не найден (" + e + ")");
  17. }
  18.  
  19. System.out.println("завершено " + new Date(System.currentTimeMillis()));
  20. } }); '
  21.  
  22. new Thread(() -> {
  23. System.out.println("старт " + new Date(System.currentTimeMillis()));
  24.  
  25. JniTest SS = new JniTest();
  26.  
  27. try {
  28. //вызываем метод
  29. SS.showString();
  30. } catch (UnsatisfiedLinkError e) {
  31. System.out.println("метод не найден (" + e + ")");
  32. }
  33.  
  34. System.out.println("завершено " + new Date(System.currentTimeMillis()));
  35. }).start();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement