Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with NetBeans 6.5.1: What causes the opening of a MIDlet take too long?  RSS feed

Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you tell me what causes the opening of a MIDlet to take too long
when using NetBeans 6.5.1 debugger?
I tried to start debugging my MIDlet program
but it seems that wherever the breakpoint is,
the program does the things it is supposed to do before a target breakpoint
but after that the Nokia emulator just keeps opening the program
and certain debugging breakpoint cannot be reached.

By the way, how sensitive Java (SE/ME) is about using static object reference variables?
What is the right time to introduce static object type variables?
One possibility is to explicitly define static variables in a normal object constructor
just once during the lifetime of the class in question.
I know using the 'static' block is one option as well.

Thank you for your help.

Kind regards,

mr. Lauri J. Martikainen
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!