Advertisement
Guest User

Untitled

a guest
Apr 29th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. /*
  2. * To change this license header, choose License Headers in Project Properties.
  3. * To change this template file, choose Tools | Templates
  4. * and open the template in the editor.
  5. */
  6. package pkg30jahreintibet;
  7.  
  8. import javax.swing.JOptionPane;
  9.  
  10. /**
  11. *
  12. * @author G404
  13. */
  14. class AKW {
  15.  
  16. String Name;
  17. Adresse1 aa, ab;
  18. Reaktor a;
  19.  
  20. public int damitAllesInsLaufenKommt() {
  21. int intaußentemp;
  22. String Außentemp = JOptionPane.showInputDialog("nuu - wie warms ists draußen??");
  23. intaußentemp = Integer.parseInt(Außentemp);
  24. return intaußentemp;
  25. }
  26.  
  27. public void guckenObÜber30() {
  28. if (damitAllesInsLaufenKommt() > 30) {
  29. Reaktor.an = true;
  30. }
  31.  
  32. }
  33.  
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement