Help. How do you TAB from HTML component to applet (and back) ?

How can one tab between applets in a browser, and from an applet to an HTML component?
For example, I have the following in my page in decending order:
an HTML text field,
an applet containing two components,
and another HTML text field.
When focus is on the first HTML text field pressing TAB should shift focus to the first component of the applet, the next TAB press shifts focus to the second component of the applet, and the next TAB press shifts focus to the other HTML text field. Then another TAB press cycles back to the first TEXT field.
I can handle the tabbing within the applet using the FocusManager, but how can I get the applet to receive focus on a TAB from the browser, and once the applet has focus, how can I give focus back to the browser when a TAB occurs from my last applet sub-component?
At the moment a user has to click on the applet before he can tab in it, and then click outside it to tab in the html again.
Any help appreciated, as I cant find any reference to how to do this apart from other people asking the same but getting no replies.
Thanks,
Menno

I see what you are saying. Either use javascript with LiveConnect or go all applets.
What we are actually doing at the moment is trying to componentise using small applets passing data via InfoBus. So I guess we could use only applets as you suggest. Either with getAppletContext, or we could have a data item on the InfoBus which contains the name of the required in-focus applet, and all applets listen to see if it is their name, and if so request focus.
I'm suprised applets are not tab-able between by default. I would have thought this was a common requirement.
I'll look into LiveConnect as well, and let you know how we get on.
Cheers,
Menno

