JOptionPane en default focus issues

Hello,
I have written a simple class to show a login dialog, but I can't get the default focus right. My problem is that I want the first JTextField (usernameField) to be the one select when my dialog shows, but I want the first button (Ok button) to be called automatically when I press enter. What happens now that I set the first button (Ok button) default (last argument of JOptionPane.showOptionDialog), this makes sure that whenever I press enter this buttons gets called en the dialog reacts accordingly. But when the dialog is first shown this default button is also the one selected (having focus), this is not what I want. The JTextField (usernameField) should be selected (have focus) so a user can enter his username, then press enter and see what happens.
When I don't set a default button nothings happens when I press enter but now the right JTextFields (usernameField) is selected.
Hope anyone can help me.
Thank you very much.
The code:
public class LoginDialog
    private int attempts;
    private TargetFinder controller;
    private Component parent;
    private String username;
    private String password;
    public LoginDialog(TargetFinder controller, Component parent)
        this.controller = controller;
        this.parent = parent;
        username = "";
        password = "";
    private int buildDialog()
        String dialogTitle, usernameText, passwordText, errorPart1, errorPart2;
        String[] buttonsText;
        try
            dialogTitle = LanguageParser.getText("loginTitle");
            usernameText = LanguageParser.getText("username");
            passwordText = LanguageParser.getText("password");
            buttonsText = new String[2];            
            buttonsText[0] = LanguageParser.getText("loginTitle");
            buttonsText[1] = LanguageParser.getText("cancel");
            errorPart1 = LanguageParser.getText("loginError1");     
            errorPart2 = LanguageParser.getText("loginError2");
        catch (Exception e)
            throw new RuntimeException("Login dialog could not be created", e);
        JPanel namePanel = new JPanel(false);
        namePanel.setLayout( new GridLayout(0, 1) );
        namePanel.add( new JLabel(usernameText) );
        namePanel.add( new JLabel(passwordText) );
        JPanel fieldPanel = new JPanel(false);
        fieldPanel.setLayout( new GridLayout(0, 1) );
        JTextField usernameField = new JTextField(12);
        fieldPanel.add(usernameField);
        JPasswordField passwordField = new JPasswordField(12);
        fieldPanel.add(passwordField);
        JPanel componentPanel = new JPanel(false);
        componentPanel.setLayout( new BoxLayout(componentPanel,
                BoxLayout.X_AXIS) );       
        componentPanel.add(namePanel);
        componentPanel.add(fieldPanel);
        JPanel componentPanelError = new JPanel(false);
        componentPanelError.setLayout( new GridLayout(0, 1) );
        componentPanelError.add(componentPanel);
        JLabel errorLabel = new JLabel(
                "<html>" +
                errorPart1 +
                "<br>" +
                errorPart2 +
                "</html>" );   
        errorLabel.setForeground(Color.RED);
        componentPanelError.add(errorLabel);
        int res;
        res = JOptionPane.showOptionDialog(
                parent,
                (attempts == 0) ? componentPanel : componentPanelError,
                dialogTitle,
                JOptionPane.OK_CANCEL_OPTION,
                (attempts == 0) ? JOptionPane.INFORMATION_MESSAGE : JOptionPane.ERROR_MESSAGE,
                null,
                buttonsText,
                buttonsText[0] );
        if (res == JOptionPane.OK_OPTION)
            username = usernameField.getText();
            password = new String( passwordField.getPassword() );
        return res;
    public boolean login()
        attempts = 0;
        Database database = controller.getDatabase();
        while ( buildDialog() == JOptionPane.OK_OPTION )
            if ( database.login(username, password) )
                return true;
            attempts++;
        return false;
}

Thanks for your reaction Olek,
But I can't request focus because JOptionPane creates a model window, so the JVM waits for the user to click one of the buttons.
Also I don't know how to add a ButtonListers to any of the buttons because the are created dynamicly by JOptionPane.
I use JOptionPane.OK_CANCEL_OPTION to create both an Ok and a Cancel button, and define an array (buttonsText) with names for them. I can't ask the rootPane for this buttons because they only excist after I call JOptionPane.showOptionDialog(...) and this is model window.
        int res;
        res = JOptionPane.showOptionDialog(
                parent,
                (attempts == 0) ? componentPanel : componentPanelError,
                dialogTitle,
                JOptionPane.OK_CANCEL_OPTION,
                (attempts == 0) ? JOptionPane.INFORMATION_MESSAGE : JOptionPane.ERROR_MESSAGE,
                null,
                buttonsText,
                buttonsText[0] );With kind regards,
Eddy

Similar Messages

  • Is there a fix for 5d ii focus issue

    Hello,  I just purchased the 5Dii used but the owner said the camera was working perfectly. I notice that when I take photos the photos do not look sharp. I am shooting in raw and using fast enough settings that they should be sharp. I tried different lenses and a tripod still same results when viewed at 100%. So I have been reading about the 5d ii having focus issues and was wondering if there is a fix to this problem? Also, I read that with 21 mp the photos won't look sharp in the view finder or when viewed at 100% has anyone else heard this?  Any suggestions would be helpful. I am thinking I need to return the item which is a shame, I was so excited to get the 5d ii and very disappointed to be having this issue.  

    I don't suggest using the viewfinder to judge quality of photos -- it's too small.  
    There are no focus "issues" with a 5D II -- it's an excellent camera.  It doesn't have the advanced focus system of the 5D III but if the focus points on your 5D II tell you that something is correctly focused then it should be correctly focused.
    There are NUMEROUS things that can cause problems (none of which are defects.)
    1)  If you allow the camera to auto-select it's focus point, remember that the camera will always pick the focus point which can lock focus at the closest focusing distance.  Suppose you're taking a photo of someone's face, but on the side of the frame there's a bush -- and that push is in far enough that one of the focus points is on the bush.  The camera will focus on the bush and NOT on your subject's face.  Usually you will want the camera to focus on the nearest subject, but when shooting shots with distracting elements in the frame which are closer then your intended subject, you need to pick the focus point you want the camera to use rather than allow it to auto-select the point.
    2)  If focusing at a particularly low focal ratio (especially at close distances) the depth of field can get REALLY thin.  If you want focus on your subject's eyes -- you will need to carefully position the focus point and lock focus on your subject's eyes -- otherwise you may end up getting a focus lock on their nose (as an example) and the eyes will be slightly soft.
    3)  In the default "one shot" mode, the camera will focus prior to taking the shot.  When focus lock is achieved the camera will stop adjusting focus.  If either you or your subject move after that point, the camera will NOT re-adjust -- you'll get  a soft shot.  With moderate f-stops usually a small movement wont change focus distance enough to matter -- this is mostly an issue at shallow f-stops.  But if shooting action where you KNOW your subject is moving and focus distance is changing, you need to use the "AI Servo" mode which continuosly updates focus.
    4)  Your 5D II allows you to adjust the focus accuracy of a lens.  Some lenses will routinely focus just slightly in front or behind your intended focus distance.  When you detect that you have a lens that does this, the camera can compensate.  This adjustment requires that you set up an accurate focus test to determine if an adjustment is needed and how much.  Do not attempt to make an adjustment by using regular every-day shots... use a carefully controlled focus target, tripod, etc.  There's a procedure for doing this.
    5)  If you suspect inaccuracy with focus points (and you really need to be careful to use controlled circumstances before arriving at such a conclusion) you can test by switching to "live view" mode to see if you get different results.  Live view mode does not use the phase-detect auto-focus points... it uses contrast-detection focus instead.  Contrast detection is slower but in theory should be able to provide more accurate focus as long as you have a subject with some decent contrast.  If live view is consistently outperforming the standard phase-detect AF mode then you may need to perform focus adjustment on your camera (this is specific to each lens you own... this is because each lens can behave differently.)
    Lastly... your camera records which AF points were used when it takes a photo.  This data can be displayed IF you use the Canon EOS Utility (which should have come with your camera).  It'll put the familiar focus array overlaying your photo and highlight the active point(s).  Just be aware that if you did a "focus and recompose" that the camera is going to report which focus point was used to lock focus but wouldn't know you recomposed the shot.  If you're not recomposing and your subject distance wasn't changing then the utility should be accurate.
    Incidentally, Apple's "Aperture" software also allows you to view the Canon focus point data.  As far as I'm aware, this is not available in Lightroom or Photoshop.
    Tim Campbell
    5D II, 5D III, 60Da

  • Adobe Flash Pro CS6 -- cursor and focus issues

    This is OS specific as it works fine in the Snow Leopard.
    I am having issues with nearly everything involved with switching between apps / focusing on text windows / getting the cursor to appear where I click / etc since upgrading to Mountian Lion/Mavericks while using Flash Professional CS6. 
    Example problems:
    I click on the Flash icon in the menu bar (twice because the new Mac OS's have focus problems in the dock with mission control enabled) the OS will sometimes switch to the space containing Flash (sometimes not but let's focus on the Flash focus issues). I hover over the code window, I scroll with the mousewheel down the page to where I want to edit the code, I CLICK exactly where I want to paste it, hit cmd+C -- then it pastes the code NOT THERE but instead where the cursor was before (at the top of the page)... So essentially I have to double or triple click everything in Flash all the time. I just click like crazy anymore on everything all the time, but in Flash it's really unpredictable.
    This happens on both of my work computers (both 10.8.5)
    and my Mac Pro (10.9) but not my MacBook Pro that is still extremely fortunate enough to have 10.6 on it.

    What you need is an inner Graphic symbol. What I mean by Graphic symbol is when you select all your letters and hit "F8", choose "Graphic" instead of "MovieClip." In the properties panel, you'll see that one of the sections is called "Looping." Select"play once" (the default is "Loop"). Inside that graphic should be the animation of the letters moving in from left to right.
    On the outer timeline, put a keyframe at the same frame number where the Graphic's animation ends. Change the Looping to "Single Frame" and then type in the frame number of the last frame. You can then create a motion tween that animates the graphic symbol upward at its final frame.

  • JSpinner Focus Issues

    Hi,
    I am working on this swing screen where i have multiple components like textboxes ,combos,and some spinners(JSpinners)
    Problem is that i have lost the default focus traversal policy as some components were deleted and some added.
    To reslove this i wrote a custom FocusTraversal policy which is woking fine .
    Only issues is when i tab form a text box to a JSpinner cursor does not appear inside it .But if i tab again cursor moves inside next component.
    (Jspinner is enabled)
    Can some one suggest how to do that ?

    Well i have solved this ugly messy thing :
    Solution :
    public final class ArrayFocusTraversalPolicy extends FocusTraversalPolicy
        List list;
        private final Component[] order;
        public ArrayFocusTraversalPolicy(Component[] order)
            super();
            this.order = order;
            list = Arrays.asList(order);
        public Component getFirstComponent(Container focusCycleRoot) {
          return order[0];
        public Component getLastComponent(Container focusCycleRoot) {
          return order[order.length-1];
        public Component getComponentAfter(Container focusCycleRoot,
            Component aComponent) {     
          return recursiveGetComponentAfter(focusCycleRoot, aComponent, 0);     
        private Component recursiveGetComponentAfter(Container focusCycleRoot,
            Component aComponent, int iterNo)
          if(iterNo >= order.length)
            return getDefaultComponent(focusCycleRoot);
          int index =0;
          if(aComponent.getParent().getParent() instanceof JSpinner)
               index= list.indexOf((JSpinner)aComponent.getParent().getParent());
          else
               index= list.indexOf(aComponent);
          Component nextComp = order[(index + 1) % order.length];
          boolean isPanelThere = false;
          boolean isPanelVisible = false;
          if(nextComp.getParent() instanceof JPanel)
               isPanelThere = true;
               if(((JPanel)nextComp.getParent()).isVisible())
                    isPanelVisible = true;
          if(!isPanelThere)
               if (nextComp.isEnabled()){
                          if( nextComp instanceof TranslatedSpinner)
                              return ((TranslatedSpinner.DefaultEditor)((TranslatedSpinner)nextComp).getEditor()).getTextField();
                         }else
                              if(nextComp instanceof JSpinner )
                                  return ((JSpinner.DefaultEditor)((JSpinner)nextComp).getEditor()).getTextField();
                         else                   
                              return nextComp;
               }else{
                 return recursiveGetComponentAfter(focusCycleRoot,nextComp, iterNo++);       
          else
               if (isPanelVisible && nextComp.isEnabled()){
                          if( nextComp instanceof TranslatedSpinner)
                              return ((TranslatedSpinner.DefaultEditor)((TranslatedSpinner)nextComp).getEditor()).getTextField();
                         }else
                              if(nextComp instanceof JSpinner )
                                  return ((JSpinner.DefaultEditor)((JSpinner)nextComp).getEditor()).getTextField();
                         else                   
                              return nextComp;
               }else{
                 return recursiveGetComponentAfter(focusCycleRoot,nextComp, iterNo++);       
        public Component getComponentBefore(Container focusCycleRoot,
            Component aComponent) {
          return recursiveGetComponentBefore(focusCycleRoot, aComponent, 0);
        private Component recursiveGetComponentBefore(Container focusCycleRoot,
            Component aComponent, int iterNo)
          if(iterNo >= order.length)
            return getDefaultComponent(focusCycleRoot);
          int index =0;
          if(aComponent.getParent().getParent() instanceof JSpinner)
               index= list.indexOf((JSpinner)aComponent.getParent().getParent());
          else
               index= list.indexOf(aComponent);
          Component nextComp = order[(index - 1 + order.length) % order.length];
          boolean isPanelThere = false;
          boolean isPanelVisible = false;
          if(nextComp.getParent() instanceof JPanel)
               isPanelThere = true;
               if(((JPanel)nextComp.getParent()).isVisible())
                    isPanelVisible = true;
          if(!isPanelThere)
               if (nextComp.isEnabled()){
                          if( nextComp instanceof TranslatedSpinner)
                              return ((TranslatedSpinner.DefaultEditor)((TranslatedSpinner)nextComp).getEditor()).getTextField();
                         }else
                              if(nextComp instanceof JSpinner )
                                  return ((JSpinner.DefaultEditor)((JSpinner)nextComp).getEditor()).getTextField();
                         else                   
                              return nextComp;
               }else{
                 return recursiveGetComponentBefore(focusCycleRoot,nextComp, iterNo++);       
          else
               if (isPanelVisible && nextComp.isEnabled()){
                          if( nextComp instanceof TranslatedSpinner)
                              return ((TranslatedSpinner.DefaultEditor)((TranslatedSpinner)nextComp).getEditor()).getTextField();
                         }else
                              if(nextComp instanceof JSpinner )
                                  return ((JSpinner.DefaultEditor)((JSpinner)nextComp).getEditor()).getTextField();
                         else                   
                              return nextComp;
               }else{
                 return recursiveGetComponentBefore(focusCycleRoot,nextComp, iterNo++);       
        public Component getDefaultComponent(Container focusCycleRoot) {
          return order[0];
    }

  • Default Focus on TextField

    Hello All,
    I have got a problem, please help me. I have a textfield in a frame. When call that frame the textfield will be displayed with default focus on it. I dont want to have the cursor in that text field. I dont have any other swing components in that and the text field is the first component in that frame.
    Please help me....
    Thanks in advance

    Hello
    Thanks for your reply. But i my code is some thing like this.
    public class TextFieldExample extends JFrame
         public JTextField textField;
         public JButton enterButton;
         public TextFieldExample()
              super();
              textField = new JTextField(25);
              JPanel jp = new JPanel();
              jp.add(textField);
              getContentPane().add(jp);
              setLocationRelativeTo(this);
              pack();
         public static void main(String args[])
              TextFieldExample textFieldExample = new TextFieldExample();
              textFieldExample.setVisible(true);
              textFieldExample.addWindowListener(new WindowAdapter()
                   public void windowClosing(WindowEvent we)
                        System.exit(0);
    Now Please suggest me the solution.

  • Lightroom and Windows mouse focus issues.

    In one aspect Lightroom have been always behaving different from other Windows application: Its speed of grabbing mouse focus and moving window to the foreground is exaggerated. This problem will be observed only by people using their WinXP computers in "X11 mode", like with Unix, what allows to perform interaction with processes associated with windows without ever clicking on, or raising such window. Should you be working on large computer clusters as I do, this focusing feature its a blessing.
    This how you can reproduce: Use Tweak UI to adjust the mouse behavior. Select "Mouse," step down to "X=Mouse" and check "Activation follows mouse." Do not select "autoraise."
    Now your WinXP will behave similar to the real X11 xterm with mouse having the "no raise selection" policy. Its not quite identical to xterm, but it really works perfectly in most cases.
    Except... well, except with Lightroom. Lightroom grabs the pointer and pushes the window to the foreground in splits of a second. For example, go to
    "Help|About Adobe Lightroom" to see the credit window. It appears than as usual, but since the help menu will be dismisses, the pointer stands on the main Lightroom window, what makes the credits window vanish in split of a second. No chance to see it!
    Another case: Assume that Lightroom uses almost the entire desktop down to the task bar, and your browser window is smaller. Select the browser on the taskbar and try to move mouse to it. No chance! Lightroom will take over and pop itself to the foreground again. The only solution is to minimize Lightroom. And than sometimes something happens that Lightroom will not restore itself anymore! The "Restore" operation is grayed out, one can only Maximize it. We have reported this numerous times before.
    I am aware that this problem relates only to WinXP users with X11 mouse mode, but with Lightroom reaching now a high degree of maturity, maybe we could take a look at this problem as well?

    In order to overcome most of the known navigation and/or focus issues you need to be using the following:
    <li>Forms 10.1.2.3 or newer (latest is 11.1.2). If/when you are using 10.1.2.3 you would also need to install patch ID 9593176 as this contains additional fixes for focus issues.
    <li>JRE 1.6.0_26 or newer (latest is 1.6.0_30). The latest is always recommended as it contains the most up to date fixes for both technical issues and security issues.
    Patches are only available on MyOracleSupport: http://support.oracle.com

  • Mouse Focus Issues

    hi,
    Are there any known mouse focus issues in r12 (r12.6) ?
    we have couple of users who have these problems. this isn't with all but few of them.
    thanks,
    jazz

    Jazz,
    Review the following documents, and see if it helps.
    Note: 457136.1 - On R12 Application, Randomly The Mouse Navigation Stops Working
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=457136.1
    Note: 468724.1 - Rel 12 : Mouse Cursor Is Frozen (Loss Of Focus In Applet) After Minimizing And On Restoring the Form To Normal Size
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=468724.1
    Note: 824000.1 - Unable to Use Mouse Cursor After Accessed on Folder Tools box
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=824000.1
    Regards,
    Hussein

  • Using webutil causes focus issues

    Hello,
    Many of us are familiar with the sporadic focus issue that can occur whereby you can use the keyboard to tab around a form but not the mouse. We have an existing function in our application which uses calls to Webutil functions (WEBUTIL_FILE.FILE_SAVE_DIALOG, WEBUTIL_FILE_TRANSFER.IS_AS_READABLE, EBUTIL_FILE_TRANSFER.AS_TO_CLIENT) to mediate a CSV export of data. We've noticed, since upgrading to 10.1.2.3 and the Sun JVM, that after performing this action, the focus problems occur i.e. mouse navigation no longer works.
    Has anyone else encountered this problem..? Or even better, have a suggested solution?
    Regards,
    James
    Apps Server: Forms and Reports Server 10.1.2.3
    JVM: Sun 1.6.0_14

    I face this problem and finally get the the solution it is:
    1- make keyboard navigable property for the blob item 'no' .
    2- create any item in the block of this blob and make it navigable 'yes' and visible 'yes' and width '0' and height '0'.
    and try and isa mouse navigation will work
    Feel free to contact me to inquire anything .

  • Is there a default focus Method ?

    I would like to have a button to be focused by default within a dialog such that user can easily fire the button's action. Is there a method to set default focus on a button ? Thanks !!!

    That's actually very helpful. I can now set a default focus button on a dialog. But then for some reason I can not set it for other dialogs initiated by this dialog. Since I have an opening dialog with a number of buttons, and those buttons will open up a new dialog. Right now I can only set the default focus to the opening dialog. The other dialogs that opens up from firing the buttons did not have the same effect as the opening dialog. Is there a way to fix it ? Thanks

  • Default focus behavior in Swing

    I have a JTabbedPane wherein every tab has a variety of fields, including buttons, text areas, text fields, tables, and so on. I wanted to tweak the default focus behavior such that the first text field or the first text area has the focus.
    I used requestFocusInWindow() to set the focus on the first text field I get. This, however, was being overriden at a later stage (I am working on a vast code) and the first component inside a tab is getting the focus.
    Is there any means to override the default focus behavior? I tried writing my own FocusTraversalPolicy but found that that is never used. How does the default focus behavior work? Does it set the focus on the first field it gets or what? And where can I find the code for the same?

    I used requestFocusInWindow() to set the focus on the first text field I get. The requestFocusInWindow() method only works when the GUI is already visible. So I would suggest that you add a ChangeListener to the tabbed pane and add your code to set the focus every time the tab is changed.
    For a slightly different approach the code in this posting will remember the last field for each tab that had focus and reset focus to that field when the tab is changed. The code is not completely off topic since it shows how to use a ChangeListener:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=570369

  • Should I spend the $280.00 to have Canon fix my 70D auto-focusing issue?

    Should I spend the $280.00 to have Canon fix my 70D auto-focusing issue? Or just return back to my very much trusted Rebels?
    Solved!
    Go to Solution.

    MelekalsCanon wrote:
    Very much appreciate your taking time to send a response. As a new user I wasn't sure if anyone would bother. Allow me to add a little more to my first post. I fit in that niche between amateur and a person with clients. For over 10 years I have covered events for a non-profit agency capturing the look and feel of 20+ events per year and was given permission to purchase a few cameras over the year. My decision from the beginning was to use the Canon Rebel. Images were spot on and only once did I have an issue with one of them (after shooting outside events in 105 degree temps for 3 days).
    So, when I retired a year ago it was for me a pretty simple choice to get a Canon for myself - especially since at that time the 70D was on the cover of magazines and was very highly touted. I also did a lot of desktop publishing and photo editing which helped me realize I wanted the best sensor, sharpness, resolution and lens I could afford - the 70D. My post was actually a result of reading many online responses including your very informative replies about the 70D focusing issues. My biggest concern is that I will spend several hundred dollars and maybe, just maybe get back a camera which captures better focused images, but still not as sharp as the lower end Rebels I was using. I had hoped to purchase my first "L" lens and really get excited - not repair the most expensive camera I've bought to date.
    Thanks again and before it gets noted by someone...yes, I should have pushed this issue sooner and then at least the warranty would have covered the cost. An expensivve lesson learned. But I will have to add that at least one authorized Canon repair dealer told me they have had several folks feel like I did - that it was the photographer/me as a new user having the issue and not the camera. I now know it's my camera.
    Let me clarify that I don't own a 70D, so anything I say about it is from watching what others have said, mainly in this forum. But it is disconcerting to see so much complaint about a camera that's supposed to have an innovative focusing system. One is strongly tempted to suspect that they went overboard in trying to make the camera serve both still  photographers and videographers.
    That said, I'm not a great fan of the Rebel line, because they lack autofocus microadjustment and I have at least one otherwise excellent Canon lens that would be useless without it. (The 70D does have AFMA, a point in its favor.)
    As far as spending the $280 for the repair, I understand why it's a hard call. If I were in your shoes and were convinced that Canon understands the issue and would fix it correctly and permanently, I guess I'd go for it. If you don't think they do, but fell that you need something a cut above the Rebels, this may be a good time to buy a leftover or refurbished 7D. Even though I now have a 5D3, I still use my 7D's a fair amount and have been very happy with them. And the 7D2 has gotten such a favorable reception that's it's almost bound to make more 7D's available at a decent price.
    Bob
    Boston, Massachusetts USA

  • Firefox focus issues

    Hi!
    I have a sometimes very irritating problem with Firefox. I have a Logitech G7 mouse with a tiltable wheel that I've set up to change tabs in forefox, and a sidebutton that I use to close tabs with. I'm just using xbindkeys to bind the mouse buttons to ctrl+page up, ctrl+page down and ctrl+w. The thing is that firefox sometimes seems to loose focus, and ignores keyboard commands. For example when I close my current tab with my mouse or by pressing ctrl+w, and then try to close the next tab too, it doesn't work. I have to click on another window or on the desktop to make firefox loose focus, and then click on firefox again. Then it starts working temporarily again.
    I'm using Firefox 3.0b2 from AUR right now, but I had the same problem with Firefox 2 from extra too. I use gnome with metacity. I also have a couple of plugins installed, but I have tried without any plugins too. I also have the same problem on my laptop, and both my computers use Arch64.
    So, does anyone know a solution to this? It's not such a big deal really, but I gets really annoying sometimes.

    arnuld wrote:
    Aha... and I thought I am the only with Firefox issue
    I use "wmii" and my Firefox always looses focus. In wmii, you can change to different TAGS (like Desktops in GNOME) using "ALT-#" If i have 3 tags opened and Firefox is running on tag-2 and I go to tag-3 to check my messages in pidgin and come back with "ALT-2" I do not see Firefox. I see only border of Firefox and between the border i see my background wallpaper . Clickign with mouse does not bring the focus in anyway..... Quite funny though.. It is happening very frequently , nearly all the time, even if I kill Firefox using <killall firefox-bin> or <kill -9 PID> , the problem remains as it is when I start Firefox again :\
    This also seems to be a different problem from what I'm experiencing, but it seems like there are lots of different firefox focus issues. From your description it almost seems like firefox has crashed for you, since it is no longer drawing itself. Have you tried running firefox from a terminal, to see if you get any error messages?

  • Remote Desktop Services Default Connection issue

    when i am login to Remote Desktop Services Default Connection issue i was unable to see icons which were displaying in internet explorer. It is showing blank. please give me solution as soon as possible.
    i have the screen shots of both IE and mozilla
    thank you

    You can attach screen shots here if you post a reply to your original question. The attach form appears below the textbox where you type your reply.
    Could you describe the steps to reproduce the problem. First you make a remote desktop connection, then you run Firefox on the remote host, and the problem is in Firefox on the remote host? If Firefox on the remote host accessing a site on your LAN, or on the web, or using a protocol other than http (such as file or ftp)?

  • Swing Applet - Internet Explorer - Focus issue - tool tips

    Hi ,
    We are using Swing applet in IE Browser , except this swing component rest of the components in the browser are HTML/DHTML components.
    and we are having issue focus issue with this swing components ,
    once immediately after launching the swing applet , the UI components are having some focus issue , if I bring the mouse on top of the swing UI components , we couldn't able to see the tooltips(flyover text) of those Swing UI components.
    However if we click some where on the Swing applet frame , we are able to see these tooltips(flyover text) .
    It looks like a kind of compatibility issue between swing and IE browser .
    I am trying to find a solution for this issue , so that once after launching the applet , tooltips will work without need to click on the applet bar.
    Can somebody share some thoughts on this issue??
    Thanks,
    Bonthu.

    As a wild guess you are mixing Swing and awt components which is a big no-no and among other things can cause repainting, refreshing issues.
    If you want more help then that you need to post some code that shows us what you are doing.

  • Camera focus issues

    Hey everyone, does any of you experience focus issues with the xperia z3c while shooting timelapse videos??? I have come across focus issues with my z3c, which causes the rendered timelapse to have a shaky or jittery effect which is really bad. I have never experienced this problem with my old xperia zr, and so i am really disappointed with this z3c in this aspect. Below is a YouTube link which shows what i am trying to emphasize. In the clip you can see the video looks very shaky and jittery because the camera is not focused properly when the photos were taken. Is this a hardware problem or can it be fixed with a software update? https://youtu.be/z9nuOWMvh8w

    @dubby
    is this the app?
    https://play.google.com/store/apps/details?id=com.sukros.timelapse&hl=en
    if it is, you will have to contact the app developer, Sukros, regarding this issue.
    "I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

Maybe you are looking for

  • JAX-WS Client throws NULL Pointer Exception in NW 7.1 SP3 and higher

    All, My JAX-WS client is throwing an exception when attempting to create a client to connect to the calculation service. The exception is coming out of the core JAX-WS classes that are part of NetWeaver. (see exception below) Caused by: java.lang.Nul

  • How do I change my iCloud Account information?

    When I got my iPhone back in October, it leads through setting it up, and signing up with your Apple ID, which I have been using my local email account I have through my local cable ISP - ****@cox.net, because that again is what I have used for iTune

  • Plz check the report ?

    hi, i writen the report by using bolck alvs  then iam not getting the field value in RS_SELFELD structure so that iam not able to check condition like if rs_selfield-fieldname = 'vbeln'. so that to rectify this is there any other solution plz send wi

  • Rich text default values not appearing in content entry template

    Hello all, Sorry for the repost, but no one seems to have an answer for me in the other forum and I thought I might be able to reach more people here. I have created a base text item and would like to include default values in some of the attributes.

  • Question related to accessing members through dates

    we can access the members in the report through by dates in the sample.basic application through attributes concept. If there is requirement to access the members if it is specified with start date to end date (16/09/09 to 17/09/09)...How can we proc