• Post Reply Bookmark Topic Watch Topic
  • New Topic

print a Random to jTextField

 
volkantnc
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I'm studying for a loto game with for 4 Random numbers from 1-30.
But I didn't print a random number to jTextField.
Please help me.
Thanks.

code:

private void jButton1MouseClicked(MouseEvent evt) {
System.out.println("jButton1.mouseClicked, event="+evt);
Random rnd1=new Random();
System.out.println(rnd1);
int bir=rnd1.nextInt(30);
// ??? :roll: :roll: javascript:%20x()
 
volkantnc
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's mine.
Thanks.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
 
volkantnc
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry,I'm new.
[ July 17, 2008: Message edited by: volkantnc ]
 
Campbell Ritchie
Marshal
Posts: 52608
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"volkantne" please check your private messages about an important administrative matter.

CR
 
volkantnc
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK
 
Rob Spoor
Sheriff
Posts: 20822
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's still not good. Please read this thoroughly.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!