Advertisement
Guest User

Untitled

a guest
Mar 25th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. public class UI(){
  2.  
  3. public static int cursorvar = 0;
  4.  
  5. public UI(){
  6. JFrame frame = new JFrame();
  7. //frame settings and so on
  8. frame.setCursor(cursorvar);
  9. }
  10. }
  11.  
  12. public class SettingsWindow(){
  13.  
  14. public SettingsWindow(){
  15.  
  16. //Window and window parameters
  17.  
  18. button.addActionListener(new ActionListener(){
  19.  
  20. public ActionListener(){
  21. cursorvar++;
  22. System.out.println(cursorvar);
  23. }
  24. }
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement