AW keyboard focus after Flash interaction

Hi all and happy new year!
I am using AW7.02, Windows XP, Flash v8 (loaded using
ActiveX).
I have the following setup:
In a pageturner made in AW I have an interaction icon placed
inside a
Framework. On the interaction icon I have several perpetual
buttons, one in
particular to flip to the next page (next icon on framework).
This button
interaction has RightArrow and PageDown keys assigned to it.
So, while
running, if I hit right arrow or page down I will flip to
next page. This
works fine.
I also load and display Flash on the pages using ActiveX
(Shockwave Flash
Object). The Flash are animations, so the user can click on
Flash
controllers to play/pause etc.
The problem:
So, user can flip to next page with keyboard just fine, as
long as the user
does not hit anything in the Flash ActiveX first. So for
example, if the
user pauses the movie clicking the pause button in the Flash
ActiveX and
then hit the right arrow key, then nothing happens. (I want
page to be
turned). The user must first hit somewhere outside the Flash
ActiveX in the
AW window before the keyboard triggers the buttons again.
Attempts:
All my attempts have only been in author mode and not
packaged mode.
I've done some attempts sending event from Flash after button
in Flash has
been pressed. This is picked up by AW (confirmed with trace)
and then I've
tried to:
- set focus to interaction icon that holds the button using
SetKeyboardFocus(InteractionIconID). Did not work.
- set window focus using baActivateWindow(baWinHandle) (from
Buddy API). Did
not work, and as far as I could see the active window
remained the same (=
AW window) during Flash interaction, so probably not so
strange it didn't
work.
So, does anyone have any idea on how I can fix the focus
problem? The only
workaround that I am left with right now is to set up the
same keyboard
interaction in the Flash as in the AW and send this info back
to AW as
events. This is not ideal due to update issues and unclear
codestructure.
/Jensen/

