Why should I need to press the link twice?

Hi Everyone,
I have developed an application in the Sun's MIDP 2.0 API, in which I have used Custom Designed Items. I have designed a LINK item. Application is working fine. BUT only problem is, I have to press the link Item TWICE. It should work on pressing it only 1 time.
On traversing it grabs focus properly. I have also added listener by calling setItemCommandListener() method. Everything is working fine, but I have to press it twice.
Is there anything wrong? If it is wrong, it shouldn't work on even pressing twice. So I think coding is correct.
Please give me suggestions.
One more thing... The code is working fine on the nokia and samsung devices, it is giving the described problem only on blackberry. I have posted the same question on BlackBerry forum, but they told me to use RIM's API. But due to some reasons I don't want to use it.
So here, if anybody have experience on BlackBerry development using Sun's MIDP API, please guide me to achieve this. I am desperately waiting for the reply.
Best Regards.

thanks michael for replying,
but I didn't need to do that in the recent past!
when I simply clicked on the triangle, all the other options become visible. now, when I only click, nothing becomes visible!
now I need to click using the CTRL-button at the same time.
what has changed here?
I phoned my collegue. he doesn't need to use the ctrl-button either...
what did I miss???
greetings

Similar Messages

  • Why do I need to press the CTRL-button to view my extra options in the tool panel?

    strange!
    all of the sudden, I don't get my extra tools in the tool bar (left) when I hit the black traingle in the right bottom corner.
    It appears to be the same problem in ALL my CS4 programs.
    I thought there was a conflict with my system OS X 10.6.2.
    but after searching for days, I see that the extra options in the fly out menu become visible when I hold the CTRL-button and click on the black traingle.
    any idea what has happened here?
    karien (belgium)

    thanks michael for replying,
    but I didn't need to do that in the recent past!
    when I simply clicked on the triangle, all the other options become visible. now, when I only click, nothing becomes visible!
    now I need to click using the CTRL-button at the same time.
    what has changed here?
    I phoned my collegue. he doesn't need to use the ctrl-button either...
    what did I miss???
    greetings

  • Why i need to press the push button twice to complete my action?

    in my Push Button at WHEN-BUTTON-PRESSED trigger I wrote this code:
    ===================================
    FORMS_DDL('CREATE TABLE DEMO (DEMO_ID NUMBER ENCRYPT USING ''AES256'' NO SALT NULL, DEMO_DATE DATE ENCRYPT USING ''AES256'' NO SALT NOT NULL)');
    FORMS_DDL('CREATE UNIQUE INDEX DEMO_PK ON DEMO(DEMO_ID)');
    FORMS_DDL('ALTER TABLE DEMO ADD (CONSTRAINT DEMO_PK PRIMARY KEY (DEMO_ID))');     
    FORMS_DDL('alter system set wallet open identified by "zaq1xsw2"');
    INSERT INTO demo VALUES (84,SYSDATE);
    COMMIT;
    FORMS_DDL('ALTER SYSTEM SET WALLET CLOSE');
    Message('Thanks for buying our program.');
    Message('Thanks for buying our program.');
    Go_item('DEPT.DEPTNO');
    Replace_content_view('WINDOW1','CANVAS4');
    ===================================
    but I need to press in it twice - two times - to execute the code above.
    The Question is : why the code doesn't execute from first press ?

    Here are some questions which should help us to help you if you provide detailed answers. Please also provide any other details which may help to illustrate the problem.
    1. What is the complete Forms version you are using? Please provide the version number and not the marketing name. A version number looks like this: 10.1.2.3.0 or this 9.0.4.3.0
    2. Are you running the form (the client) on the local machine or are you accessing it via something like Citrix, Desktop Sharing, etc?
    3. Are you running Forms in a virtual machine (e.g. VMware, Virtual Box, etc)?
    4. If you are using Forms 9.x or newer, what is the JRE or Oracle Jinitiator version you are using to run the form on the client?
    5. If you are using Forms 9.x or newer, what is the browser and version you are using to run the form on the client?
    6. Does any other function within the form cause the same odd behavior? If you have not tested, do so. For example, create a button with a WHEN-BUTTON-PRESSED trigger and code it to perform multiple tasks. Do you find that you have to click it more than once?

  • Why do i need to enter the credit card information for downloading free apps and redeem the codes?

    getting a message says apple id has not yet been used with the itunes store while trying to download apps
    why do i need to enter the credit card information for downloading free apps and redeem the codes?

    As a security precaution, Apple verifies your billing credentials with every transaction whether paid or free apps or using the balance of a redeemed code.

  • Why do i need to buy the same app for each device over and over again??

    why do i need to buy the same app for each device over and over again??
    and why cant i just pay for the app ones for all devices as long at it is with the same account??
    i hate that i have to oay for the same game or app three time one for ipad ones for iphone and ones for mac please do something about that apple..!!!

    First, you posted in the Mac App Store forum which are apps for the Mac OS X, not iOS devices.
    You do not need to re purchase your apps. Connect your iOS devices to your computer, launch iTunes. From the menu bar click Apps then click Sync
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Why dose an InDesign document loose the link to it's folder everytime the software upgrades?

    Why dose an InDesign document loose the link to it's folder everytime the software upgrades?

    Agreed. I have a couple thousand forms in my system. No sooner did I get through many of them after ugrading to CC, Adobe upgraded again. It begins all over again. [sigh]

  • Why should we create index on  the table after inserting data ?

    Please tell me the Reason, why should we create index on the table after inserting data .
    while we can also create index on the table before insertion of the data.

    The choice depends on a number of factors, the main being how many rows are going to be inserted in the table as a percentage of the existing rows, or the percentage growth.
    Creating index after a table has been populated works better when the tables are large or the inserts are large for the following reasons
    1. The sort and creation of index is more efficient when done in batch and written in bulk. So works faster.
    2. When the index is being written blocks get acquired as more data gets written. So, when a large number of rows get inserted in a table that already has an index , the index data blocks start splitting / chaining. This increases the "depth" of the inverted b-tree makes and that makes the index less efficient on I/O. Creating index after data has been inserted allows Orale to create optical block distribution/ reduce splitting / chaining
    3. If an index exists then it too is routed through the undo / redo processes. Thats an overhead which is avoided when you create index after populating the table.
    Regards

  • Why do apps need access to the microphone on the iPhone?

    why do apps need access to the microphone on the iPhone?

    Kind of depends on the App.
    If its a dictation App it needs to hear your voice. If its a souind recorder it needs it to record audio.
    What App is asking for it?
    What does the App do?

  • Why do you need to go about linking to services-config.xml in your flex compiler

    Why do you need to go about linking to services-config.xml in
    your flex compiler when you want to do remoting. It just seems like
    a complicated way to do things.

    Yeah I find this perplexing as well. I'm guessing it has something to do with Opalis origins perhaps.
    Would be good to understand why.

  • Why should I need to pay "overseas transaction fee" when I buy an iphone app in Hongkong dollar currency.

    why should I need to pay "overseas transaction fee" when I buy an iphone app in Hongkong dollar currency.

    I have bought some apps in apple store and pay it by Hongkong currency Credit Card. Afterwards I found there has some extra fees on statement and have been clarified as "overseas transaction fee"...

  • When I go to "manage my account" and I press the link at the bottom where it says to resend account information to an email address but the email isn't mine so what do I do

    When I go to "manage my account" and I press the link at the bottom where it says to resent account information to an email adress but the email isn't mine so what do I do?

    are you trying to reset your apple id??
    if you can use the email option use the security questions
    if you can not use that go to expresslane.apple.com -> go to itunes-> itunes store

  • I pressed the button twice and purchased the same movie twice on istore.  How do I delete the double purchase and be reimbursed?

    I pressed the button twice and purchased the same movie twice on istore.  How do I delete the double purchase and be reimbursed?

    http://www.apple.com/support/mac/app-store/contact.html?form=account&topic=MacAp pStoreAccountandBilling

  • Plugin check says WacomTabletPlugin needs update, but won't do anything when I press the link

    I run the Plugins Check and it tells the Wacom Tablet Plugin need to update.... when I click on the link nothing happens...

    Thanks... for some reason it is now showing as up to date....

  • Why should client PCs always know the default gateway?

    Considering that my home computer has only one connection and it is to my ISP,
    why does it need the default gateway to be configured (being DHCP client)?
    Where else my connection can be deviated from this unique connection cable?
    Is it possible to configure a router to which my PC is connected and, then,
    the client PCs would not need to be configured with default gateway?
    Or client PCs always have to know default gateway? 
    Why?

    How IP Packets are Routed on a Local Area Network
    http://www.anitkb.com/2010/06/how-ip-packets-are-routed-on-local-area.html
    Thanks, this helps but still confuses.
    The article tells:
    " Now that WK1 has WK2's MAC, it can send the packet directly to WK2"
    A)
    I do not understand what does it mean if computer has one outgoing network cable to switch.
    It is switch who has different connections and, thereafter, can commutate different communication circuits.
    So, I can only understand that WK1 somehow tells to switch to connect him directly to WK2 but not to router.
    How?
    B)
    Were  WK1 and WK2 connected directly to a hub, instead of switcher, would they be able to communicate directly?
    (The definition of a hub is that it takes a signal and broadcast it through all connections)
    C)
    Also, reading about switch-router-hub, I cannot understand which role is played by a client computer in communication
    (of a hub, of a switcher?)?  Neither of them? What? 
    A. I believe a fundamental understanding of what a switch and the differences and the similarities between a hubs, bridges and switches, as well as the OSI model, may be helpful at this time.
    First, the OSI model is an industry standard defining how hosts communicate with each other. There are 7 layers. THe bottom layer has no intelligence and is the physical connection. As you go up the ladder, the intelligence increases.
    7 Application (Application Gateways, Proxies, etc, operate at this level)
    6 Presentation
    5 Session
    4 Transport (TCP, UDP, SPX live here and operate at this layer, NAT overlaps 3 & 4)
    3 Network (IP & IPX live here. NetBEUI and DLC overlap 3 & 4. Routers operate at this layer)
    2 Datalink (MAC addresses live here. Bridges and Switches operate at this level)
    1 Physical (Hubs operate at this level)
    Hubs, Bridges and switches allow ethernet hosts to communicate with each other, no matter what protocol is being used, whether TCP/IP, IPX/SPX, NetBEUI, DLC, etc.  They transmit packets on the network.
    A hub is a Layer 1 device. It is a dumb device blatantly allowing all hosts to communicate to each other with no discerning source or destination addresses, whether MAC, IP, IPX or any other factor, in the packets.
    A bridge is a Layer 2 device. It bascially has two interfaces connecting two network segments together. If a host on one side of the bridge, we'll call that SegmentA, is trying to communicate to another host on the same SegmentA, the
    bridge will not allow the traffic to go to the other segment on its other interface, SegmentB. This helps reduce unnecessary traffic and reducing collisions, which slow down the network. If the host on SegmentA is communicating with a host on SegmentB, the
    bridge allows the traffic. This is because a bridge has enough intelligence to read the Link layer, which has the MAC address (the physical address) of the interface or network card. It can read the source and destination MAC and determines whether to allow
    that traffic across or not depending on where the source MAC is and where the destination MAC is.
    Switches are basically multi-port bridges. When a switch intializes, it reads the MAC addresses of all connected devices and creates a "destination table." Notice I didn't say "routing table" since that is associated with IP addresses.
    Therefore, if a host on port# 14 on a switch needs to communicate with a host on # 33 on the switch, the switch reads the source and destination MAC address in the Datalink Layer (Layer 2) and knows the destination is on port# 33 based on the destination
    lookup table it created of all connected devices. It will then only send this traffic between the two ports. This essentially reduces unnecessary traffic on other ports increasing efficiency.
    There are also Layer 3 Switches. They are combination switches and routers that can be managed where you can configure each port to either be switched or routed.
    So to answer your questions:
    A)
    I do not understand what does it mean if computer has one outgoing network cable to switch.
    It is switch who has different connections and, thereafter, can commutate different communication circuits.
    So, I can only understand that WK1 somehow tells to switch to connect him
    directly to WK2 but not to router.
    How?
    As explained, the switch simply discerns traffic by MAC address. The client side TCP/IP subsystem using the ANDING process, as I've explained earlier, and JM's blog explains, determines where the computer is sending the packets. A computer does not "Tell"
    the switch or hub anything. It simply dumps the packet on the wire and the switch reacts to what it finds in the Datalink layer, and if a hub, it simply sends the traffic on all ports.
    B)
    Were  WK1 and WK2 connected directly to a hub, instead of switcher, would they be able to communicate directly?
    (The definition of a hub is that it takes a signal and broadcast it through all connections)
    It's not called a 'switcher.' It's called a 'switch.' As explained, a hub blatantly broadcasts traffic on all ports. It is up to the sending host and receiving host to read all packets and figure out what belongs to it or not. If a destination address doesn't
    apply to a computer that hears the data, it simply ignores it.
    C)
    Also, reading about switch-router-hub, I cannot understand which role is played by a client computer in communication
    (of a hub, of a switcher?)?  Neither of them? What? 
    The computer is simply plugged into these devices. The devices have their job to do, and the computer has its own.
    I hope that explains this part of your networking questioning.
    Ace
    Ace Fekay, MVP, MCT, MCITP EA, MCTS Windows 2008 & Exchange 2007, MCSE & MCSA 2003/2000, MCSA Messaging 2003, Microsoft Certified Trainer, Microsoft MVP - Directory Services. This posting is provided AS-IS with no warranties or guarantees and confers no
    rights.

  • Hi, I bouhgt a used Apple Power Mac G5, I want to buy a blue tooth card for the same to use wireless keyboard and mouse, i am just curious that why do i need to provide the serial number of my computer, is there any compatibilty issue?

    Hi, I am new in Apple Computer, I bought a used Power Mac G5. I want to buy a blue tooth card for the same to use wireless keyboard and mouse. so why it is mandatory to provide the serial number of the machine?

    Hello, Serial# not needed...
    At the Apple Icon at top left>About this Mac.
    Then click on More Info>Hardware and report this upto *but not including the Serial#*...
    Hardware Overview:
    Machine Name: Power Mac G5 Quad
    Machine Model: PowerMac11,2
    CPU Type: PowerPC G5 (1.1)
    Number Of CPUs: 4
    CPU Speed: 2.5 GHz
    L2 Cache (per CPU): 1 MB
    Memory: 10 GB
    Bus Speed: 1.25 GHz
    Boot ROM Version: 5.2.7f1

Maybe you are looking for