From: Ricardo Markiewicz Date: Wed, 10 May 2006 23:29:16 +0000 (+0000) Subject: Yo sabia que Java era groso :P X-Git-Tag: darcs_import~1 X-Git-Url: https://git.llucax.com/z.facultad/75.62/c2tp1.git/commitdiff_plain/363f77a9322d70d665a6741346f870bd6029b3be?ds=sidebyside;hp=cb7b74f218aaee0b5e517ff23e3a9ed54bff8ba4 Yo sabia que Java era groso :P --- diff --git a/src/Sorteo.java b/src/Sorteo.java index ccf3368..2b2741c 100644 --- a/src/Sorteo.java +++ b/src/Sorteo.java @@ -19,7 +19,7 @@ public class Sorteo extends Observable { while (true) { /* Uso rango de 0 a 100 para que salga alguna vez :P */ - n = r.nextInt () % 100; + n = r.nextInt (100); setChanged (); notifyObservers (); }