Similar Messages

  • Tabbing from applet to applet, HTML component to applet, and back

    How can one tab between applets in a browser, and from an applet to an HTML component?
    For example, I have the following in my page in decending order:
    an HTML text field,
    an applet containing two components,
    and another HTML text field.
    When focus is on the first HTML text field pressing TAB should shift focus to the first component of the applet, the next TAB press shifts focus to the second component of the applet, and the next TAB press shifts focus to the other HTML text field. Then another TAB press cycles back to the first TEXT field.
    I can handle the tabbing within the applet using the FocusManager, but how can I get the applet to receive focus on a TAB from the browser, and once the applet has focus, how can give focus back to the browser when a TAB occurs from my last applet sub-component? At the moment a user has to click on the applet before he can tab in it, and then click outside it to tab in the html again.
    Any help appreciated, as I cant find any reference to how to do this apart from other people asking the same but getting no replies.
    Thanks,
    Menno

    Well, I think it is both a Java & HTML problem.
    When you TAB from HTML there must be a way to TAB to the Java applet, and when you TAB from the applet there must be a way, when you are on the last component within the applet, to TAB back to the HTML components.
    Anyone know how?
    Cheers,
    Menno

  • In Pages 5.2.2: How do you go from 1 column to 2 and keep them on the same page?

    In Pages 5.2.2: How do you go from 1 column to 2 and keep them on the same page?

    Sorry, I tried to say your answer solved my question, but I guess I told it that my response to you solved it. Now that I liked it, the solved option doesn't appear.

  • How do you print from safari without the header and footer?

    I may be missing something but...
    When printing in Safari how do you remove the header and footer.  I am using PDF creator to save pages as PDF for things like online pay slips and want them to be 'clean'.
    Running Safari 5.1 on Windows Vista
    Thanks in advance for any help.
    Mark

    I may be missing something but...
    When printing in Safari how do you remove the header and footer.  I am using PDF creator to save pages as PDF for things like online pay slips and want them to be 'clean'.
    Running Safari 5.1 on Windows Vista
    Thanks in advance for any help.
    Mark

  • How do you recover from catastrophic change of PC and iPhone at same time?

    Long Story:
    1) Upgraded from iP3G to iP4 last year, kept both. iP4 synched regularly. 3G in storage.
    2) Synching PC died (motherboard) but have HDD.
    3) LOST iP4 in mountains.
    4) Got new PC.
    5) Reactivated 3G.
    Now I'm trying to figure out what files to put where from old HDD to new PC to get contacts/data/settings/SMS/photos, etc? I have it all on the old HDD and it is in an enclosure. I just need to know what key files I need, where they are on the old HDD and where to put them on the new. (Both old and new PC's are running Win7 Ult.)

    Thanks, Eric-
    Not a great option at this point, b/c I'm using this as an opportunity to rearrange the file structure of my stuff, using libraries differently and the like, and I've already moved some things. I found the below post on another thread helpful, except...
    Computer crashed, moved iPad to new PC...
    When I go to Edit>Preferences>Devices, it lists the backup I want to restore from, but it has the same name as the current backup. When I right click on the iPhone under Devices and go to the Restore from Backup Wizard, it only lists the current backup.
    So here's what I tried:
    0) Went to Users>Me>AppData>Roaming>Apple Computer> MobileSync
    1) I created a folder called "Temp"
    2) I copied the current backup folder to Temp
    3) In the Backup folder, I opened the folder containing the current backup and deleted the whole thing, emptying that folder.
    4) I copied the entire contents of the desired backup into the newly emptied folder.
    5) But now it doesn't give me the option to restore.
    6) So I undid the changes and got back to square 1.
    So my current question is how can I get it to restore from an alternate backup, especially since the two phones had the same name so the backups have the same name?

  • How can you restore from both an iCloud backup AND an iTunes backup?

    In article HT5262 (linked below) iOS backups are covered. There is a section "When to use iCloud and iTunes Backup together". I understand how to do this and the reasons why. What I haven't been able to find is an explanation of how you would actually restore from both? I know how to restore from each, however, if I first restore from iCloud, how can I then proceed to restore from iTunes without overwriting my iCloud restore?
    http://support.apple.com/kb/HT5262

    Demo, thanks for the reply. What you wrote is exactly what I thought. I'm trying to figure out why Apple is putting out this article (see partial contents below). The implication is that you can restore from both or why back up some data to one and different data to the other:
    "When to use iCloud and iTunes Backup together
    For an extra level of backup for your data, you can use iCloud Backup and iTunes Backup together."
    Tip: If you are using iCloud and iTunes Backup together, and you simply want to speed up your iCloud Backup & Restore functions, you can save iCloud storage by turning off iCloud Backup for very large data types. For example, if you have a 15 GB Camera Roll on your iPhone, you may not wish to back it up to iCloud because it is already being manually backed up to iTunes. You can disable back up of any iCloud Backup item in Settings > iCloud > Storage & Backup > Manage Storage > Backups > Backup Options. After doing so, these items will only be backed up when you manually back up to iTunes.

  • How to take mailboxes from desktop drive to laptop and back?

    I want to copy my e-mail messages (in their user-created mailboxes) from my main G5 to my laptop so I can review them elsewhere, then return them to the G5. I thought I could just copy the Mailboxes folder (or maybe the whole massive Mail folder), place that the corresponding folder in my laptop user Library, then do the same when I get home -- replace the older mailboxes folder with a revised version.
    But when I do so, I get a mailbox in the laptop's Mail, but no messages in it.
    What am I doing wrong? This should be an easy task, I would think.
    Mac G5   Mac OS X (10.4.8)   MacBook Pro

    Which recommendation? Did you actually read what I said at the bottom of the post you’ve quoted? And why have you quoted the entire post?
    The file format used by Mail changed drastically in Mac OS X 10.4 (Tiger). Mail 2.x knows about the old data format and can import mailboxes created by Mail 1.x, but Mail 1.x knows nothing about the new data format used by Mail 2.x. Actually, the conversion from Mail 1.x to Mail 2.x mailboxes is broken and Mail 2.x sometimes can only import Mail 1.x mailboxes as Other, but that’s another story...
    Although *.mbox packages appear to be files in Mac OS X 10.3, they’re actually folders just like in Mac OS X 10.4, but Mac OS X 10.3 treats them differently because of the .mbox suffix. Ctrl-click on an *.mbox package and choose Show Package Contents from the contextual menu to see the files it contains.
    For each mailbox, Mail 1.x stores all the messages in a single file in standard mbox format (the mbox file within the *.mbox folder/package), whereas Mail 2.x stores messages in individual *.emlx files within a Messages folder that Mail 1.x knows nothing about.
    You need something like emlx to mbox Converter or Emailchemy to convert the *.emlx files to standard mbox format in order to be able to import them (as Other / Standard mbox) in Mail 1.x.

  • How do you tab out of JTextArea?

    When using the tab key to change focus from one
    JComponet to the next, how do you tab out of, and
    into next JComponent when you're in an editable
    JTextArea? Is it possible?

    Move to the bottom of the text in a JTextArea with VK_CONTROL + VK_END.
    Better yet, here is how to find all the input actions that you can trigger when focus is on a JTextArea (or any given JComponent)
    JTextArea text = new JTextArea();
    InputMap im = text.getInputMap();
    KeyStroke[] ks = im.allKeys();
    SortedMap map = new TreeMap();
    for(int i=0; i<ks.length; ++i)
        map.put(im.get(ks), ks[i]);
    for(Iterator i = map.entrySet().iterator(); i.hasNext() ; ) {
    Map.Entry pair = (Map.Entry) i.next();
    System.out.println(pair.getKey() + "\n\t" + pair.getValue());

  • Help how do you save a still frame of video  as a photo?

    Help how do you save a still frame of video as a photo? Thanks

    A still frame from an Event:
    Put cursor at the frame you want, then right click (or command click) and select "Add Still Frame to Project".
    The still frame will be added at the end of the Project.
    A still frame from a Project:
    Put cursor at the frame you want then right-click (or control-click) and select "Add Freeze Frame". The Freeze frame will be added after the clip.
    In both cases:
    Select the still frame (so the yellow band is around it).
    Right-click (or control-click) and select "Reveal in Finder".
    You will see a JPG file highlighted in the finder.
    Drag this file and drop it on your iPhoto icon in the Dock.

  • How to you update the html once a Mail app is published?

    I have a sample Office 365 Mail app
    https://code.msdn.microsoft.com/vstudio/Outlook-Email-Forwarder-App-650a5b41/view/Discussions/0?showDiscussionForm=True
    The app loads great and I can see run it ok. But if I update the HTML page it never gets updated. How do I update the code for the mail app once it is up and running? I was able to update it once but  am not sure what I did.
    Any suggestions?

    Hi,
    >> But if I update the HTML page it never gets updated. How do I update the code for the mail app once it is up and running?
    In debug mode, you need to reload the app by click the mail app to reflect the changes.
    >> How to you update the html once a Mail app is published?
    If you have already published the web application (for example, on Azure), you need to re-publish the web application to reflect the page changes.
    Please let me know whether it works for you.
    Regards,
    Jeffrey
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How do you Print from an iPad to an epson workforce 633?

    How do you print from an iPad to an epson workforce 633?

    If your printer is Aiprint capable you only have to go to the share tab, click it and you should see the name of your printer. Most AirPrint printers are very easy to set up. My HP recognized my wireless network when I turned it on and I simply followed the printers prompts to finish the setup. Apple has a list of AirPrint capable printers. Is yours on the list? See list from website
     http://support.apple.com/kb/HT435
    As a alternate you can buy devices like xPrintServer by Lantronix which are supposed to allow you to use your existing printer. The device is hard wired to your printer but communicates wirelessly with your idevice.
    Other options have companies like HP have services that basically allow you to send your material you want to print to HP and they in turn route it to your printer.
    Hope one of these will work for you.

  • How do you pint from pad 2?

    How do you print from ipad 2?

    You can also get applications like Printopia (Mac OS X only) or FingerPrint (Windows and OS X).
    Let me know if you need more help.

  • How do you switch from one iTunes account to another on your apple tv?

    How do you switch from one iTunes account to another on your apple tv?

    Welcome to the Apple community.
    I assume you do mean a different account and not simply a different iTunes library. Unfortunately, in order to switch accounts, you would need to log out and log in to the second account.

  • How do you upgrade from Mac OS x 10.6.8 to Lion?

    How do you upgrade from Mac OS x 10.6.8 to Lion?

    First check to be sure your hardware meets the hardware requirements for Lion.
    Backup your data. I suggest a bootable clone as the way to go.
    Then open App Store and purchase and download the Lion installer.
    Then install Lion.
    Allan

  • How do you stream from my mac to apple tv

    How do you stream from my MacBook Pro to my apple tv?  I want to watch a show that is on the internet.

    Welcome to Apple Support Communities
    See > http://support.apple.com/kb/HT5404 If your computer is compatible with AirPlay Mirroring, you can use it to mirror the computer screen to your Apple TV.
    If your Mac isn't compatible with AirPlay Mirroring, you can use a third-party app, like AirParrot > http://www.airparrot.com

Maybe you are looking for

  • Logo in ALV to Excel

    Dear Friends, 1.When i try to download ALV report to excel it is not downloading the logo to the excel sheet. 2.I want my logo in the left side of the ALV. Please suggest. Thanks in advance

  • Export Warning

    How can I keep the design of my slide, and avoid this message when exporting to powerpoint. I have to save it as powerpoint because the computer im presenting the presentation to in class has powerpoint. Export Warning - Masking with shapes isn't sup

  • 2 Application Folders

    I migrated all of the data from my school owned ibook (g4, 1.2 Ghz) to an ibook that I purchased and I currently have two application folders. One is located under the "Macintosh HD" tab on my sidebar, and the second is located under my "user" tab. T

  • Pl/sql error

    Hi , In 10g Oracle as we know table re-organization is much improved i tried to use it for a table and it gave me the foolowing error: SIT1>declare 2 3 l_fs1_bytes number; 4 l_fs2_bytes number; 5 l_fs3_bytes number; 6 l_fs4_bytes number; 7 l_fs1_byte

  • 3 layer master detail form

    Hi guys, Does anyone know how to create a 3 level master detail form with the level 2 and level 3 on the same page. Thanks Sam