FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Problems with form.removeCommand in IDE emulator

 
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users
View previous topic :: View next topic  
Author Message
wotcha



Joined: 04 Oct 2008
Posts: 9

PostPosted: Fri Feb 20, 2009 5:36 pm    Post subject: Problems with form.removeCommand in IDE emulator Reply with quote

Can anyone help?

My problem is with Form.RemoveCommand. When I remove and add commands in a form, old commands are always left in the list of commands on the right menu button. The list of commands is supposed to be 2 commmands but I usually get 2 valid + 1 old command (always the same one) in the command list at this stage in my midlet. This is running in the emulator in Netbeans 6.5?

My code is:-

Code:
erform.removeCommand(mainMenu);


but Main Menu always appears on the list of commands, although it appears to be de-activated when selected.

Thanks

Paul
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB