Basics of caret appearance/disappearance

I have a jdk 1.4.2 applet consisting of several complex visual components on the form. Each visual component contains some combination of JTextField, JButton and/or JTable. I'm trying to troubleshoot a program bug where each JTextField, either standalone or as part of a visual component, is capable of displaying a blinking caret independently, meaning several blinking carets could appear on the form simultaneously, even though only field has the keyboard focus. These carets are appearing because of the applet's logic in response to a user action. This wasn't by choice or design, but that's how it came to be. I also have a case where the entire form has no blinking caret at all. My goal is to have only one blinking caret present on the form.
I've gone through the code but so far haven't come across anything obvious. I should mention that the code is replete with all kinds of listeners (focus, action, key etc), their handlers, and some standard methods like isFocusable overriden. I'm trying to approach the issue from a different angle. The most basic answer I'm seeking is: what set of conditions must be present in order for (a) a caret to disappear at a textfield and for it appear at a different textfield (b) a caret to remain at a textfield while another caret appears at a different textfield, and (c) a caret to disappear from a textfield and not appear anywhere else?

what set of conditions must be present in order for....Every text component has a Caret associated with it. The default behaviour is that the Caret is made non-visible when the text component loses focus. Then when the text component gains focus the Caret is made visible again.
So there are no normal conditions that would cause the behaviour you describe. So you must have some custom code that is causing the problem. Maybe you are attempting to share the same Caret for multiple text components. Or maybe you are using a custom Caret that is not implemented correctly.

