File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why my UI code can't work ?!

 
George Ren
Ranch Hand
Posts: 58
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The following code can go through compile, but can't display properly on the emulators.
This project is about a frontend to connect to a backend database. I havn't complete the backend yet. Is this the reason that I can't get the proper display of UI?
Thank u a lot.
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you answered your own question.
Here is why, in your own code.

See you try to open a connection, and catch an exception which calls destroyApp and notifyDestroyed, killing your MIDlet before it even gets to the setCurrent call.
[ February 28, 2004: Message edited by: Mark Spritzler ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic