This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 105106 - Cancel command placed in Options menu
Summary: Cancel command placed in Options menu
Status: RESOLVED INVALID
Alias: None
Product: javame
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@mobility
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-30 10:07 UTC by dverdouw
Modified: 2007-05-30 10:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dverdouw 2007-05-30 10:07:14 UTC
I'm working on a mobile application. In this application I have a Form. The 
Form contains 2 TextBoxes. It also contains 1 Assigned Command of 
Type 'Cancel'. One of the TextBoxes contains 1 Assigned Item Command (witch is 
labeled 'OK'). When I run the application and go to this form I see 3 
softbuttons on the bottem of the screen: 'Clear', 'OK' and 'Options'. 
The 'Clear' button is there because one of the TextBoxes is selected, that's OK 
with me.
The 'OK' button is there because the TextBox that holds the Assigned Item 
Command (labeled 'OK') is selected, that's OK with me.
But why can't I see the Assigned Command of type 'Cancel'. This command 
is 'hidden' under the soft button 'Options', this is not logical to me.
Is there a possibility to change this, so the the Cancel-command is 
not 'hidden' under the 'Options' softbutton. 

Probably it is a default behaviour in Netbeans that if there are more than 2 
softbuttons in a Form to be shown, the 3rd,4th,5th,.... one are put on 
the 'Options' softbutton. I think this is a good behaviour, but not if there 
are only 3 softbuttons to be shown. If the 'Options' softbutton only holds 1 
command, it makes the 'Options' softbutton needless. I think it would be nicer 
to show the command directly on the screen in stead of the 'Options' softbutton.

Can somebody help me out...
Comment 1 David Kaspar 2007-05-30 10:57:11 UTC
This is a device/emulator specific behaviour. The J2ME specification says that.
There is no way how NetBeans can change it since the MIDP API does not allow that.