Similar Messages

  • The basic mode in develop disappeared?? How do I get it back?

    The basic mode in develop disappeared? How do I get it back

    Right-click on any of the other Headings (tone curve, detail, etc.) And put a checkmark in basic as well as any other sections that you want displayed.

  • Camera gone? Basic camera app has disappeared.  How do I get it back?

    My basic Camera app has disappeared.   Did not think you could delete, did not do it intentionally.  It was the camera that came with the phone.  How do I get it back?  I did load Instagram a week ago or so.   Both apps were there now just the instagram app?

    Are you sure you didn't accidentally drop it into a folder?
    Try a hard reset:
    Hold Sleep/Wake & Home buttoms until the screen goes black and you see the white Apple logo

  • Small black squares appear/disappear when I used the down key

    Small black squares appear/disappear when I used the down key-particulary when on FB, but also at other times

    No, there is no yellow star on any of the entries. Each entry has the site's (or company's) logo, as well as the name of the site and URL. There is nothing more in each entry.

  • Im trying to purchase an iphone 6 but when I click the check out button it says that my cart is empty basically my iPhone 6 disappears off my cart

    Im trying to purchase an iphone 6 but when I click the check out button it says that my cart is empty basically my iPhone 6 disappears off my cart

    I tried powering down and re-starting the iPhone (as suggested at http://support.apple.com/kb/TS1275). This seems to have cleared the "...not connected to the Internet" problem, and iOS 6.1 is now in the process of downloading.
    Thanks very much for your feedback.

  • What to do when installing itunes to windows vista home basic an message appears saying"there is a problem with this windows installer package.A program run as part of the setup did not finish as expected.Contact your support personnel or package vendor."

    what do i do when trying to install itunes to my windows vista home basic computer and a message appears saying
    "There is a problem with this windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor."
    Need to know because this is driving me nuts now!

    Let's try the following user tip with that one:
    "There is a problem with this Windows Installer package ..." error messages when installing iTunes for Windows

  • Bookmarks toolbar Firefox 10.0.2/OSX 10.6.8 - gone. View Toolbars Bookmarks Toolbar - checked. Dragging URL's to bookmarks toolbar area no longer works. Gray area appears/disappears when checked/unchecked but will not show any or accept new bookmarks.

    My bookmarks toolbar in Firefox 10.0.2 Mac OSX 10.6.8 suddenly disappeared. View>Toolbars>Bookmarks Toolbar is checked. Dragging URL's to the bookmarks toolbar area no longer works. The gray area appears and disappears when checking/unchecking under View/Toolbars menu, but will not show any or accept addition of bookmarks.

    Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible: "View > Toolbars"
    *Open the Customize window via "View > Toolbars > Customize"
    *Check that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    *If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the toolbar palette in the customize window to the Bookmarks Toolbar
    *If missing items are in the toolbar palette then drag them back from the Customize window on the toolbar
    *If you do not see an item on a toolbar and in the toolbar palette then click the "Restore Default Set" button to restore the default toolbar set up
    *http://kb.mozillazine.org/Toolbar_customization
    *https://support.mozilla.org/kb/Back+and+forward+or+other+toolbar+items+are+missing

  • BASIC in DEVELOP has disappeared

    An Internet search told me to right click on "Tone Curve" or any other title and a check box to select Basic would appear.  I'm on an iMac where a right click means control-click, but regardless, I am unable to bring up the check box to get Basic back.  Any other ideas?

    Try Ctrl+1.
    Or Window menu>Panels>Basic

  • How to make a block appear / disappear at runtime ?

    Hello,
    I'd like to make a whole block appear and disappear at runtime.
    The block has no "visible" property, nor has the frame surrounding it on the canvas.
    Of course I can set this property for each item in the block, but I would like to find something easier.
    Thanks for your help.

    stack canvas is a better way.
    But the situation matters. after the block 'disappears', you leave the blank space there or resize the canvas ? if you have resize it to smaller, then you may set the window size in one built call.
    Thus the detailed way depends one the detailed requirement.

  • Randomly appearing/disappearing images

    I have two images on a page that will randomly appear and
    disappear when the page is refreshed. Sometimes both appear at the
    same time, but with subsequent refreshing of the page one of them
    will disappear, then it might reappear while the other one
    disappears, then both will come back, etc. As far as I can tell it
    truly is random.
    I've gone over the code very methodically looking for any
    anomalies, and there's nothing obvious to me. It occurs in both IE
    and FF. This is the first web page I've built using Dreamweaver's
    layout mode to create tables, so that may or may not be a factor.
    But it's time to ask for help, because I really am stumped at this
    point.
    I would be more grateful than I can express for any tips
    anyone can offer. You can view the code here:
    http://stressfreewebsites.com/temp2/ex-a/temp2-a.html
    The two rogue images are the header bars in the main text.
    I have to laugh myself at the irony of the website's theme:
    building 'stress-free' websites for small businesses. Stress-free
    for the end user perhaps, but only because all the stress is on my
    end, lol.

    > This is the first
    > web page I've built using Dreamweaver's layout mode to
    create tables
    We are all hoping it's the last, too.
    In my opinion, there are three serious problems with Layout
    Mode -
    1. Perhaps most importantly, it sits between you and *real*
    HTML tables,
    and fools you into believing that concepts like "layout cell"
    and
    "autostretch" really mean something. They do not. As long as
    you use
    Layout Mode, you'll never learn one of the most important
    things for new web
    developers - how to build solid and reliable tables.
    2. Actually, #1 wouldn't be *so* bad, except that the code
    that is written
    by Layout Mode is really poor code. For example, a layout
    table contains
    MANY empty rows of cells. This can contribute to a table's
    instability.
    In addition, if your initial positioning of the table's cells
    is a bit
    complex,
    Layout Mode will throw in col- and rowspans aplenty as it
    merges and splits
    cells willy-nillly to achieve the pixel-perfect layout you
    have specified.
    Again,
    this is an extremely poor method for building stable tables,
    because it
    allows
    changes in one tiny cell's shape (i.e, dimensions) to ripple
    through the
    rest
    of the table, usually with unexpected and sometimes
    disastrous consequences.
    This is one of the primary reasons for the final result's
    fragility - read
    this -
    http://apptools.com/rants/spans.php
    3. The UI for Layout Mode is beyond confusing - many options
    that you might
    want to use are inaccessible, e.g., inserting another table,
    or layer onto
    the page.
    I can understand the new user's desire to use this tool to
    make their life
    easier,
    but the cost is just too heavy in my opinion.
    To make good tables, keep it simple. Put a table on the page,
    and begin to
    load your content. If you would want a different table
    layout, instead of
    merging or splitting cells, consider stacking tables or
    nesting simple
    tables instead, respectively.
    And above all, do not try to build the whole page with a
    single table!
    Luckily, Adobe understands the problems created for the
    unsuspecting user
    who falls into this trap, and has elected to remove this
    feature altogether
    from the next version of DW. The time is right for you to
    begin working
    with tables properly!
    To read more about this approach, visit the DW FAQ link in my
    sig, and run
    through the table tutorials.
    I was not able to duplicate your image behavior after many
    refreshes in both
    IE7 and FF2x.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "deejazz" <[email protected]> wrote in
    message
    news:[email protected]...
    >I have two images on a page that will randomly appear and
    disappear when
    >the
    > page is refreshed. Sometimes both appear at the same
    time, but with
    > subsequent
    > refreshing of the page one of them will disappear, then
    it might reappear
    > while
    > the other one disappears, then both will come back, etc.
    As far as I can
    > tell
    > it truly is random.
    >
    > I've gone over the code very methodically looking for
    any anomalies, and
    > there's nothing obvious to me. It occurs in both IE and
    FF. This is the
    > first
    > web page I've built using Dreamweaver's layout mode to
    create tables, so
    > that
    > may or may not be a factor. But it's time to ask for
    help, because I
    > really am
    > stumped at this point.
    >
    > I would be more grateful than I can express for any tips
    anyone can offer.
    > You
    > can view the code here:
    >
    http://stressfreewebsites.com/temp2/ex-a/temp2-a.html
    > The two rogue images are the header bars in the main
    text.
    >
    > I have to laugh myself at the irony of the website's
    theme: building
    > 'stress-free' websites for small businesses. Stress-free
    for the end user
    > perhaps, but only because all the stress is on my end,
    lol.
    >
    >

  • Can more than one build in or out object appear/ disappear simultaneously?

    I have objects (images and text boxes) appearing one at a time but I would like them all to disappear simultaneously so is there some way you can group objects to appear and disappear at the same time?
    Thanks
    Kevin

    [email protected] wrote:
    Just a couple of questions first, when you mentioned "Set all the Build Outs to occur together." How do I actually do that? I tried highlighting them all and right clicking to see if it gives me an option to do that and look everywhere but couldn't find that function.
    Again, if I'm understanding you, this is a very straightforward effect to produce. In the Build Inspector, set up all the Build Ins for the objects, then specify the Build Outs. Now click on the More Options button, which will reveal the Build Order drawer. For each of the Build Outs except the first, select the build in the order listing, then in the Start Build drop down menu, choose "Automatically with build #", where "#" is the number of the first Build Out.

  • Struggling with Appear/Disappear Effects

    I've been transitioning to Keynote from PowerPoint for a while now, but so far have only tested the Keynote waters with simple presentations. Now I'm moving up to something fairly complex, something I could do easily in PowerPoint and can't quite get in Keynote.
    The short of it is I have a list of names. I want the names to fade in and out, but not just one at a time. One will come in, there's a pause, and then the next appears. Then as the third comes in the first disappears. As the fourth appears, the second disappears. And so on.
    Without going into more detail or using this list as a classroom, is anyone willing off-line to walk me through this? You'd be doing a great service in freeing me from another Microsoft application!

    Hi,
    1. Place all of the names (as text or graphics) on the slide.
    2. Click on the Build Inspector icon in the main Inspector window.
    3. Select the objects you want to animate on the slide and, under the Build In "tab" on the Build Inspector, choose an animation style from the drop down menu (for example, choose dissolve). You don't necessarily have to do them all at once but it's faster to just assign everything you want to animate with a "Build In" so you can start timing every item and getting them 'in' the build sequence.
    4. Click on the "More Options" button at the bottom of the Build Inspector window - the drawer will slide out to one side or the other. Here you can see everything that you've assigned a build for that slide. It also shows the order of things that are being animated from first to last beginning at the top of the list.
    5. Click on the object you want to animate first and you'll notice it will be highlighted in the Build Inspector's drawer. You can now see the relationship between the objects on the slide and their animation order in the drawer. Simply reorder the items in the drawer's build list to what you need (name 1 is at the top followed by name 2 then 3 and so on).
    6. Now that you've got your "In" builds arranged, it's time to get the first one to fade away when you want it to. Click on the first name you'd want to disappear in the Build Inspector's drawer list.
    7. Click on the "Build Out" tab in the Build Inspector. Pick an animation style (ie dissolve) and it will add the Build Out to the bottom of the drawer list. Notice that both the IN and OUT builds for that object are highlighted.
    8. Because my writeup here only has 3 text objects, the OUT build will be at the bottom and I don't have to move it but if you have more than what I'm demoing, that's how you'd move it around. Click in the empty space in the Build Inspector's list area to deselect everything and then click once on the OUT build for that object. Now you can move it wherever you want it in the sequence.
    As for having things pause between individual builds, you can either give each object's build in stage to begin "On Click" or "Automatically after/with prior build" using the drop down menu at the bottom of the Build Inspector's drawer. If you want to do the "automatically after/with" option, you can set thet Delay time there as well. I've found that this time varies slightly depending on how fast your machine is and what else is running on the slide.
    Hope this helps you get started,
    Matt
    I've been transitioning to Keynote from PowerPoint
    for a while now, but so far have only tested the
    Keynote waters with simple presentations. Now I'm
    moving up to something fairly complex, something I
    could do easily in PowerPoint and can't quite get in
    Keynote.
    The short of it is I have a list of names. I want
    the names to fade in and out, but not just one at a
    time. One will come in, there's a pause, and then
    the next appears. Then as the third comes in the
    first disappears. As the fourth appears, the second
    disappears. And so on.
    Without going into more detail or using this list as
    a classroom, is anyone willing off-line to walk me
    through this? You'd be doing a great service in
    freeing me from another Microsoft application!

  • PopupManager causes caret to disappear

    Hi,  I hope someone can help me.  I have a popup that I want to serve as a warning of sorts, without stealing the focus.
    If I pop it up on focusIn for a Halo TextInput, it works as I want it to.
    However, if I use a Spark TextInput, the caret seems to disappear.  The TextInput seems to still have the focus, because it is still possible to type inside of it.  The caret is just no longer visible for some reason.
    Please let me know if I'm forgetting to do something important.  Or if this is simply a bug with Spark TextInput, I'd be curious if anyone has found a workaround.
    Thanks!

    File a bug with a test case.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • There's this mysterious appearing/disappearing icon in my Dock...

    ...that every so often spontaneously opens up, then closes right away. I can never get a good look at it, but it appears to be a white "page" (like the TextEdit dock icon) with what looks like a green part in the upper left corner and a black part in the lower right area.
    What application might that icon belong to? And should I worry about it?

    To clarify, it doesn't happen after each loading of a webpage -- I'm not even sure if it is triggered by opening a web page at all. Sometimes I'll just be watching the screen and it will happen.
    Again, the trouble is that the icon just appears and disappears in the Dock before I can get a good look.
    I'll try to take a full-screen snapshot (Command-Shift-3) the next time it appears, and hopefully I'll catch it in time...

  • Illustrator pictures appear/disappear in InDesign CC?

    I'm importing two Illustrator CC pictures into an InDesign CC file (Running Adobe CC on Mac OS X 10.8.5).
    If I set my display preferences to "Normal", they show up correctly (although an imported Photoshop JPEG appears in low-res). If I put the display into "High-Quality" mode, the photo is fine, but the two Illustrator files disappear, leaving only the bounding/content boxes. If I zoom out to 25%, the Illustrator files are visible on-screen, but at any higher zoom, I get nothing.
    What am I doing wrong?

    I just recently experieced this issue and when importing an .AI (CC 2014) into InDesign CC 2014.  When viewed in Typical Display the proxy would appear and disappear when changed to High Quality Display (HQP).  However when Overprint Preview is turned on the .AI file will appear while in (HQP).  On a side note, while placing art with import options, the preview did not update when toggling on and off various layer's visibilty.
    Trying to troubleshoot, I turned off all overprint settings for element in Illustrator and no difference. The solution that worked for me, I used a blend between three paths.  Two of the three used the uniform stroke profile but the last path used "width profile 2".  Once I changed the last path to uniform as the others, during placement, the preview worked properly and the vector art rendered correctly in all displays with and without overprint preview enabled.
    I hope this helps, anyone else with their files and contributes to a more distinctive cause and quick resolution.
    InDesign CC 2014
    Illustrator CC 2014
    Mac 10.9.5

Maybe you are looking for

  • Do I need to change the localhost test if on a network?

    I have a JSP program running on tomcat webserver at home. This program works. At home the computer accesses the internet via a dialup modem. I am trying to run this program at another location. I have taken my hard disk and installed the hard disk at

  • BEx Query Designer: Option Publish to Role

    Hi Experts, Need to ask about publishing queries to Role. What are the roles that system display when we use this option? Does it pick from user master from the person creating queries? Alok

  • Have to deinstall/reinstall: how do I save and restore Bridge thumbnails and metadata?

    My hard drive is failing. I am having it replaced. I will then be installing Windows 7 and applications including CS5.5. In addition to the thumbnails, I have a lot of metadata, keywords, collections, and stacks etc. in Bridge and I hope I do not hav

  • Aperture's target gamma management is a mystery to me!

    This a public pleading for help concerning display calibration and gamma management for Aperture. I've been using Aperture for almost a month. The trial period ends in 3 days. I have to decide whether to pay for it to switch to Lightroom. I have mana

  • Payroll Conversions

    Hey can anyone help me in Payroll Conversions. All i know about this is loading T tables from legacy data. T558B T558C T5u8C....please help me on this... Thankx in advance..