Double cursor in the same GUI

while designing an application which accept user input,I faced a typical problem.I can see two cursors blinking on the same GUI at two different places(both in the textFields)one cursor is active and responds to user input while the other is inactive....Is it a problem with requestListner/FocusListener...??? Please Explain ...

I should add that this problem seems to only
occur when, after populating all of my
text fields, I force focus onto one of them...
by calling myField.requestFocus(). Usually,
that field ends up being the one which will
no longer respond to input or events.
Meanwhile, a second cursor sits on whatever
text field it was in prior to me calling
myField.requestFocus().

Similar Messages

  • Can I union several cursors for the same secondary db?

    I want to search several keys in one secondary database.
    select * from adb where a=6 or a=9 or ....
    certainly, this can be done by running several queries, but it is definitely slow.
    wondered if it is possible to union these several cursors together, then fetch the data from the primary database at once? seems this is not supported in current BDB implementation.
    trying to modify the bdb code to support the cursor union operation. but get lost in the code. (seems java version is simpler than the c version. )
    can some friend from Oracle, Ron, Bogdan, Andrei,Alexander
    shed me some light on how a cursor in bdb is implemented. did not find too much detail in the document.
    and hope this is in the to-do list of next version.
    thanks

    Hi,
    The idea of joining cursors on the same secondary db presents no logic since you don't want to identify common keys within the records corresponding to each cursor.
    A join cursor works the following way: the first cursor on a secondary db within the cursor array is analyzed and each primary key that the cursor refers to is searched within the next primary keys refered to by the next joined cursor in the array, and so on, leading to identifying the primary keys that each of cursors within the array refer to (the common keys).
    What you want to achieve on a secondary db can be accomplished by positioning several cursors on the records that you want, begin reading sequentially with each of them, go to the other when you have finished reading with one cursor. A faster approach, which shouldn't involve any locking issues since the acquired locks are shared/read locks and you'll not perform any writes at that moment, may be that of spawning several threads and open a cursor within each thread, thus performing multithreading cursor read operations. You'll have to analyze each approach with regard to how many duplicates the cursors will refer, time consumed to spawn the threads etc.
    Let us know if you need further information, regards,
    Andrei

  • Extract the x,y values of two cursors in the same xy graph

    I would like to extract the x,y values of 2 cursors in the same xy graph. The problem is i arrive to extract the value only for one curso. How can I do to extract the value of the other cursor ?
    Regards,
    Sylvain
    Solved!
    Go to Solution.

    Property nodes operate top to bottom, so all you need to do is change the "active cursor" property first. Here are two possibilities.
    Message Edited by altenbach on 08-07-2009 09:04 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    ActiveCursors.png ‏8 KB

  • I was double billed for the samer app how doI get credit

    I was double billed for the same APP How do I get credit for the second purchase?

    The necessary links/menus you need to navigate to after clicking the Report a Problem link can be a little tricky to find. See
    Refunds from the App Store or iTunes Store
    Hopr it works out for you (:

  • HT204088 doubled charged for the same app

    Why am I getting doubled charged for the same app

    Could you be more explicit, this is a user forum. Apple does not answer questions here. We are not mind readers. What app? How do you know that you were double billed? Was it with the same Apple ID or with two different IDs?

  • Cursor on the same field after validation (urgent.)

    Hi All,
      I m doin validation on certain field. if the user enters wrong value then error message should be given  along with the cursor should be in that field only.
    Here in my case what happens is the cursor goes to intial screen i want it at on that field where i have given the validation.
    What should i do for the same?
    Please help me with the same..
    Thanx in advance,
    Amruta.

    Hi,
    try this
    SET CURSOR FIELD 'P_DATE'.
    Message ..................
    OR
    Try to give out the error message inside a module inbetween
    Chain.
    field: <Fieldname>
    module Endchain.
    Regards,
    Omkar.

  • IPhone 3GS + iTunes 11.01 + double entry of the same device

    Browsing or searching for an answer to that particular question is almost impossible nowadays, as it involves iTunes, iPhone and recovery mode but unlike most problems of that kind is almost benign. Nevertheless its bothering me and I'd like to know how to resolve the issue.
    Problem:
    - my iPhone 3GS is listed twice in the device section of iTunes
    - I was once able to verify, that both entrys refer to the same EMEI (don't know how though)
    - every time I hook up the device, iTunes asks to verify the model via internet and at the same time recognizes the device as known
    looks approx. like this:
    DEVICES
    > iPhone (charging) (eject)
    > iPhone                    (eject)
    Both devices are selectable, one however shows only the overview of an iDevice in recovery mode with the option of restoration.
    As nooby as i am in this area - I don't think it would be a good idea to do this.
    If I don't allow iTunes to check the device online, then only the functional device is listed and as always available without any trouble.
    Prior to the problem:
    - I'm pretty sure it has something to do with the fact, that I almost bricked the iPhone at one occasion and only were able to get it functional again, after updating to iOS 6.01 via iTunes
    - the iPhone ended in a loop of Boot and Reboot which could not even countered by entering DFU and resetting boot via tinyumbrella
    - I could not properly turn off and restart the device

    Are you sure you have the latest version of iTunes (10.4.1)? Has the phone ever been jailbroken or hacked in any way, including installation of iOS 5? Has your COMPUTER ever been used to unlock, hack or jailbreak ANY Apple device (not just the phone with the problem)?

  • Help double messaging with the same message

    like when someone Im's me i got the same thing twice and it says now chatting ___ (using my sn)
    I just changed the ports and deleted the two ichat files and i rechanged the quicktime settings and video settings on ichat... I'm using a Intel iMac with the latest upgrade 10.5.4

    Sounds like you are also running another AIM Client somewhere.
    9:28 PM Tuesday; July 1, 2008

  • Making an rxvt-unicode (urxvt) cursor act the same as a console cursor

    Is there a way to emulate the exact same cursor behavior in urxvt as one would find on the Linux console (i.e. not under X11).
    I am used to working at the console and in this environment, the cursor is a blinking underscore by default.  However, it's color, shape, and blinking behavior can be controlled via character escape sequences.  Some applications take advantage of these facilities.
    I can configure urxvt to show the cursor as either a block or underscore, and also enable or disable blinking, but these options are either set in a configuration file or at the command line.  I cannot figure out how to enable them at run time.  The usual to set the cursor escape sequences seem to be ignored.
    Has anyone successfully managed this?

    bohoomil wrote:
    If you mean blinking underscore, put the following to your .Xresources:
    URxvt.cursorBlink: 1
    URxvt.cursorUnderline: 1
    -- or launch urxvt with -bc -uc parameters.
    Thanks, though unfortunately these are the configuration options and command line switches that I was referring to.  Do you know if there is a way to change the appearance of the cursor at run time?  In other words, when the program is running?
    Ideally, I'd like urxvt to respond to the ANSI cursor codes which affect the cursor appearance.  I've been hunting around trying to determine if this is implemented in urxvt but I haven't found much on the subject in the urxvt man pages.

  • Can I use SubPanels to display and run multiple executables from the same GUI?

    I have two Labview executables that performs some A/D I/O, each using an independent USB-6008.  I would like to run both of these executables from a single UI.  Is this possible usin SubPanels?  Or some other method?
    I found KB regarding exe's and VI Server but can't seem to get the suggested workarounds implemented.
    http://digital.ni.com/public.nsf/allkb/8545726A00272EB0862571DA005B896C?OpenDocument
    I am using Labview2009
    Thanks
    Dan
    Solved!
    Go to Solution.

    DBerry wrote:
    No, of course I am not sure yet.  I have only begun testing this method. 
    Not sharing common hardware (separate USM-6008s).
    Here is the whole picture:
    I have developed a top-level VI that performs Daqmx IO using a single USB-6008.  The top-level VI references a Project Daqmx Task that points to the desired 6008.  I would like to create a single UI that uses this top-level VI to control twoUSB-6008s simultaneously.  I thought I could build the top-level VI into 2 separate exes, where the only difference between the exes is the hardware it points to (one exe to each of the 6008s).  But I have been unsuccessful at running these two exes within a single UI.  I attempted use subpanels on a tab control to do this but I am unable to obtain a reference to the top-level vis once they have been built into an exe.  I have also tried building a dll and exporting the top-level vi from the dll build but i can't seem to get that to work either.  In both of these cases my Open VI reference function returns errors (Error 1445).  I am aware of the changes in referencing VIs from within an exe/dll since LV8.2 - http://digital.ni.com/public.nsf/allkb/8545726A00272EB0862571DA005B896C
    The link seems to suggest that I should be able to obtain a reference to the top-level vi within the dll but I can't get it to work.
    So I then moved on to the above method (making all the subvis reentrant).  I just haven't figured this all out yet.
    If you have suggestions on other problems I may run into please share.  I think I can eliminate my FGs but haven't gotten back to this yet.
    Thanks
    Dan
    When I am designing apps of the type you described I have kept the ned goal in mind from the begining since of the issue you are mentioning. I also don't want to tell you to throw it all away and start over. So with that in mind I have been looking at your posts and only offering the least destrutive ideas first. With that in mind I would like to invite yo uto look at the code i posted in this thread (reply #18 has a zip).
    That code shows how to realize un-dockable GUI regions but it passes the ref of the top level VI to a reentrant VI it instanciate for each undockable region. It may have enough hints and technique to give you some ideas that will work for you.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to retrieve the position of 2 cursors in the same plot?

    Hi, I have actually 3 different questions.
    1. I would like to know if there is a way to get the cursor positions of two cursors? I want to use these values in another part of the program. I have via the property node of the plot gotten the x-value of one of the cursors, now I need the x-value of the other cursor.
    2. I would like to be able use a control to switch between the x scale of a plot to be logarithmic or normal. Is this possible?
    3. How can build an executable that is not executed when I start the VI? I didn't have problem doing this when I was using version 7.1, but now I don't find the option not to run the VI on startup.
    Any help on any of these problems would be highly appreciated!

    (1) See image for two possible solutions. The bottom solution is useful if you have many cursors and want to get all positions:
    (2) see answer above.
    (3) There is a bug in LabVIEW 8.20 that does not allow to turn off "run when opened" for built applications.
    Message Edited by altenbach on 04-18-2007 11:24 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    GetCursorPositions.png ‏4 KB

  • Firefox saving double version of the same webpage in a single file

    About one year back, I saved a webpage as webpage complete, that is, as a HTML file and a folder containing associated files. Recently I added mozilla archive format add-on. I revisited the webpage and it has changed a little bit, for example the picture in the heading and another picture in the body of the page. Now I saved this changed webpage as a single file, in MHT format. Now when I am opening the MHT file it is showing the previous version of the webpage, and at the top it is showing 'saved from: file:///G:/Document/Religion/filename'. When I move the file in another drive or folder firefox opens the changed version of the webpage and at the top 'Saved from: http://mukto-mona.com/bangla_blog/?p=28719, that is url of the webpage. When I move the file in G it again shows the old version. One word more, I downloaded all files and temporarily saved them in C drive. Later I moved them elsewhere. As you can see this above file I saved in G drive. I tried clearing cookies and histories of firefox and browsing history in Windows internet options. Problem is not going. I do not know whether it is a cookie problem, but I placed the question here.
    Though I mentioned about a single saved file just for instance, actually the problem showing for several files. Thanks in advance.

    Please read '''''About this Add-on''''' on the download page. <br />
    https://addons.mozilla.org/en-US/firefox/addon/mozilla-archive-format/
    Also, documentation for MAF is available here: <br />
    http://maf.mozdev.org/documentation.html
    I can't help you with MAF, I use UnMHT myself. <br />
    https://addons.mozilla.org/en-US/firefox/addon/unmht/

  • TS1424 i appear to have a double charge on the same day same amount, where do i go to resolve?

    this is an i tune charge trough facebook, for the purchase of chips on download casino.

    Contact iTunes support:
    http://www.apple.com/support/itunes/contact/

  • Regarding the use of different services for different parts in the same display layout

    hi,
    i am trying to design an application using flex at the frontend and in the gui what i have designed i have the upper portion consisting of four panels
    displaying the critical events at real time whereas in the lower half of the gui design i have designed something that based on the user provided input the
    the information should be displayed in the lower half of the gui design layout.i just wanted to know whether it is possible to use two services like request response http based service for the lower half and real time data pushing using either amf or amfx or http with polling in the upper half.but i want them to be displayed on the same gui.
    thanks

    Hi,
    Please refer the below link:-
    http://www.sap-img.com/sap-sd/sap-sd-cin-configuration.htm
    Thanks & Regards,
    Rahul Verulkar

  • Multiple Languages in Same GUI

    There are several questions in this forum related to my question, but the answers are old or seem to be incorrect, but I am not sure.
    I am writing an application where the user is expected to have IME support for English and Russian. The application will have some JTextFields that display English at all times and other JTextFields that display Russian at all times. These fields are in the same GUI (window). In addition to displaying Russian or English they must also allow the input of Russian and English in the respective fields.
    My problem is not in displaying the of Russian but of entering it. No matter how I approach the problem I cannot get the russian locale set for the InputContext russianInputContext. The following code always returns false.
    if (russianInputContext.selectInputMethod(ruLocale))
    The full code follows:
    Locale ruLocale = new Locale("ru", "RU");
    InputContext russianInputContext = null;
    JTextField russianNounTF = new JTextField();
    russianInputContext = InputContext.getInstance();
    if (russianInputContext.selectInputMethod(ruLocale))
    System.out.println("Russian Input Context LOCALE set properly");
    else
    System.out.println("Russian Input Context LOCALE NOT set properly");
    russianNounTF.setLocale(ruLocale);
    russianNounTF.setPreferredSize(new Dimension(80,18));
    Font f = new Font("Lucida Sans", Font.PLAIN, 12);
    russianNounTF.setFont( f );
    Edited by: JavaMultiLingual on Dec 19, 2007 9:27 AM

    I think what you may want to do is something like:
    russianNounTF.getInputContext().selectInputMethod(new Locale("ru", "RU"));
    This line has to be placed after the JTextField's peer is instantiated, i.e., added to a container.
    HTH,
    Naoto

Maybe you are looking for