Hi again!
Just a little update.
I tried to package, but that didn't help.
So I went for the the workaround where I pick up keyboard
pressing in Flash
and send this info back with fscommand:
FSCommand("keypress", Key.getCode());
I pick up the event in AW and filter it with keypress as
#command. I then
get the key code from the #arg list and have a property list
where I link
the key code with the keyname used in AW. I then use the
KeyPress function
as suggested by Erik. As a result, any updates I make to what
the different
keys do needs only be done in AW, so I guess it isn't too
bad.
Thanks for help and tips!
/Jensen/
"Erik **AdobeCommunityExpert**"
<[email protected]> wrote in
message news:[email protected]...
>I hesitate to post this as it might be a pain, as you
suggest, and others
>may have a better suggestion...
> But I think you'll have to setup a detection of the
keypresses in Flash
> and send those as Events to Authorware. When Authorware
picksup those
> events, have it do a 'press key' for the button to
activate the
> appropriate one (I generally us F1 keys or shift-number
keys !@#$%^).
> Erik
>
> Jensen wrote:
>> Hi all and happy new year!
>>
>> I am using AW7.02, Windows XP, Flash v8 (loaded
using ActiveX).
>>
>> I have the following setup:
>> In a pageturner made in AW I have an interaction
icon placed inside a
>> Framework. On the interaction icon I have several
perpetual buttons, one
>> in particular to flip to the next page (next icon on
framework). This
>> button interaction has RightArrow and PageDown keys
assigned to it. So,
>> while running, if I hit right arrow or page down I
will flip to next
>> page. This works fine.
>> I also load and display Flash on the pages using
ActiveX (Shockwave Flash
>> Object). The Flash are animations, so the user can
click on Flash
>> controllers to play/pause etc.
>>
>> The problem:
>> So, user can flip to next page with keyboard just
fine, as long as the
>> user does not hit anything in the Flash ActiveX
first. So for example, if
>> the user pauses the movie clicking the pause button
in the Flash ActiveX
>> and then hit the right arrow key, then nothing
happens. (I want page to
>> be turned). The user must first hit somewhere
outside the Flash ActiveX
>> in the AW window before the keyboard triggers the
buttons again.
>>
>> Attempts:
>> All my attempts have only been in author mode and
not packaged mode.
>> I've done some attempts sending event from Flash
after button in Flash
>> has been pressed. This is picked up by AW (confirmed
with trace) and then
>> I've tried to:
>> - set focus to interaction icon that holds the
button using
>> SetKeyboardFocus(InteractionIconID). Did not work.
>> - set window focus using
baActivateWindow(baWinHandle) (from Buddy API).
>> Did not work, and as far as I could see the active
window remained the
>> same (= AW window) during Flash interaction, so
probably not so strange
>> it didn't work.
>>
>> So, does anyone have any idea on how I can fix the
focus problem? The
>> only workaround that I am left with right now is to
set up the same
>> keyboard interaction in the Flash as in the AW and
send this info back to
>> AW as events. This is not ideal due to update issues
and unclear
>> codestructure.
>>
>> /Jensen/
>
> --
> Erik Lord
>
http://www.capemedia.net
> Adobe Community Expert - Authorware
>
http://www.adobe.com/communities/experts/
>
>
http://www.awaretips.net -
samples, tips, products, faqs, and links!
> *Search the A'ware newsgroup archives*
>
http://groups.google.com/group/macromedia.authorware

Similar Messages

  • Safari keyboard focus after a search

    I like using the keyboard as often as I can. With Chrome, I can hit the Tab key after searching from the search/URL bar. This moves the keyboard focus to the web page, which causes an arrow to appear in front of the first search result. With up/down keys and Enter, you can then go to any of the search results.
    What is the proper hotkey in Safari to move the keyboard focus from the search bar to the webpage?
    (Using Safari 7 on OS X)

    I think I found out why this didn't work -- in System Preferences -> Keyboard -> Shortcuts, I've got the "Full Keyboard Access" option set to "All Controls"...

  • JComboBox popup list remains open after losing keyboard focus

    Hi,
    I have noticed a strange JComboBox behavior. When you click on the drop down arrow to show the popup list, and then press the Tab key, the keyboard focus moves to the next focusable component, but the popup list remains visible.
    I have included a program that demonstrates the behavior. Run the program, click the drop down arrow, then press the Tab key. The cursor will move into the JTextField but the combo box's popup list is still visible.
    Does anyone know how I can change this???
    Thanks for any help or ideas.
    --Yeath
    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    public class Test extends JFrame
       public Test()
          super( "Test Application" );
          this.getContentPane().setLayout( new BorderLayout() );
          Box box = Box.createHorizontalBox();
          this.getContentPane().add( box, BorderLayout.CENTER );
          Vector<String> vector = new Vector<String>();
          vector.add( "Item" );
          vector.add( "Another Item" );
          vector.add( "Yet Another Item" );
          JComboBox jcb = new JComboBox( vector );
          jcb.setEditable( true );
          JTextField jtf = new JTextField( 10 );
          box.add( jcb );
          box.add( jtf );
       public static void main( String[] args )
          Test test = new Test();
          test.pack();
          test.setVisible( true );
          test.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
    }

    ran your code on 1.5.0_3, observed problem as stated.
    even though the cursor is merrily blinking in the textfield, you have to click into
    the textfield to dispose the dropdown
    ran your code on 1.4.2_08, no problems at all - tabbing into textfield immediately
    disposed the dropdown
    another example of 'usual' behaviour (involving focus) breaking between 1.4 and 1.5
    the problem is that any workaround now, may itself be broken in future versions

  • Dir11 is loosing keyboard focus!

    I have a kiosk application running WITHOUT a mouse. All
    inputs is from the keyboard. The app is autostarting when Windows
    starts.
    After playing a Flash animation and a mpeg2 video (Mpeg adv
    xtra) the application looses keyboard focus, wich result in Windows
    warning sound when you press a key and the key is not sent to the
    application.
    The problem is solved if you click with a mouse, but there is
    no mouse as I mentioned. The problem is NOT solved by <alt>
    <tab>-switching forth and back.
    I know this is an old MX2004 bug, and the work around then
    was to set the document type to "tool". But this is not helping in
    Dir11.
    Anyone hwo has a work around?
    Where to report bugs now a days? Does Adobe care at all?
    (It's not easy to even find the Director support pages!)

    Hi,
    maybe you can use one of the Xtras than can simulate a
    mouseclick?
    Richard
    "stageit ab" <[email protected]> wrote in
    message
    news:ganvvs$2as$[email protected]..
    >I have a kiosk application running WITHOUT a mouse. All
    inputs is
    >from the
    > keyboard. The app is autostarting when Windows starts.
    > After playing a Flash animation and a mpeg2 video (Mpeg
    adv xtra)
    > the
    > application looses keyboard focus, wich result in
    Windows warning
    > sound when
    > you press a key and the key is not sent to the
    application.
    > The problem is solved if you click with a mouse, but
    there is no
    > mouse as I
    > mentioned. The problem is NOT solved by <alt>
    <tab>-switching forth
    > and back.
    >
    > I know this is an old MX2004 bug, and the work around
    then was to
    > set the
    > document type to "tool". But this is not helping in
    Dir11.
    >
    > Anyone hwo has a work around?
    > Where to report bugs now a days? Does Adobe care at all?
    (It's not
    > easy to
    > even find the Director support pages!)
    >
    >
    >

  • On our project site, with Firefox 4 and 5, buttons don't take the keyboard focus if you mouse-click on them. Is this a problem of our site?

    On a page like http://www.ori.uzh.ch/links.html, clicking a link opens a new tab, and after closing that tab, you can move to the next link with the tabulator key. On that site, it still works with Firefox 5. I also worked on our project site (password secured, sorry) with Firefox up to 3.6.18. But now, if I open a link with the mouse, close that tab again and press the tab key, the focus just goes to the first clickable button, as if I had not clicked any button previously. If I open a link by tab key and "enter", the keyboard focus is preserved on that button. But there are many many buttons on our pages, and they reload frequently.
    BTW I adjusted the system preferences, so that the keyboard focus moves between all controls. (see http://www.tipstrs.com/tip/1505/Tab-key-to-select-form-elements-in-Firefox-on-the-Mac). But I don't think the problem is related to that.

    I found out that our buttons are no links, but input tags, type="submit". I'll discuss the problem with our programmer.

  • JPanel loses keyboard focus

    Ok, i have a JTextField which is initially disabled. A JPanel draws some stuff and receives keyboard input. When i enable the textfield, type some stuff, then press Esc (which disables it), i cant get the keyboard focus back on the JPanel. Here is an example:
    (you can move the red circle before you enable the textfield, after you disable it, you cant move it anymore).
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.event.*;
    import java.util.Vector;
    public class example extends JPanel implements ActionListener,Runnable {
        JFrame frame;
        JMenuBar menubar;
        JMenu m_file;
        JMenuItem mi_open,mi_close;
        JPanel canvas,northpanel;
        JTextField textfield;
        Image canvasimg;
        Thread thread=new Thread(this);
        private Image dbImage;     // for flickering
         private Graphics dbg;     // for flickering
         int x1=400,y1=200;
        public example() {
            frame = new JFrame("Example");                         // window
            frame.setLayout(null);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setPreferredSize(new Dimension(1000,700));
            frame.setLayout(new BorderLayout());
            northpanel=new JPanel();
            northpanel.setLayout(null);
            northpanel.setPreferredSize(new Dimension(1000,20));     northpanel.setLocation(0,0);
            menubar=new JMenuBar();
            m_file=new JMenu("File");   
            mi_open=new JMenuItem("Open");
            mi_close=new JMenuItem("Close");
            m_file.add(mi_open);
            m_file.add(mi_close);   
            m_file.getPopupMenu().setLightWeightPopupEnabled(false);   
            menubar.add(m_file);
            northpanel.add(menubar);
            menubar.setLocation(0,0);     menubar.setSize(80,20);
            textfield=new JTextField();
            northpanel.add(textfield);
            textfield.setSize(200,20);     textfield.setLocation(500,0);   
            textfield.setEnabled(false);
            frame.add(northpanel,BorderLayout.NORTH);
            canvas=new JPanel();
            canvas.setLayout(null);
            canvas.setSize(1000,600);
            canvas.setBackground(Color.white);
             frame.add(canvas,BorderLayout.CENTER);      
            frame.pack();
            frame.setVisible(true);       
            thread.start();                                   // start the thread
            textfield.addMouseListener(new MouseAdapter(){
                    public void mousePressed(MouseEvent e){
                         textfield.setEnabled(true);
               textfield.addKeyListener(new KeyAdapter() {
                 public void keyPressed(KeyEvent e){
                      int key=e.getKeyCode();
                      if(key==27){     // esc
                           textfield.setEnabled(false); 
                           canvas.setEnabled(true);                // not working
                           canvas.requestFocus();
                           canvas.requestFocusInWindow();
               frame.addKeyListener(new KeyAdapter() {
                 public void keyPressed(KeyEvent e){                   
                      int key=e.getKeyCode();
                      if(key==37){ //left
                           x1-=5;
                      if(key==38){ //up
                           y1-=5;
                      if(key==39){ //right
                           x1+=5;
                      if(key==40){ //down
                           y1+=5;
        // Create the GUI and show it. 
        private static void createAndShowGUI() {
            JFrame.setDefaultLookAndFeelDecorated(true);
            example ex = new example();
        public void run(){
             while(true){
                  try{
                       if(canvasimg==null)repaint();                   
                       Graphics g=canvas.getGraphics();
                       update(g);
                       thread.sleep(30);                                             // 1 sec
                  }      catch(InterruptedException ex){}
        // ActionPerformed handles button and menu events
        public void actionPerformed(ActionEvent e){              
        public static void main(String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
        public void update (Graphics g){          // get rid of flicker
              if (dbImage == null){
                   dbImage = canvas.createImage (canvas.getSize().width, canvas.getSize().height);
                   dbg = dbImage.getGraphics ();
              dbg.setColor (canvas.getBackground ());
              dbg.fillRect (0, 0, this.getSize().width, this.getSize().height);
              dbg.setColor (canvas.getForeground());
              paint (dbg);
              g.drawImage (dbImage, 0, 0, this);
         public void paint(Graphics g){
              g.drawImage(canvasimg,0,0,this);          
              g.setColor(Color.red);
             g.fillOval(x1,y1,10,10);
        public void repaint(){     
             if(canvas!=null && canvasimg==null)canvasimg=canvas.createImage(1000,670);
             if(canvasimg==null)return;
             Graphics g=canvasimg.getGraphics();
             if(g==null)return;
             g.setColor(Color.white);
             g.fillRect(0,0,1000,600);
    }  

    OK great guru since you're so damn confident that you're doing everything right, find out for yourself why this works and yours doesn't.
    I could list a few dozen things wrong with your code, but I'd be wasting my keystrokes.import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.Graphics;
    import java.awt.event.KeyAdapter;
    import java.awt.event.KeyEvent;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import javax.swing.JFrame;
    import javax.swing.JMenu;
    import javax.swing.JMenuBar;
    import javax.swing.JMenuItem;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    import javax.swing.SwingUtilities;
    public class TextFieldDisableNoProblem extends JPanel {
       JPanel northPanel;
       JMenuBar menubar;
       JMenu m_file;
       JMenuItem mi_open,mi_close;
       JTextField textField;
       int x1 = 400;
       int y1 = 200;
       public TextFieldDisableNoProblem () {
          setBackground (Color.WHITE);
          addKeyListener (new KeyAdapter () {
             public void keyPressed (KeyEvent e){
                int key = e.getKeyCode ();
                switch (key) {
                   case KeyEvent.VK_LEFT:
                         x1 -= 5;
                         break;
                   case KeyEvent.VK_UP:
                         y1 -= 5;
                         break;
                   case KeyEvent.VK_RIGHT:
                         x1 += 5;
                         break;
                   case KeyEvent.VK_DOWN:
                         y1 += 5;
                         break;
                repaint ();
       void makeUI () {
          JFrame frame = new JFrame ("");
          frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
          frame.setSize (600, 500);
          frame.setLocationRelativeTo (null);
          menubar=new JMenuBar ();
          m_file=new JMenu ("File");
          mi_open=new JMenuItem ("Open");
          mi_close=new JMenuItem ("Close");
          m_file.add (mi_open);
          m_file.add (mi_close);
          menubar.add (m_file);
          frame.setJMenuBar (menubar);
          textField=new JTextField ();
          textField.setEnabled (false);
          textField.setBounds (200, 0, 200, 20);
          textField.addMouseListener (new MouseAdapter (){
             public void mousePressed (MouseEvent e){
                textField.setEnabled (true);
          textField.addKeyListener (new KeyAdapter () {
             public void keyPressed (KeyEvent e){
                int key = e.getKeyCode ();
                if(key == KeyEvent.VK_ESCAPE){
                   textField.setEnabled (false);
                   requestFocus ();
          northPanel=new JPanel ();
          northPanel.setLayout (null);
          northPanel.setPreferredSize (new Dimension (600,20));
          northPanel.add (textField);
          frame.add (northPanel,BorderLayout.NORTH);
          frame.add (this, BorderLayout.CENTER);
          frame.setVisible (true);
          requestFocus ();
       public void paintComponent (Graphics g) {
          super.paintComponent (g);
          g.setColor (Color.RED);
          g.fillOval (x1, y1, 10, 10);
       public static void main (String[] args) {
          SwingUtilities.invokeLater (new Runnable () {
             public void run () {
                JFrame.setDefaultLookAndFeelDecorated (true);
                new TextFieldDisableNoProblem ().makeUI ();
    }db

  • My MacBook Pro Retina's Bluetooth chipset unknown/odd login message on the login screen states Login Window Authentication Login window Name edit text has keyboard focus. In addition, the login screen is not remembering me

    I have been experiencing several issues with my MacBook Pro Retina mid 2012. My MBPR is scheduled to go into the depot. However, I am wondering if anyone may be able to shed light on a few issues as this is the third "official" time my MBPR is going back for service ("one depot" trip; "one authorized" dealer; several in-store visits).
    My Bluetooth is stating that the Bluetooth Chipset is Unknown (0). I also have had Bluetooth Preferences mysteriously change on me. In addition, while Bluetooth is off there are two serial modems turning on. I have turned them off, but they continue to pop up.
    In addition, when I log in, my MBPR is not remembering me and my login name is not appearing on the slate-gray screen. The name and password are blank and the following message appears in the lower left hand corner. "login window authentication login window Name edit text has keyboard focus."  As a side note, I am the only user. The login issue is a recent occurrence as we just totally wiped it again via a Command + R, and I don't believe I have an accessibility setting set to anything that would cause this, but wanted to check.
    Should I be concerned here? Has anyone else had issues like this? I don't want to worry if I don't have to. I have had so many issues over the course of nine months. 5-6 wipes. Airport card replaced and I am about to pull my hair out if my MBPR doesn't come back worldly like clock work this time. I just can't send my days trying to get a $2300 product to work for me any longer. No idea what is wrong with it, but it is driving me insane. Cross your fingers for me and any guidance you have or thoughts would be welcomed. Thank you. EMM

    A few more issues...
    In Console, the following is greyed out:
    User and Diagnostic reports
    Com.apple.launchd.peruser.0
    Com.apple.launchd.peruser.88
    Com.apple.launchd.peruser.89
    Com.apple.launchd.peruser.92
    Com.apple.launchd.peruser.97
    Com.apple.launchd.peruser.200
    Com.apple.launchd.peruser.201
    Com.apple.launchd.peruser.202
    Com.apple.launchd.peruser.212
    *[user logs are accessible]
    Krb5kdc
    Radius
    My guest files are locked, but again I am the administrator of MBPR.
    I am worried about a keystroke logged or at least, trying to rule it out.
    Also:
    Mdworker32(225) [and other mdworker numbers] are sandboxing; stating deny Mach-lookup
    Com.apple.Powermanagement.control, etc. long attachment with those files with version: ??? (???).
    Postinstall: removing applications/Microsoft Office 2011/Microsoft Outlook.app
    WARNINGS in Console include:
    [NSImage compositeToPoint:fromRect:operation:fraction:] is deprecated in MacOSX 19.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction] instead.
    There are a ton of other warnings. Before I go through this again, can someone tell me if this is normal (all of it -- above too); or if these are symptoms is a keystroke logger or hardware issues? 
    I ask because originally, when my computer went in for diagnostics (more than once), Apple stated the hardware was fine (other than Airport Card -- finally). However, if I've done 5-6 total wipes; created new users; do not have sharing set-up; have not played around in Terminal; and am up-to-date with versions -- and various issues KEEP COMING BACK -- I am left wondering if a keystroke logger would be possible here?!? I thought maybe a faulty logic board, but why would diagnostics be okay, then? Not trying to be hyperbole, just desperate.
    Please help me rule keystroke logger out or at least, tell me so I know, so I can take appropriate action. If you think it could be the logic board with symptoms above, that would be a great too.
    All I want to do is use the computer as intended, but I can't seem to get a real answer, so after nine months -- I am turning to the communities to see if anyone -- anyone at all -- can help. The last thing I can do is have the MBPR come back from the depot and the same thing occur. Any guidance or advice would be so gratefully appreciated.

  • Canon 6D will not focus or flash in "Live View" mode.

    My Canon 6D will not focus or flash in "Live View" mode.  I have a canon 430ex II  and a E-ttl flash connected with a sync cord for E-ttl function.  The camera does simulate shutter action, but no photo is taken.  How can I over-come this problem. 
    Once in a while, after trying to take several photos it will start working, but usually not.
    Solved!
    Go to Solution.

    Hi Shadowcat!
    Thanks for posting.
    It sounds like the AF Method is set to Quick Mode.  When the camera is set for Live View Shooting, there are different AF Methods that can be set.  In Quick Mode, the camera uses its dedicated AF sensor to focus when you press the shutter button down halfway. 
    The image on the LCD will be interrupted while the camera tries to focus because the shutter closes and the mirror drops back over the image sensor.  This may look as though the camera is taking a picture, but it is not, it is only focusing.  No flash is fired during this process either.  Continue to hold the shutter button halfway until focus is achieved, at which point the image will return to the LCD.  Then you can press the shutter button the rest of the way down to take the picture.  The flash will fire and an image will be recorded.
    This didn't answer your question? Find more help at Contact Us.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Switching windows in Linux/Firefox loses keyboard focus. Workarounds?

    Hi,
    I've been stumbling on an issue in which an applet gets into a state where it can receive mouse events but not keyboard events. This state occurs some of the time when switching from a non-modal dialog to the applet.
    I've witnessed this behavior on:
    Linux (fc8), Firefox 3.0.10, Java plug-in 1.6.0_13, Gnome 2.20.3
    Sun Solaris (5.10), Firefox 3.0.8, Java plug-in 1.6.0_12, Sun Java Desktop System or CDE
    I can not reproduce this behavior using appletviewer, nor can I reproduce it on the Mac (Opera/Firefox/Safari), nor on Windows (Firefox/IE).
    I've crafted some code that shows the behavior:
    FocusApplet.java:
    import javax.swing.JApplet;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.event.*;
    import java.beans.*;
    public class FocusApplet extends JApplet {
      JTextArea infoText;
        Object activeWindow;
        Object focusOwner;
        Object permanentFocusOwner;
           Applet contains two components.
           NORTH: Text field
           CENTER: Info text
           The info text is updated whenever the following
           KeyboardFocusManager properties change:
              activeWindow
           focusOwner
           permanentFocusOwner
      public void init(){
          JTextField tf = new JTextField("Type here");
          infoText = new JTextArea();
          infoText.setEditable(false);
          infoText.setLineWrap(true);
          infoText.setWrapStyleWord(true);
          infoText.setBorder(new EtchedBorder());
          this.add(infoText, BorderLayout.CENTER);
          this.add(tf, BorderLayout.NORTH);
          KeyboardFocusManager focusManager =
           KeyboardFocusManager.getCurrentKeyboardFocusManager();
          activeWindow=focusManager.getActiveWindow();
          permanentFocusOwner=focusManager.getPermanentFocusOwner() ;
          focusOwner=focusManager.getFocusOwner() ;
          updateText();
          focusManager.addPropertyChangeListener(
           new PropertyChangeListener() {
             public void propertyChange(PropertyChangeEvent e) {
              String prop = e.getPropertyName();
              if ("focusOwner".equals(prop)) {
                  focusOwner = e.getNewValue();
                  updateText();
              } else if ("permanentFocusOwner".equals(prop)) {
                  permanentFocusOwner = e.getNewValue();
                  updateText();
              } else if ("activeWindow".equals(prop)) {
                  activeWindow = e.getNewValue();
                  updateText();
          // Create non-modal dialog
          JDialog jdl = new JDialog((Frame)null,"Extra dialog",
                        false/*modal*/);
          jdl.setSize (300,550);
          jdl.setVisible(true);
        public void updateText() {
         infoText.setText("Active window: "+getName(activeWindow)+
              "\nFocus owner: "+getName(focusOwner)+
            "\nPermanent focus owner: "+getName(permanentFocusOwner));
        public String getName(Object obj) {
         return (obj==null) ? "null" : obj.getClass().getName();
    }Applet HTML:
    <applet code="FocusApplet.class" width="400" height="400"></applet>When I run this applet, I can click on the text field ("Type here") and enter text. Then, I switch between the empty dialog box and the applet using the window manager. (I.e., clicking on the dialog, then clicking on the applet.) Sometimes I see the following Keyboard Focus settings when I bring the applet to the front:
    Active window: sun.plugin.viewer.frame.XNetscapeEmbeddedFrame
    Focus owner: javax.swing.JTextField
    Permanent focus owner: javax.swing.JTextField
    In this case, clicking on the text field will allows the user to edit text. Good! However, 10%-50% of the time I get the following settings after I bring the applet to the front:
    Active window: null
    Focus owner: null
    Permanent focus owner: javax.swing.JTextField
    In this case, I can click on the applet, and I can highlight text in the text field, but I can not edit the text. (No carat appears. Bad!) Since there is no keyboard focus owner, the applet appears non-responsive.
    I have a few questions:
    1. Is this a Java plug-in bug? A Firefox bug? Who do I file a bug with, assuming there's not something I'm missing?
    2. Can anyone suggest a workaround?
    Thanks,
    -David-

    I noticed the problem too. Is there any fix or workaround? Friends using Windows say that all is ok.
    Linux x86_64 (Gentoo), Firefox 3.5.1, jre 1.6.0.15.

  • Illustrator CS6 loses keyboard focus when using an extension panel

    OS10.8.2 CS6. When clicking a button on any extension panel (even supplied Kuler), it seems that Illustrator can't get keyboard focus until something else on the screen is clicked. Anyone know a way to fix this? I need to be able to use the keyboard to copy or delete a selected object right after running script....
    Tried running a javascript inline with app.activate() command. Didn't work. Help!!!!

    I noticed the problem too. Is there any fix or workaround? Friends using Windows say that all is ok.
    Linux x86_64 (Gentoo), Firefox 3.5.1, jre 1.6.0.15.

  • Flash interaction on a frame

    I've added a Flash interaction to one frame. It seems that
    once clicked on the screen, it goes on to the next frame. Is there
    a way to stop the usual navigation (click to continue) and depend
    on the bottom navigation only for that specific frame?
    thanks,

    Try adding a Captivate click box and have it pause the slide
    AFTER your Flash interaction on the timeline.
    If you configure the click box's On success property to "No
    action" then the slide should essentially become disabled at that
    point and the user must use the playbar to continue.

  • Tab to move keyboard focus

    Okay, I've been looking around for quite some time and cannot find a solution for my annoying problem: I cannot keep the 'Tab to move keyboard focus between: All controls' to stick. I am able to change the keyboard setting so that the Tab key changes keyboard focus through settings -> keyboard -> keyboard shortcuts -> full keyboard access and the simple control+F7 until I log out, reboot or power cycle.
    I have reset all of my keyboard settings to default and I have gone so far as to create a new user with admin priviledges but the problem persists. Any ideas?
    I appreciate any input you may have!

    More info in case anyone is reading (I feel as though this is a one person conversation).
    I backed my MBP up and reinstalled Lion and still have the problem after a restore. I did the reboot -> command-R trick and reset priviledges but to no avail and I am beginning to think this is a bug.
    The last thing I will add is under Keyboard -> Keyboard Shortcuts, Full Keyboard Access is granted to All controls and does not reset when I reboot and am unable to change keyboard focus with tab.

  • System dead after flashing BIOS

      I posted the note about my system hanging in the post screen for a few minutes before windows kicks in. It was in relation to hooking up a USB keyboard.  Anyway a simple problem turned into a nightmare.    After doing and checking some of the things some of the guys recomended, I decided to check my version of BIOS through live update. Low and behold a newer version 1.9 was availible, I had 1.5.
       The new version also had some USB fixes including....Great just what I was looking for.    Well, everything went fine until it was time to reboot....then my system never came back. The screen was blank and black. I can't even get the recovery floppy to work?    Any suggestions as it was late last night and Im at work now.   Is my BIOS chip fubar?   Is it time to replace this motherboard already?
                                                                                                                                               Mike Dykas     

      Well gentlemen, I had to laugh when I read the troubleshooting sticky.  It seems the windows booting delay problem with the saitek usb keyboard hooked up  was caused by USB support being enabled instead of disabled.   I will always read the sticky's first from now on.  Sooooo !
    Here I am with this beautiful  looking paper weight with lights !   
          After flashing BIOS from live update  (  I know  now )   my system never came back to me.   I reset CMOS with the button, and I also removed the battery and put it back in.  No help !                                   I made the Bios recovery floppy, for the award bios recovery, but when I power up the floppy never kicks in .    I 'll try and pick up a new CMOS battery tomorrow.  Interesting though that the D bracket lights to  "  initializing Video Interface "  and there she stays.     I'm wondering now If I should just get me a new bios chip. Which to me would be the easiest way to go.  I keep my board intact and everything  stays put.   No loading all the software all over again.  I'm not without, I have my Vaio, but pczilla was my baby........ya know the feeling right.   I don't know of any other course to take unless somebody out there has a better idea, I'm all ears   ............
                                                                                                       Mike

  • Z68A-GD80(G3) Can no longer read external hd dock after flashing beta bios

    I flashed E7672IMS.J31 Beta Bios because I was on a very old bios that was not compatible with my GTX 970 card I just bought.  Flashing the bios fixed my 970 compatibility but in the process made it so my 2 external hd docks no longer worked (at this time on windows 7).  self powered usb harddrives still worked though.  At this time my sata mode was IDE which I thought might have had to do with it since it doesnt have hotswap. I assumed it was an issue with some drivers I installed after flashing the beta bios and I was due for upgrading/reformatting anyways so I enabled AHCI and hot swap then did a clean install of windows 8.1.  The external hard drives still don't read!!   I've used multiple different hard drives and different usb ports including usb 2.0.  The docks are usb 3.0 and I use them daily to edit photos from my work.  Any ideas of things I could try?
    My pc:
    intel 2500k
    16gb Corsair vengeance ram
    MSI 970 GTX GPU
    Corsair 750w power supply
    Z68A-GD80(G3) motherboard
    E7672IMS.J31 Beta Bios

    Could the issue be that I didn't download the Intel Management Driver after installing the beta bios I flashed?  Maybe I could try that first, which one from this list do I use with my pc setup?
    thanks for the help!
    Quote from: flobelix on 20-October-14, 00:38:02
    Try going back to E7672IMS.J20 OFFICIAL. Use the recommended flashing method with provided archive only: https://forum-en.msi.com/index.php?topic=163870.msg1215101#msg1215101

  • MSI 770T-C45 won't post after flashing BIOS with M-FLASH

    After flashing AMIBIOS 8.3 to v8.7 with M-FLASH via USB stick I can't get any post.
    Had I read this forum before I wouldn't have done it, but here I am.
    Fan starts, LEDs are off, no beeps at all, power button does nothing. Black screen.
    After force flashing (yes, I am THAT stupid) the prompt said it would reboot in 5 seconds and after that nothing.
    Here's my setup:
    Board: MSI 770T-C45
    Original Bios: v8.3
    Flashed Bios:  v8.7 (flashed with M-FLASH)
    VGA:   EVGA NVIDIA GeForce GTX 660
    PSU:   Enermax FMAII EG465AX-VE 460W
    CPU: AMD Phenom x4 9650
    MEM: Kingston DDR2-667 4x2GB KVR667D2N5/2G
    HDD: SAMSUNG 840 SSD 250GB
    OS: Windows 8 Pro 64bit
    I tried every CMOS clearing method found in previous posts and threads (including this and this.)
    1. Unplugged from power, waited 5 minutes, removed the battery (5mins), changed jumper position (5min), switched it back (5min), plugged it in (5min) and powered up with and without USB stick in the hub next to network hub with old BIOS (v8.3) inside. Pressed CTRL+HOME, anything, not a single message or beep or LED flashing.
    Also I removed all RAMs and kept one in the first socket. Nothing.
    I really don't know what to do next. What seems to differ from other users is LEDs non working, what does that mean?

    The problem here is that after update 8.6 the m-flash module was updated, so yes your mobo is a brick, but there is still hope for it. I had the same situation a few days ago with the exact same model and was able to recover it by following the steps on listed on the below posts:
    https://forum-en.msi.com/index.php?topic=133578.0
    https://forum-en.msi.com/index.php?topic=129989.0
    It may seem complicated at first, but trust me its not at all.
    Anyways you probably already have another mobo, send it for RMA or used it as frisbee, but it may come handy for some other doing the same noob flashing as we did

Maybe you are looking for