• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with double operations

 
krzys waleski
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a problem with code. ( My version of java is CLDC 1.1, MIDP-2.0)

The "problematic" code is marked by asteriks.
i got the debug info:

 
Darryl Burke
Bartender
Posts: 5148
11
Java Netbeans IDE Opera
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Background reading: http://docs.sun.com/source/806-3568/ncg_goldberg.html

It "doesn't work" becauseis more than 15 characters in length, and the text field was constructed with a capacity of 15 characters. Add a line and the Exception goes away.Oh, and welcome to the Ranch!
 
krzys waleski
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic