add random sentence
This commit is contained in:
parent
21af98e43f
commit
d3837d3c1b
@ -7,5 +7,6 @@ public class SiListener implements ActionListener{
|
||||
public void actionPerformed(ActionEvent event){
|
||||
Random rand = new Random();
|
||||
String str[] = {"Grazie per aver venduto la sovranità popolare", "Radical chic di sto c@zzo", "Sei appena entrato in dittatura"};
|
||||
JOptionPane.showMessageDialog(null, str[rand.nextInt(3)]); }
|
||||
JOptionPane.showMessageDialog(null, str[rand.nextInt(3)]);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user