[SOLVED] Openbox + fullscreen wine = focus problems

Hi everyone,
I've got this problem with Openbox: when i play a game via WINE (such as World of Warcraft or Guild Wars 2) in fullscreen, the screen become darker and unresponsive after a few mouse clicks. Then if I alt+tab twice, the wine screen become active again... until i decide to click again.
If I play in non-fullscreen windowed mode, it somehow works (WoW and Hearthstone work but GW2 windows blinks dark for like 1 seconde everytime i click).
If I use only the keyboard, everything's fine.
If I set winecfg to create a virtual desktop, everything's fine too.
If I use any other window managers (i tried with xfce, fluxbox, dwm...) i have no problem so i guess is something with the way Openbox and WINE interract.
Any idea what this could be ?
Last edited by Synchronyme (2014-05-31 07:18:34)

Do you use a composition manager? Any application specific settings in rc.xml?
Last edited by emeres (2014-05-30 17:54:40)

Similar Messages

  • LXDE (Openbox) Fullscreen and Layer Problems

    Hi,
    I run the console "Terminator" as a wallpaper and I sometimes use in fullscreen mode on occasion.    I've noticed that once Terminator is in fullscreen, it's "always on top" despite being in the bottom layer.  From fullscreen back to normal mode, it's in the bottom again.  It's not just with Terminator but all applications are behaving the same way (fullscreen ==> always on top).
    I've then binded the "F6 key" to toggle the Raise/Lower window functionality in my ~/.config/openbox/lxde-rc.xml file.  That did not do the trick either.  Is there a way to make an application to keep their layers even in fullscreen?
    Thanks in advance~

    Do you use a composition manager? Any application specific settings in rc.xml?
    Last edited by emeres (2014-05-30 17:54:40)

  • Focus Problem on the t3i

    My t3i is having focusing problems. What can be the cause?  Can I fine to the focus like on the fullframe cameras?
    Solved!
    Go to Solution.

    Kolourl3lind wrote:
    OK I will but I just relized maybe it's because I am zooming after focusing and recomposing?
    Yep - most lenses are "varifocal" -- meaning that if you carefully focus on a subject at some specific focal length in the zoom range... then zoom to a new focal length, then your subject will no longer be accurately focus.  You must re-focus the lens.
    There are a few lenses which are "parfocal" -- mean that if you zoom the focal length after focusing, your subject will still be accurately focused.  However... VERY FEW lenses are technically "parfocal" (though some are close).
    The lenses that I'm aware of which are "parfocal" are:
    EF 16-135mm f/2.8L USM
    EF 17-40mm f/4L USM
    EF 70-200mm f/2.8L USM (only the non-IS version)
    That's it.  If you use any other lens, you have to re-focus the lens after zooming.
    But I also notice you were shooting at 1/15th sec.  That's a bit slow but you were at 18mm (which helps.)  Here's the guideline on that.
    In the 35mm days, there used to be a general guideline that if the shutter speed is equal to or faster than 1/focal-length (e.g. if shooting at 50mm the you'd want to be at least 1/50th sec.... at 70mm you'd want to be at least 1/70th or faster, etc.) would be adequate.  This number doesn't apply to your T3i, but I'll get to that in a moment.
    But there are a few caveats with that...
    First, It assumes you are actually using very good camera-holding technique and you are actually TRYING to be steady.  Good camera-holding technique means you are supporting the camera from below -- typically your left is palm-up supporting the bottom of the camera and lens and your elbow is in toward your chest/stomach.    Your body weight is centered between your legs and you have a wide stance.  This means you are not leaning so your muscles don't have to work hard to keep you upright and your arms work like a brace to support the camera to your body and of course your body is nicely balanced and stable.  
    Second, It's just a "guideline" -- not a rule.  Some people are noticeably able to be more steady than others (and if caffiene makes you jittery and you just drank a coffee... and all that sort of thing.)  And sometimes it takes a bit of practice to learn good technique.  
    Third, It's also not the same for APS-C size sensor cameras (like your T3i).  For that camera, you'd have to multiple the minimum speed by the crop factor of the camera.  For a Canon APS-C camera it's 1.6 (but if you wanted to use 1.5 that'd be pretty close.)  That means at 50mm instead of using 1/50th you'd actually have to use 1/75th (technically 1/80th if we use the 1.6 factor).  e.g. 50 x 1.6 = 80 so for 50mm we'd use 1/80th.
    If you have a lens that includes image stabilization, then you may be able to shoot a bit slower.
    Most image stabilization claims to improve lens stability by 2 to 4 "stops".  What that means it that you can reduce the speed of the shutter... two to four times slower than you'd normally need because the lens is stabilizing for you.   But more caveats apply because it's not as simple as "you get 4 stops".  The stabilization isn't a guarantee... it's just a liklihood.  If it has to be less ambitious to stabilize your shot it will be far more likely to succeed.  If it has to be more ambitious to stabilize your shot then it'll do it's best... but there's no guarantee that it will work.
    You were shooting at 18mm.  So if you are using excellent posture and camera-holding technique but don't have image stabilization and you're the "average" person trying to hold the camera steady, then we multiply 18 x 1.6 and get 28.8.  There is no 1/28.8th shuter speed so we'll round that to 1/30th (because there is a 1/30th.  
    1 stop slower than 1/30th is 1/15th.. and the image stabilization probably is adequate to get you 1 stop slower successfully.
    2 stops slower is 1/8th.  Image stabilization that claims "4 stops" will usually do well at 2 stops.  So this is less of a sure-fire thing, but it does tilt the odds in your favor.
    3 stops slower is 1/4 sec.  At this point you're pushing the image stabilization system... you'll notice that if you shoot a lot of frames, that the "keeper" rate (good shots you like) will be lower, but you'll see that you are getting some.
    4 stops slower is 1/2 sec (based on the base of 1/30th for an 18mm focal length on an APS-C size sensor camera).  If you push any image stabilized lens to 4 stops, do not expect to get a very high keeper rate.  It'll sometimes help you, but you have to accept that you're really being ambitious in your expectations.
    That's image stabilization by the numbers... take the focal length, multiply it by your crop factor (which is always 1.6 but if you want to use 1.5 because it's a bit easier to do that math in our head it's close enough), round up to the nearest shutter speed available.  If you have image stabilization you can speed up the shutter speed by 1, 2, 3, or 4 times faster... but each time you get more ambitious your odds of getting "keepers" go down (but it's still better than no image stabilization at all.)
    The summary is that your minimum shutter speed (assuming good holding technique and that you are steady, etc. etc.) with image stabilization OFF the 1/30th would be your minimum speed.  At 1/15h sec you were relying on 1 stop of image stabilization help.  The image stabilization technology in the lens is good enought that "most of the time" it probably will be able to do this (not guaranteed... just likely.)  If you were NOT using good posture and holding technique... you may be challenging your image stabilization system to try to keep up.
    Tim Campbell
    5D II, 5D III, 60Da

  • Focus problems

    for some reason my canon is having focus problems even on auto focus..what is going on??

    Yes, a lot of your problem focusing could simply be that you are trying to use the camera in too low light, if shooting indoors. It will vary depending upon the camera and the lens being used on the camera. There are some ways to get focus to work, such as using an accessory flash (or ST-E2 flash controller) that can emit a Focus Assist (as Tim mentioned in his response above).
    But, not knowing your experience with the camera and autofocus cameras in general,  I first have to suggest some general info on autofocus and how it works....
    This video on YouTube is a good place to start: http://www.youtube.com/watch?v=iAx86nblZ2g. This is the first of three half-hour videos about how the Canon AF system works. Good background info to start with. I'd recommend viewing them all, then you may be able to solve the problem yourself.
    Alan Myers
    San Jose, Calif., USA
    "Walk softly and carry a big lens."
    GEAR: 5DII, 7D(x2), 50D(x3), some other cameras, various lenses & accessories
    FLICKR & PRINTROOM 

  • JBuilder .exe focus problem

    I have a swing application of a JFrame with a JMenuBar and JTextfields, JButtons, etc... It works great as a standalone application, or when run as an executable .jar. The problem is when I use JBuilder 7 Native Executable Builder and make a .exe out of the application. It also works fine, but when I click on a JMenuItem that does not bring up a JDialog, just performs a function, it performs the function, but refuses thereafter to give focus to the JTextfields and JTextArea, unless I click on a JButton to bring up a JDialog or JFileChooser, close, then the JTextfields accept focus again (what a workaround!!).
    I have added code for a JTextField to requestFocus, grabFocus after the function was performed, and even had the SwingFocusManager disabled, all of which still did not allow focus after the function was performed.
    Once again, this is only in the .exe version of my application- the other "normal" ways run fine. Has anyone else had this problem? Has anyone thought up a solution, or is this just a JBuilder unfixable for their cool neat new feature??
    Thanks for any ideas,
    Jim

    Well, your that did not work either. I think it is not anything to do with the code necessarily- as it is not always reproducible!!- The only commonality is that it occurs only with JBuilders .exe created from the source code- all else works fine. And then, the .exe only has this focus problem on my Dell Inspiron laptop running win 2k- strange- and not always (the first time works-sometimes- and then not afterwards- even when shut down and restarted!!) maybe I'll knock it up to just a OS/Platform problem....well I'll give you the duke anyway for the try-
    Jim

  • [SOLVED] HIdden windows stealing focus

    Well, I can't be sure is a FOCUS problem, this is the issue:
    I'm using compiz, with emerald as window decorator.
    Sometimes when emerald crashes (still can't find the trigger, is totally random), or just randomly; minimized windows are like invisible in desktop, if placing the mouse in top of where the window was, it still gets mouse focus, this "invisible" window can't be minimized or closed, the only way to remove it is to restore the hidden window and then minimize again.
    Last edited by axelectrik (2015-06-02 23:31:51)

    Until now, I've had no problems changing that setting and the problem hasn't presented again.
    Still, it wasn't something that occured everytime, so in case it happens I'll remove the solved mark.
    Thank you a lot

  • Focus Problem on Solaris with jdk 1.3.1

    Hi all,
    We are having a focus problem on Solaris. The same code works fine on Windows without any problem.
    I am sending the test code and run steps below which you can compile and repeat the problem.
    NOTE: When we put a comment on the line "f1.requestFocus();" in TestFocus.java it works OK.
    Run Steps :
    1. Run TestFocus.class
    2. A JFrame appears with 2 text field and a button
    3. Try to write something on the text fields. It works OK.
    4. Click the button to open a new JFrame
    5. A new JFrame opens with a single text field and a button.
    6. Click the button to close the second frame
    7. You are now on the main JFrame
    8. Try to write something on the text fields. It works OK.
    9. Repeat the steps 4-7
    10. Try to write something on the text fields. You are able to focus and write on the first field. BUT you cannot select or write the second Field!
    JAVA SOURCE FILES :
    PenHesapListener.java :
    public interface PenHesapListener extends java.util.EventListener {
    void tamam_actionPerformed(java.util.EventObject newEvent);
    void iptal_actionPerformed(java.util.EventObject newEvent);
    ------PenHesapLisEventMulticaster.java----------------------------------
    public class PenHesapLisEventMulticaster extends java.awt.AWTEventMulticaster implements PenHesapListener {
    * Constructor to support multicast events.
    * @param a java.util.EventListener
    * @param b java.util.EventListener
    protected PenHesapLisEventMulticaster(java.util.EventListener a, java.util.EventListener b) {
         super(a, b);
    * Add new listener to support multicast events.
    * @return muhasebe.HesappenListener
    * @param a muhasebe.HesappenListener
    * @param b muhasebe.HesappenListener
    public static PenHesapListener add(PenHesapListener a, PenHesapListener b) {
         return (PenHesapListener)addInternal(a, b);
    * Add new listener to support multicast events.
    * @return java.util.EventListener
    * @param a java.util.EventListener
    * @param b java.util.EventListener
    protected static java.util.EventListener addInternal(java.util.EventListener a, java.util.EventListener b) {
         if (a == null) return b;
         if (b == null) return a;
         return new PenHesapLisEventMulticaster(a, b);
    * @return java.util.EventListener
    * @param oldl muhasebe.HesappenListener
    protected java.util.EventListener remove(PenHesapListener oldl) {
         if (oldl == a) return b;
         if (oldl == b) return a;
         java.util.EventListener a2 = removeInternal(a, oldl);
         java.util.EventListener b2 = removeInternal(b, oldl);
         if (a2 == a && b2 == b)
              return this;
         return addInternal(a2, b2);
    * Remove listener to support multicast events.
    * @return muhasebe.HesappenListener
    * @param l muhasebe.HesappenListener
    * @param oldl muhasebe.HesappenListener
    public static PenHesapListener remove(PenHesapListener l, PenHesapListener oldl) {
         if (l == oldl || l == null)
              return null;
         if(l instanceof PenHesapLisEventMulticaster)
              return (PenHesapListener)((PenHesapLisEventMulticaster) l).remove(oldl);
         return l;
    public void tamam_actionPerformed(java.util.EventObject newEvent) {
         ((PenHesapListener)a).tamam_actionPerformed(newEvent);
         ((PenHesapListener)b).tamam_actionPerformed(newEvent);
    public void iptal_actionPerformed(java.util.EventObject newEvent) {
         ((PenHesapListener)a).iptal_actionPerformed(newEvent);
         ((PenHesapListener)b).iptal_actionPerformed(newEvent);
    ---------TestFocus2.java-----------------------------------------
    import javax.swing.*;
    import javax.swing.JOptionPane;
    import java.awt.event.WindowAdapter;
    import java.awt.event.KeyListener;
    import java.awt.event.KeyAdapter;
    import java.awt.event.KeyEvent;
    import java.awt.event.ActionEvent;
    import java.awt.event.WindowEvent;
    import java.awt.event.ActionListener;
    import java.util.ArrayList;
    import java.util.StringTokenizer;
    import java.text.SimpleDateFormat;
    import java.awt.Dimension;
    import java.awt.Toolkit;
    import java.awt.Color;
    import java.util.Locale;
    import java.util.ResourceBundle;
    public class TestFocus2 extends JFrame implements ActionListener
         protected transient PenHesapListener PenhListener = null ;
         JTextField f10 = null;
         JButton b10= null ;
         JTextField f1 = new JTextField() ;
         JButton b1 = new JButton() ;
         JFrame f20 = null;
         public TestFocus2()
              getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.Y_AXIS));
              getContentPane().add(f1);
              getContentPane().add(b1);
              pack();
              setVisible(true);
              b1.addActionListener(this);
         public void actionPerformed(ActionEvent e)
              if(e.getSource() == b1)
                   fireTamam_actionPerformed(e);
         public void addPenHesapListener(PenHesapListener newListener)
              PenhListener = PenHesapLisEventMulticaster.add(PenhListener, newListener);
              return;
         protected void fireTamam_actionPerformed(java.util.EventObject newEvent) {
              PenhListener.tamam_actionPerformed(newEvent);
              this.setVisible(false);
         protected void fireiptal_actionPerformed(java.util.EventObject newEvent) {
              PenhListener.iptal_actionPerformed(newEvent);
         public static void main(String x[])
              TestFocus2 gen01 = new TestFocus2();
    --------TestFocus.java-----------------------------------
    import javax.swing.*;
    import javax.swing.JOptionPane;
    import java.awt.event.WindowAdapter;
    import java.awt.event.KeyListener;
    import java.awt.event.KeyAdapter;
    import java.awt.event.KeyEvent;
    import java.awt.event.ActionEvent;
    import java.awt.event.WindowEvent;
    import java.awt.event.ActionListener;
    import java.util.ArrayList;
    import java.util.StringTokenizer;
    import java.text.SimpleDateFormat;
    import java.awt.Dimension;
    import java.awt.Toolkit;
    import java.awt.Color;
    import java.util.Locale;
    import java.util.ResourceBundle;
    import java.awt.Container;
    public class TestFocus extends JFrame implements ActionListener
         PenKreKart aPenKreKart = null ;      
         Container ctn = null;
         JTextField f10 = null;
         JButton b10= null ;
         JTextField f1 = new JTextField() ;
         JTextField f2 = new JTextField() ;
         JButton b1 = new JButton() ;
         JFrame f20 = null;
         public TestFocus()
              //aPenKreKart = new PenKreKart(true);
              //aPenKreKart.aTemelPencere.setVisible(false);
              getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.Y_AXIS));
              getContentPane().add(f1);
              getContentPane().add(f2);
              getContentPane().add(b1);
              pack();
              setVisible(true);
              b1.addActionListener(this);
         public void actionPerformed(ActionEvent e)
              if(e.getSource() == b1)
                   pencere_islemi();
         // pencere koyma k?sm? .. begin                               
         public void pencere_islemi() {     
              ctn = this;
              ctn.setEnabled(false);
              TestFocus2 fpen = new TestFocus2();
              //aPenKreKart.aTemelPencere.setVisible(true); //buras?          
              //aPenKreKart.aTemelPencere.addPenHesapListener(new PenHesapListener() {
              fpen.addPenHesapListener(new PenHesapListener() {
                        // metod      tamam_actionPerformed begin...          
                        public void tamam_actionPerformed(java.util.EventObject newEvent) {
                             ctn.setEnabled(true);
                             ctn.requestFocus();
                             // Problem is when we comment the below line it works .....
                             f1.requestFocus();
                             System.out.println("tamam");
                        // metod      tamam_actionPerformed end...          
                        // metod      iptal_actionPerformed begin...          
                        public void iptal_actionPerformed(java.util.EventObject newEvent) {
                             ctn.setEnabled(true);
                             ctn.requestFocus();
                             System.out.println("iptal");
                        // metod      iptal_actionPerformed begin...          
         // pencere koyma k?sm? .. end                               
         public static void main(String x[])
              TestFocus gen01 = new TestFocus();

    Hi all,
    We are having a focus problem on Solaris. The same code works fine on Windows without any problem.
    I am sending the test code and run steps below which you can compile and repeat the problem.
    NOTE: When we put a comment on the line "f1.requestFocus();" in TestFocus.java it works OK.
    Run Steps :
    1. Run TestFocus.class
    2. A JFrame appears with 2 text field and a button
    3. Try to write something on the text fields. It works OK.
    4. Click the button to open a new JFrame
    5. A new JFrame opens with a single text field and a button.
    6. Click the button to close the second frame
    7. You are now on the main JFrame
    8. Try to write something on the text fields. It works OK.
    9. Repeat the steps 4-7
    10. Try to write something on the text fields. You are able to focus and write on the first field. BUT you cannot select or write the second Field!
    JAVA SOURCE FILES :
    PenHesapListener.java :
    public interface PenHesapListener extends java.util.EventListener {
    void tamam_actionPerformed(java.util.EventObject newEvent);
    void iptal_actionPerformed(java.util.EventObject newEvent);
    ------PenHesapLisEventMulticaster.java----------------------------------
    public class PenHesapLisEventMulticaster extends java.awt.AWTEventMulticaster implements PenHesapListener {
    * Constructor to support multicast events.
    * @param a java.util.EventListener
    * @param b java.util.EventListener
    protected PenHesapLisEventMulticaster(java.util.EventListener a, java.util.EventListener b) {
         super(a, b);
    * Add new listener to support multicast events.
    * @return muhasebe.HesappenListener
    * @param a muhasebe.HesappenListener
    * @param b muhasebe.HesappenListener
    public static PenHesapListener add(PenHesapListener a, PenHesapListener b) {
         return (PenHesapListener)addInternal(a, b);
    * Add new listener to support multicast events.
    * @return java.util.EventListener
    * @param a java.util.EventListener
    * @param b java.util.EventListener
    protected static java.util.EventListener addInternal(java.util.EventListener a, java.util.EventListener b) {
         if (a == null) return b;
         if (b == null) return a;
         return new PenHesapLisEventMulticaster(a, b);
    * @return java.util.EventListener
    * @param oldl muhasebe.HesappenListener
    protected java.util.EventListener remove(PenHesapListener oldl) {
         if (oldl == a) return b;
         if (oldl == b) return a;
         java.util.EventListener a2 = removeInternal(a, oldl);
         java.util.EventListener b2 = removeInternal(b, oldl);
         if (a2 == a && b2 == b)
              return this;
         return addInternal(a2, b2);
    * Remove listener to support multicast events.
    * @return muhasebe.HesappenListener
    * @param l muhasebe.HesappenListener
    * @param oldl muhasebe.HesappenListener
    public static PenHesapListener remove(PenHesapListener l, PenHesapListener oldl) {
         if (l == oldl || l == null)
              return null;
         if(l instanceof PenHesapLisEventMulticaster)
              return (PenHesapListener)((PenHesapLisEventMulticaster) l).remove(oldl);
         return l;
    public void tamam_actionPerformed(java.util.EventObject newEvent) {
         ((PenHesapListener)a).tamam_actionPerformed(newEvent);
         ((PenHesapListener)b).tamam_actionPerformed(newEvent);
    public void iptal_actionPerformed(java.util.EventObject newEvent) {
         ((PenHesapListener)a).iptal_actionPerformed(newEvent);
         ((PenHesapListener)b).iptal_actionPerformed(newEvent);
    ---------TestFocus2.java-----------------------------------------
    import javax.swing.*;
    import javax.swing.JOptionPane;
    import java.awt.event.WindowAdapter;
    import java.awt.event.KeyListener;
    import java.awt.event.KeyAdapter;
    import java.awt.event.KeyEvent;
    import java.awt.event.ActionEvent;
    import java.awt.event.WindowEvent;
    import java.awt.event.ActionListener;
    import java.util.ArrayList;
    import java.util.StringTokenizer;
    import java.text.SimpleDateFormat;
    import java.awt.Dimension;
    import java.awt.Toolkit;
    import java.awt.Color;
    import java.util.Locale;
    import java.util.ResourceBundle;
    public class TestFocus2 extends JFrame implements ActionListener
         protected transient PenHesapListener PenhListener = null ;
         JTextField f10 = null;
         JButton b10= null ;
         JTextField f1 = new JTextField() ;
         JButton b1 = new JButton() ;
         JFrame f20 = null;
         public TestFocus2()
              getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.Y_AXIS));
              getContentPane().add(f1);
              getContentPane().add(b1);
              pack();
              setVisible(true);
              b1.addActionListener(this);
         public void actionPerformed(ActionEvent e)
              if(e.getSource() == b1)
                   fireTamam_actionPerformed(e);
         public void addPenHesapListener(PenHesapListener newListener)
              PenhListener = PenHesapLisEventMulticaster.add(PenhListener, newListener);
              return;
         protected void fireTamam_actionPerformed(java.util.EventObject newEvent) {
              PenhListener.tamam_actionPerformed(newEvent);
              this.setVisible(false);
         protected void fireiptal_actionPerformed(java.util.EventObject newEvent) {
              PenhListener.iptal_actionPerformed(newEvent);
         public static void main(String x[])
              TestFocus2 gen01 = new TestFocus2();
    --------TestFocus.java-----------------------------------
    import javax.swing.*;
    import javax.swing.JOptionPane;
    import java.awt.event.WindowAdapter;
    import java.awt.event.KeyListener;
    import java.awt.event.KeyAdapter;
    import java.awt.event.KeyEvent;
    import java.awt.event.ActionEvent;
    import java.awt.event.WindowEvent;
    import java.awt.event.ActionListener;
    import java.util.ArrayList;
    import java.util.StringTokenizer;
    import java.text.SimpleDateFormat;
    import java.awt.Dimension;
    import java.awt.Toolkit;
    import java.awt.Color;
    import java.util.Locale;
    import java.util.ResourceBundle;
    import java.awt.Container;
    public class TestFocus extends JFrame implements ActionListener
         PenKreKart aPenKreKart = null ;      
         Container ctn = null;
         JTextField f10 = null;
         JButton b10= null ;
         JTextField f1 = new JTextField() ;
         JTextField f2 = new JTextField() ;
         JButton b1 = new JButton() ;
         JFrame f20 = null;
         public TestFocus()
              //aPenKreKart = new PenKreKart(true);
              //aPenKreKart.aTemelPencere.setVisible(false);
              getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.Y_AXIS));
              getContentPane().add(f1);
              getContentPane().add(f2);
              getContentPane().add(b1);
              pack();
              setVisible(true);
              b1.addActionListener(this);
         public void actionPerformed(ActionEvent e)
              if(e.getSource() == b1)
                   pencere_islemi();
         // pencere koyma k?sm? .. begin                               
         public void pencere_islemi() {     
              ctn = this;
              ctn.setEnabled(false);
              TestFocus2 fpen = new TestFocus2();
              //aPenKreKart.aTemelPencere.setVisible(true); //buras?          
              //aPenKreKart.aTemelPencere.addPenHesapListener(new PenHesapListener() {
              fpen.addPenHesapListener(new PenHesapListener() {
                        // metod      tamam_actionPerformed begin...          
                        public void tamam_actionPerformed(java.util.EventObject newEvent) {
                             ctn.setEnabled(true);
                             ctn.requestFocus();
                             // Problem is when we comment the below line it works .....
                             f1.requestFocus();
                             System.out.println("tamam");
                        // metod      tamam_actionPerformed end...          
                        // metod      iptal_actionPerformed begin...          
                        public void iptal_actionPerformed(java.util.EventObject newEvent) {
                             ctn.setEnabled(true);
                             ctn.requestFocus();
                             System.out.println("iptal");
                        // metod      iptal_actionPerformed begin...          
         // pencere koyma k?sm? .. end                               
         public static void main(String x[])
              TestFocus gen01 = new TestFocus();

  • [SOLVED]Xorg.conf, mouse config problem

    The Rapoo M765 mouse can not work properly under normal mouse configuration.
    The mouse goes beyond controll when config as below:
    hacksign@XSign [14:13:13] : ~
    >> cat /etc/X11/xorg.conf.d/50-mouse-acceleration.conf
    #Section "InputClass"
    # Identifier "Mouse2"
    # MatchProduct "RAPOO RAPOO 2.4G Remote Mouse"
    # MatchIsPointer "yes"
    # MatchDevicePath "/dev/input/event*"
    # Driver "mouse"
    # Option "Protocol" "auto"
    # Option "Emulate3Buttons" "no"
    # Option "Buttons" "7"
    # Option "ButtonMapping" "1 2 3 6 7"
    #EndSection
    When there is no any configuration, the mouse can work abnormally. Movement and right/left click work fine, but I can not use scroll wheel,and the "go forward"&"go backward" mouse key can not work too.
    (I know Option "ZAxisMapping" "4 5" is the configuration of scroll wheel emulation.)
    The real problem is 'mouse beyond controll',the cursor goes crazyly on screen ....
    I guess it is something wrong of ButtonMapping option. But when I tried to get button number from command xev,when scroll wheel scrolles, I get something below(the scroll wheel movement is identified as a key event~):
    //left click
    ButtonPress event, serial 34, synthetic NO, window 0x4a00001,
    root 0x264, subw 0x0, time 3766452, (135,143), root:(2287,595),
    state 0x0, button 1, same_screen YES
    ButtonRelease event, serial 34, synthetic NO, window 0x4a00001,
    root 0x264, subw 0x0, time 3766588, (135,143), root:(2287,595),
    state 0x100, button 1, same_screen YES
    //right click
    ButtonPress event, serial 34, synthetic NO, window 0x4a00001,
    root 0x264, subw 0x0, time 3767716, (135,143), root:(2287,595),
    state 0x0, button 3, same_screen YES
    ButtonRelease event, serial 34, synthetic NO, window 0x4a00001,
    root 0x264, subw 0x0, time 3767852, (135,143), root:(2287,595),
    state 0x400, button 3, same_screen YES
    //mouse scroll, identified as keyboard event(?)
    KeyRelease event, serial 34, synthetic NO, window 0x4a00001,
    root 0x264, subw 0x0, time 3769332, (135,143), root:(2287,595),
    state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    KeyPress event, serial 34, synthetic NO, window 0x4a00001,
    root 0x264, subw 0x0, time 3769332, (135,143), root:(2287,595),
    state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
    here is some Information(I dont know why the mouse is identified as 'type:KEYBOARD'):
    hacksign@XSign [14:55:03] : ~
    >> xinput
    ⎡ Virtual core pointer id=2 [master pointer (3)]
    ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
    ⎜ ↳ RAPOO RAPOO 2.4G Remote Mouse id=13 [slave pointer (2)]
    ⎜ ↳ SynPS/2 Synaptics TouchPad id=15 [slave pointer (2)]
    ⎜ ↳ TPPS/2 IBM TrackPoint id=16 [slave pointer (2)]
    ⎣ Virtual core keyboard id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
    ↳ Power Button id=6 [slave keyboard (3)]
    ↳ Video Bus id=7 [slave keyboard (3)]
    ↳ Sleep Button id=8 [slave keyboard (3)]
    ↳ Heng Yu Technology Poker Pro S id=9 [slave keyboard (3)]
    ↳ Heng Yu Technology Poker Pro S id=10 [slave keyboard (3)]
    ↳ Integrated Camera id=11 [slave keyboard (3)]
    ↳ RAPOO RAPOO 2.4G Remote Mouse id=12 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)]
    ↳ ThinkPad Extra Buttons id=17 [slave keyboard (3)]
    hacksign@XSign [14:55:06] : ~
    >> xinput list-props 13
    Device 'RAPOO RAPOO 2.4G Remote Mouse':
    Device Enabled (142): 1
    Coordinate Transformation Matrix (144): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    Device Accel Profile (270): 0
    Device Accel Constant Deceleration (271): 1.000000
    Device Accel Adaptive Deceleration (272): 1.000000
    Device Accel Velocity Scaling (273): 10.000000
    Device Product ID (260): 9390, 8192
    Device Node (261): "/dev/input/event8"
    Evdev Axis Inversion (274): 0, 0
    Evdev Axes Swap (276): 0
    Axis Labels (277): "Rel X" (152), "Rel Y" (153), "Rel Horiz Wheel" (267), "Rel Dial" (268), "Rel Vert Wheel" (269)
    Button Labels (278): "Button Left" (145), "Button Middle" (146), "Button Right" (147), "Button Wheel Up" (148), "Button Wheel Down" (149), "Button Horiz Wheel Left" (150), "Button Horiz Wheel Right" (151), "Button Side" (265), "Button Extra" (266), "Button Unknown" (263), "Button Unknown" (263), "Button Unknown" (263), "Button Unknown" (263)
    Evdev Scrolling Distance (279): 1, 1, 1
    Evdev Middle Button Emulation (280): 0
    Evdev Middle Button Timeout (281): 50
    Evdev Third Button Emulation (282): 0
    Evdev Third Button Emulation Timeout (283): 1000
    Evdev Third Button Emulation Button (284): 3
    Evdev Third Button Emulation Threshold (285): 20
    Evdev Wheel Emulation (286): 0
    Evdev Wheel Emulation Axes (287): 0, 0, 4, 5
    Evdev Wheel Emulation Inertia (288): 10
    Evdev Wheel Emulation Timeout (289): 200
    Evdev Wheel Emulation Button (290): 4
    Evdev Drag Lock Buttons (291): 0
    hacksign@XSign [14:55:14] : ~
    >> grep -i rapoo /var/log/Xorg.0.log
    [ 29.102] (II) config/udev: Adding input device RAPOO RAPOO 2.4G Remote Mouse (/dev/input/event7)
    [ 29.102] (**) RAPOO RAPOO 2.4G Remote Mouse: Applying InputClass "evdev keyboard catchall"
    [ 29.102] (II) Using input driver 'evdev' for 'RAPOO RAPOO 2.4G Remote Mouse'
    [ 29.102] (**) RAPOO RAPOO 2.4G Remote Mouse: always reports core events
    [ 29.102] (**) evdev: RAPOO RAPOO 2.4G Remote Mouse: Device: "/dev/input/event7"
    [ 29.102] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Vendor 0x24ae Product 0x2000
    [ 29.102] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found keys
    [ 29.102] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: Configuring as keyboard
    [ 29.102] (II) XINPUT: Adding extended input device "RAPOO RAPOO 2.4G Remote Mouse" (type: KEYBOARD, id 12)
    [ 29.103] (II) config/udev: Adding input device RAPOO RAPOO 2.4G Remote Mouse (/dev/input/event8)
    [ 29.103] (**) RAPOO RAPOO 2.4G Remote Mouse: Applying InputClass "evdev pointer catchall"
    [ 29.103] (**) RAPOO RAPOO 2.4G Remote Mouse: Applying InputClass "evdev keyboard catchall"
    [ 29.103] (II) Using input driver 'evdev' for 'RAPOO RAPOO 2.4G Remote Mouse'
    [ 29.103] (**) RAPOO RAPOO 2.4G Remote Mouse: always reports core events
    [ 29.103] (**) evdev: RAPOO RAPOO 2.4G Remote Mouse: Device: "/dev/input/event8"
    [ 29.103] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Vendor 0x24ae Product 0x2000
    [ 29.103] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found 9 mouse buttons
    [ 29.103] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found scroll wheel(s)
    [ 29.103] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found relative axes
    [ 29.103] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found x and y relative axes
    [ 29.103] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found absolute axes
    [ 29.103] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: Forcing absolute x/y axes to exist.
    [ 29.103] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found keys
    [ 29.103] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: Configuring as mouse
    [ 29.103] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: Configuring as keyboard
    [ 29.103] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: Adding scrollwheel support
    [ 29.103] (**) evdev: RAPOO RAPOO 2.4G Remote Mouse: YAxisMapping: buttons 4 and 5
    [ 29.103] (**) evdev: RAPOO RAPOO 2.4G Remote Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 29.103] (II) XINPUT: Adding extended input device "RAPOO RAPOO 2.4G Remote Mouse" (type: KEYBOARD, id 13)
    [ 29.104] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: initialized for relative axes.
    [ 29.104] (WW) evdev: RAPOO RAPOO 2.4G Remote Mouse: ignoring absolute axes.
    [ 29.104] (**) RAPOO RAPOO 2.4G Remote Mouse: (accel) keeping acceleration scheme 1
    [ 29.104] (**) RAPOO RAPOO 2.4G Remote Mouse: (accel) acceleration profile 0
    [ 29.104] (**) RAPOO RAPOO 2.4G Remote Mouse: (accel) acceleration factor: 2.000
    [ 29.104] (**) RAPOO RAPOO 2.4G Remote Mouse: (accel) acceleration threshold: 4
    [ 29.104] (II) config/udev: Adding input device RAPOO RAPOO 2.4G Remote Mouse (/dev/input/mouse0)
    hacksign@XSign [14:59:47] : ~
    >> yaourt -Q|grep -i 'input-'
    local/xf86-input-evdev-trackpoint 2.9.1-1
    extra/xf86-input-keyboard 1.8.0-3 (xorg-drivers xorg)
    extra/xf86-input-mouse 1.9.1-1 (xorg-drivers xorg)
    extra/xf86-input-synaptics 1.8.1-1 (xorg-drivers xorg)
    Last edited by Hacksign (2015-01-14 02:22:51)

    Thanks for reply !
    change Driver 'mouse' to Driver 'evdev',solved cursor goes beyond controll problem.
    but I still can not use scroll button and 'go forward'&'go backward' button.
    (BTW:evdev_drv.so is from local/xf86-input-evdev-trackpoint, and local/xf86-input-evdev-trackpoint package is from AUR)
    I think, maybe something wrong with my button number mapping, but I still can not get scroll button number with 'xev' command....
    below is my configuration:
    hacksign@XSign [17:15:19] : /var/log
    >> cat /etc/X11/xorg.conf.d/50-mouse-acceleration.conf
    Section "InputClass"
    Identifier "Mouse2"
    MatchProduct "RAPOO RAPOO 2.4G Remote Mouse"
    MatchIsPointer "yes"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    Option "Protocol" "auto"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    Option "Buttons" "9"
    Option "ButtonMapping" "1 2 3 6 7 8 9 4 5"
    EndSection
    and here is Xorg.0.log
    [ 11357.287] (**) RAPOO RAPOO 2.4G Remote Mouse: Applying InputClass "evdev keyboard catchall"
    [ 11357.287] (II) Using input driver 'evdev' for 'RAPOO RAPOO 2.4G Remote Mouse'
    [ 11357.287] (**) RAPOO RAPOO 2.4G Remote Mouse: always reports core events
    [ 11357.287] (**) evdev: RAPOO RAPOO 2.4G Remote Mouse: Device: "/dev/input/event7"
    [ 11357.287] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Vendor 0x24ae Product 0x2000
    [ 11357.287] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found keys
    [ 11357.287] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: Configuring as keyboard
    [ 11357.287] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/0003:24AE:2000.0003/input/input8/event7"
    [ 11357.288] (II) XINPUT: Adding extended input device "RAPOO RAPOO 2.4G Remote Mouse" (type: KEYBOARD, id 12)
    [ 11357.288] (**) Option "xkb_rules" "evdev"
    [ 11357.288] (**) Option "xkb_model" "pc104"
    [ 11357.288] (**) Option "xkb_layout" "us"
    [ 11357.288] (II) config/udev: Adding input device RAPOO RAPOO 2.4G Remote Mouse (/dev/input/event8)
    [ 11357.288] (**) RAPOO RAPOO 2.4G Remote Mouse: Applying InputClass "evdev pointer catchall"
    [ 11357.288] (**) RAPOO RAPOO 2.4G Remote Mouse: Applying InputClass "evdev keyboard catchall"
    [ 11357.288] (**) RAPOO RAPOO 2.4G Remote Mouse: Applying InputClass "Mouse2"
    [ 11357.288] (II) Using input driver 'evdev' for 'RAPOO RAPOO 2.4G Remote Mouse'
    [ 11357.288] (**) RAPOO RAPOO 2.4G Remote Mouse: always reports core events
    [ 11357.288] (**) evdev: RAPOO RAPOO 2.4G Remote Mouse: Device: "/dev/input/event8"
    [ 11357.288] (**) evdev: RAPOO RAPOO 2.4G Remote Mouse: ButtonMapping '1 2 3 6 7 8 9 4 5'
    [ 11357.288] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Vendor 0x24ae Product 0x2000
    [ 11357.288] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found 9 mouse buttons
    [ 11357.288] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found scroll wheel(s)
    [ 11357.288] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found relative axes
    [ 11357.288] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found x and y relative axes
    [ 11357.288] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found absolute axes
    [ 11357.288] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: Forcing absolute x/y axes to exist.
    [ 11357.288] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found keys
    [ 11357.288] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: Configuring as mouse
    [ 11357.288] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: Configuring as keyboard
    [ 11357.288] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: Adding scrollwheel support
    [ 11357.288] (**) Option "Emulate3Buttons" "no"
    [ 11357.288] (**) evdev: RAPOO RAPOO 2.4G Remote Mouse: YAxisMapping: buttons 4 and 5
    [ 11357.288] (**) evdev: RAPOO RAPOO 2.4G Remote Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 11357.288] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/0003:24AE:2000.0004/input/input9/event8"
    [ 11357.288] (II) XINPUT: Adding extended input device "RAPOO RAPOO 2.4G Remote Mouse" (type: KEYBOARD, id 13)
    [ 11357.288] (**) Option "xkb_rules" "evdev"
    [ 11357.288] (**) Option "xkb_model" "pc104"
    [ 11357.288] (**) Option "xkb_layout" "us"
    [ 11357.288] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: initialized for relative axes.
    [ 11357.288] (WW) evdev: RAPOO RAPOO 2.4G Remote Mouse: ignoring absolute axes.
    [ 11357.289] (**) RAPOO RAPOO 2.4G Remote Mouse: (accel) keeping acceleration scheme 1
    [ 11357.289] (**) RAPOO RAPOO 2.4G Remote Mouse: (accel) acceleration profile 0
    [ 11357.289] (**) RAPOO RAPOO 2.4G Remote Mouse: (accel) acceleration factor: 2.000
    [ 11357.289] (**) RAPOO RAPOO 2.4G Remote Mouse: (accel) acceleration threshold: 4
    [ 11357.289] (II) config/udev: Adding input device RAPOO RAPOO 2.4G Remote Mouse (/dev/input/mouse0)
    [ 11357.289] (II) No input driver specified, ignoring this device.
    [ 11357.289] (II) This device may have been added with another device file.
    olive wrote:In the config file you mentioned, all is commented; do you mean that you have problems when you have uncommented it? You should not use the mouse driver (old deprecated driver) but evdev. Try to remove xf86-input-mouse and xf86-input-keyboard (same as before, this is deprecated and handled by evdev) and remove also a "joystick" driver if you have it (I have had problem with it conflicting with the evdev driver).
    Last edited by Hacksign (2015-01-13 09:27:06)

  • Calling1.4.1 signed applet from Javascript causes keyboard/focus problems

    Pretty sure there's a JRE bug here, but I'm posting to forums before I open one in case I'm missing something obvious :-)
    This issue may be specific to IE, I haven't tested elsewhere yet. Our web application is centered around a signed applet that is initialized with XML data via Javascript. We first noticed the problem when our users started upgrading from the 1.3.x plug-in to the 1.4.x plug-in. The major symptom was that shortcut keys stopped working. I debugged the problem off and on for about a month before I boiled it down to a very simple program that demonstrates the issue (included below). Basically, the program has a function that adds a JButton to a JPanel and registers a keyboard listener (using the new DefaultKeyboardFocusManager class) that prints a message to the console. This function is called by the applet's init() method, as well as by a public method that can be called from Javascript (called callMeFromJavascript()). I also included a very simple HTML file that provides a button that calls the callMeFromJavascript() method. You can test this out yourself: To recreate, compile the class below, JAR it up, sign the JAR, and put in the same dir with the HTML file. Load the HTML file in IE 5.0 or greater, and bring the console up in a window right next to it. Now click the button that says init--you should see the small box appear inside the button that indicates it has the focus. Now press some keys on your keyboard. You should see "KEY PRESSED!!!" appearing in the console. This is proper behavior. Now click the Init Applet from Javascript button. It has removed the button called init, and added one called "javascript". Press this button. Notice there is no focus occurring. Now press your keyboard. No keyboard events are registered.
    Where is gets interesting is that if you go back and make this an unsigned applet, and try it again, everything works fine. This bug only occurs if the applet is signed.
    Furthermore, if you try it in 1.3, signed or unsigned, it also works. So this is almost certainly a 1.4 bug.
    Anyone disagree? Better yet, anyone have a workaround? I've tried everything I could think of, including launching a thread from the init() method that sets up the components, and then just waits for the data to be set by Javascript. But it seems that ANY communication between the method called by Javascript and the code originating in init() corrupts something and we don't get keyboard events. This bug is killing my users who are very reliant on their shortcut keys for productivity, and we have a somewhat unique user interface that relies on Javascript for initialization. Any help or suggestions are appreciated.
    ================================================================
    Java Applet (Put it in a signed JAR called mainapplet.jar)
    ================================================================
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class MainApplet extends JApplet implements KeyEventDispatcher
        JPanel test;
        public void init()
            System.out.println("init called");
            setUp("init");
        public void callMeFromJavascript()
            System.out.println("callMeFromJavascript called");
            setUp("javascript");
        private void setUp(String label)
            getContentPane().removeAll();
            test = new JPanel();
            getContentPane().add( test );
            JButton button = new JButton(label);
            test.add( button );
            test.updateUI();
            DefaultKeyboardFocusManager.getCurrentKeyboardFocusManager().addKeyEventDispatcher(this);
        public boolean dispatchKeyEvent(KeyEvent e)
            System.out.println("== KEY PRESSED!!! ==");
            return false;
    }================================================================
    HTML
    ================================================================
    <form>
    <APPLET code="MainApplet" archive="mainapplet.jar" align="baseline" id="blah"
         width="200" height="400">
         No Java 2 SDK, Standard Edition v 1.4.1 support for APPLET!!
    </APPLET>
    <p>
    <input type="button" onClick="document.blah.callMeFromJavascript();" value="Init Applet via Javascript">
    </form>

    I tried adding the requestFocus() line you suggested... Same behavior.
    A good thought, but as I mention in my description, the applet has no trouble gaining the focus initially (when init() is called). From what I have seen, it is only when the call stack has been touched by Javascript that I see problems. This is strange though: Your post gave me the idea of popping the whole panel into a JFrame... I tried it, and the keyboard/focus problem went away! It seems to happen only when the component hierarchy is descended from the JApplet's content pane. So that adds yet another variable: JRE 1.4 + Signed + Javascript + components descended from JApplet content pane.
    And yes, signed or unsigned DOES seem to make a difference. Don't ask me to explain why, but I have run this little applet through quite a few single variable tests (change one variable and see what happens). The same JAR that can't receive keyboard events when signed, works just fine unsigned. Trust me, I'm just as baffled as you are.

  • Focus problem since jre 1.4.2_11

    Hi,
    I have a awkward focus problem with my java applet. Everything is working fine for jre 1.4.2_10 and all older jre.
    The applet is embedded in a large DHTML application running in a shell which uses the internet explorer for rendering. The applet communicates with the sorrounding java script via LiveConnect (JSObjects). We do use the static versioning, in order to determine the adaequate vm version. The controls are all based upon the swing controls, some are a bit modified.
    Since the introduction of jre 1.5 update 6 the static versioning does no longer work properly. So, when I run my applet with 1.4.2_11 and all the predecessors a strange focus problem occurs.
    When I click outside the applet (focus lost) and the click on a jscript control to get back the focus to the applet, the keyboard input does not reach the applet. The comboboxes do not work anymore. A mouse click is recognized, but the data-list which should appear is only flickering for a moment.
    The only way to get the focus back, is to make a mouseclick on a selfmade datepicker (based on swing, implemeted like a popup-window). For sure, the large DHTML application is guilty, but definitely diffrent VM versions do behave differntly.
    Does anyone has an idea, has seen similar effects or knows what has been changed in the jre between 1.4.2_10 and 1.4.2_11 ??
    Any hint is appeciated! I am lost :-(((
    cheers thorsten

    Two things: Is there a document detailing manual removal of this JRE (and indeed others); you mention different 'builds' of the same JRE, this is the first time I have read that there are sub-versions/releases of a JRE. Where do I find out the available builds of this JRE and others and how they differ?

  • Significant Computer Window Focus Problem With Verizon Access Manager 7.7.1.0 (2707e)

    With the newly released Verizon Access Manager 7.7.1.0 (2707e) there is a significant computer focus problem with it.
    What I mean by this is that if I am using ANY application on my computer with the Verizon Access Manager minimized to the Windows System Tray, something will go on with the Verizon Access Manager and it steals the window focus - I am unable to work in the other application unless I click on the application to use it again.  
    An example of this would be my typing to post a message in this forum.  Something occurs in the Verizon Access Manager and my typing is rendered useless unless I click with my mouse on the browser window to be able to use it again.
    I'm highly suspecting whenever networks are coming and going in the Access Manager is when the problem occurs.
     This problem did not exist in the previous version of the Access Manager I was using.
    This is extremely annoying - please issue a fix for this ASAP!

    I have found by not minimzing the Verizon Access Manager 7.7.1.0 (2707e) the focus problem does not occur - it appears to be a problem when the app is minimzed to the system tray.

  • How to solve Oracle SQL Developer connection problem ?

    Folks,
    Hello. I am using Oracle Database 11gR1. The Database Control Console https://localhost.localdomain:1158/em works correctly. I can create a Database and a table successfully.
    My OS is Linux and connects to internet successfully.
    In order to run SQL statements. we need to use Oracle SQL Developer. I connect Oracle SQL Developer in the following way:
    Connection Name: DB1 (this is my database name as well)
    Username: SYS (this is the user name I used to login to the Console)
    Password: SYS (this the password used to login to the Console)
    Connection Type: Basic
    Host Name: localhost
    Port: 1158
    SID: DB1 (this is created during installing the Database)
    But the error message comes up: "Status: Failure - IO exception Connection Reset."
    Can any folk tell me how to solve Oracle SQL Developer connection problem ?

    user8860348 wrote:
    Folks,
    Hello. I am using Oracle Database 11gR1. The Database Control Console https://localhost.localdomain:1158/em works correctly. I can create a Database and a table successfully.
    My OS is Linux and connects to internet successfully.
    In order to run SQL statements. we need to use Oracle SQL Developer. I connect Oracle SQL Developer in the following way:
    Connection Name: DB1 (this is my database name as well)
    Username: SYS (this is the user name I used to login to the Console)
    Password: SYS (this the password used to login to the Console)
    Connection Type: Basic
    Host Name: localhost
    Port: 1158
    SID: DB1 (this is created during installing the Database)
    But the error message comes up: "Status: Failure - IO exception Connection Reset."
    Can any folk tell me how to solve Oracle SQL Developer connection problem ?username: sys
    password: enter_your_correct_password given at the time of oracle installation
    role: select sysdba if you would connect as sysdba else select normal for users other than sys
    hostname: enter your oracle server hostname or ip address eg:- 192.168.11.12
    to find the hostname open terminal/command prompt in oracle installed machine
    type ---> hostname
    type ---->ping hostname
    you can find the ipaddress of the server
    port number: 1521 (default) ----> i guess , else check the port number in the tnsnames.ora file under your ORACLE_HOME/network/admin folder
    SID: DB1
    try it
    Good Luck

  • Reader X - Firefox focus problem

    Since I first started using Adobe Reader X, I have had an intermittent keyboard focus problem with Firefox (mostly recently 3.6.14, on Windows 7). If I open a PDF document in a browser tab, sometimes keyboard focus is not returned to Firefox iteself. For instance, I may try to type something into the Firefox search box or URL box, but cannot get keyboard focus there: I cannot get a blinking cursor, though I can select the text there.
    I have not been able to duplicate this problem consistently.
    The workaround is to go to another application entirely, click to move focus there, and then return to Firefox.

    I don't know that "focus" is the right term to use, but I have the same exact problem. Do you have a scroll mouse? I've also noticed that when I scroll within an instance of Adobe Reader that's opened in Firefox using the scroll button on my mouse that the scroll bar does not register the change until I move my cursor over it, then the bar will jump to where it's supposed to be. This is really annoying because I can't quickly judge how far along I am in a .pdf.

  • Weird focus problems (& 1 workaround)

    I am building a wizard with an extension of JDialog. Based on earlier input, I create the JDialog with a bunch of JPanels each with a combobox and a textfield. I have a next, cancel, and back button at the bottom on its own panel. I also have a "Finish" button when I reach the last panel. So I have to change the buttonPanel by putting the finish button on at the end and I put the next button back on when coming back from the last panel.
    The problems I have been running into involve getting focus to one of the JTextfields mentioned above. I had a problem when I built my JDialog after clicking the next button. I removed everything from my ContentPane (cp) using cp.removeAll(). After building my JDialog, my code trys to give focus to the first text field. It wouldn't. I tested the text field and it is indeed focusable, visible, and displayable.
    The fix was removing each individual component from the content pane instead of doing the removeAll(). Then, after adding everything to the content pane, my textfield could grab the focus.
    The only problem that remains is with the back button. When I move back from the final panel the following code is executed:
    buttonPanel.removeAll();
    //buttonPanel.remove(backButton);
    //buttonPanel.remove(finalButton);
    //buttonPanel.remove(cancelButton);
    buttonPanel.add(backButton);
    buttonPanel.add(nextButton);
    buttonPanel.add(cancelButton);
    Then, as in other cases, the buttonPanel object is added to the content pane. This causes the textfield to be unable to grab focus. I commented out the code and the focus worked fine (but of course my buttonPanel was not correct).
    This is happening with 1.4.1 on windows 2000. I don't have another computer to test this one.
    Am I doing something inherently wrong or is this a bug?
    I've looked around and there are a lot of problems reported with focus and swing, but I wasn't sure if this was a symptom of those problems or if this is something different.
    I appreciate any help you can give.
    thanks,
    Geoff

    I won't throw everything at you but this should be plenty. If anyone needs any explanations I am not going anywhere. I'm trying to figure out if the problem is a bug or not.
    The workaround is mentioned in a comment for the action listener of nextButton. The problem piece of code that is mentioned at the top of this thread is also commented and it is part of the action listener for backButton.
    There are some declarations I have left out and I've left out some helper functions and some private classes, but I looked at it closely. There shouldn't be anything that is a mystery here. But, again, if anything is unclear just give a shout.
    thanks in advance,
    Geoff
    public InfoDialog(JFrame owner, int[] results)
         super(owner, "Wizard", true);
         cp = getContentPane();
         this.owner = owner;
         answers = results;
         lastPanel = answers.length-1;
         //figure out number of panels and last one greater than 0
         for(int i =0; i<answers.length; i++)
              numPanels++;
              if(answers>0)
                   lastPanel = i;
         if(numPanels==0)
              return;
         nameVectors = new Vector[answers.length];
         typeVectors = new Vector[answers.length];
         while(answers[currentPanel]<=0 && currentPanel<answers.length)
              currentPanel++;
         firstPanel = currentPanel;
         inputLabel = new JLabel();
         inputLabel.setAlignmentX(Component.CENTER_ALIGNMENT);
         inputLabel.setText(getInputLabelText(currentPanel));
         panelArray = new JPanel[answers[currentPanel]];
         nameVectors[currentPanel] = new Vector();
         typeVectors[currentPanel] = new Vector();
         comboArray = new ClassComboBox[answers[currentPanel]];
         textArray = new StringTextField[answers[currentPanel]];
         for(int i=0; i<panelArray.length; i++)
              panelArray[i] = new JPanel();
              panelArray[i].setLayout(new BoxLayout(panelArray[i], BoxLayout.X_AXIS));
              comboArray[i] = new ClassComboBox();
              panelArray[i].add(comboArray[i]);
              textArray[i] = new StringTextField(new String(""));
              panelArray[i].add(textArray[i]);
         cp.setLayout(new BoxLayout(cp, BoxLayout.Y_AXIS));
         //cp.add(infoPanel);
         cp.add(inputLabel);
         for(int i=0; i<panelArray.length; i++)
              cp.add(panelArray[i]);
         //infoPanel = new JPanel();
         //infoPanel.setLayout(new BoxLayout(infoPanel, BoxLayout.X_AXIS));
         //infoPanel.add(new ClassComboBox());
         //infoPanel.add(new StringTextField(new String("")));
         //cp.add(infoPanel);
         backButton = new JButton("Back");
         backButton.setEnabled(false);
         backButton.addActionListener(new ActionListener(){
              public void actionPerformed(ActionEvent ae){
                   //save values of previous panel into vector
                   typeVectors[currentPanel] = null;
                   nameVectors[currentPanel] = null;
                   typeVectors[currentPanel] = new Vector();
                   nameVectors[currentPanel] = new Vector();
                   for(int i=0; i<panelArray.length; i++)
                        typeVectors[currentPanel].add((String)comboArray[i].getSelectedItem());
                        nameVectors[currentPanel].add(textArray[i].getText());
                   //remove everything from JDialog
                   //cp.removeAll();
                   cp.remove(inputLabel);
                   for(int i=0; i<panelArray.length; i++)
                        cp.remove(panelArray[i]);
                   cp.remove(buttonPanel);
                   //store last panel, figure out what the new currentPanel val is
                   int previousPanel = currentPanel;
                   currentPanel--;
                   while(answers[currentPanel]<=0 && currentPanel >= firstPanel)
                        currentPanel--;
                   //go through panelArray getting rid of its subcomponents
                   for(int i=0; i<panelArray.length; i++)
                        panelArray[i].removeAll();
                   panelArray = null;
                   comboArray = null;
                   textArray = null;
                   //arrays will be initialized to the appropriate length for the currentPanel
                   panelArray = new JPanel[answers[currentPanel]];                    
                   comboArray = new ClassComboBox[answers[currentPanel]];
                   textArray = new StringTextField[answers[currentPanel]];
                   //inputLabel.setText(pinTypes[currentPanel]);
                   inputLabel.setText(getInputLabelText(currentPanel));
                   cp.add(inputLabel);
                   for(int i=0; i<panelArray.length; i++)
                        panelArray[i] = new JPanel();
                        panelArray[i].setLayout(new BoxLayout(panelArray[i], BoxLayout.X_AXIS));
                        comboArray[i] = new ClassComboBox();
                        comboArray[i].setSelectedItem(typeVectors[currentPanel].get(i));
                        panelArray[i].add(comboArray[i]);
                        //textArray[i] = new StringTextField(new String(""));
                        textArray[i] = new StringTextField((String)nameVectors[currentPanel].get(i));
                        panelArray[i].add(textArray[i]);
                        cp.add(panelArray[i]);
                   //focus problem is caused by this block of code
                   //moving back from last panel
                   if((currentPanel == lastPanel-1) && previousPanel==lastPanel)
                        buttonPanel.removeAll();
                        //the following code did not fix the problem
                        //buttonPanel.remove(backButton);
                        //buttonPanel.remove(finalButton);
                        //buttonPanel.remove(cancelButton);
                        buttonPanel.add(backButton);
                        buttonPanel.add(nextButton);
                        buttonPanel.add(cancelButton);
                   if(currentPanel==firstPanel)
                        backButton.setEnabled(false);
                   cp.add(buttonPanel);
                   //System.out.println();
                   //System.out.println("textArray[0].isVisibile: " + textArray[0].isVisible());
                   //System.out.println("textArray[0].isDisplayable: " + textArray[0].isDisplayable());
                   //System.out.println("textArray[0].isFocusable: " + textArray[0].isFocusable());
                   //textArray[0].grabFocus();
                   pack();
                   //repaint();
                   System.out.println();
                   System.out.println("textArray[0].isVisibile: " + textArray[0].isVisible());
                   System.out.println("textArray[0].isDisplayable: " + textArray[0].isDisplayable());
                   System.out.println("textArray[0].isFocusable: " + textArray[0].isFocusable());
                   textArray[0].grabFocus();
         nextButton = new JButton("Next");
         nextButton.addActionListener(new ActionListener(){
              public void actionPerformed(ActionEvent ae){
                   //logic to grab information from JComboBox and JTextField
                   typeVectors[currentPanel] = null;
                   nameVectors[currentPanel] = null;
                   typeVectors[currentPanel] = new Vector();
                   nameVectors[currentPanel] = new Vector();
                   for(int i=0; i<panelArray.length; i++)
                        typeVectors[currentPanel].add((String)comboArray[i].getSelectedItem());
                        nameVectors[currentPanel].add(textArray[i].getText());
                   //here is the code that didn't work and the subsequent code
                   //that fixed the problem
                   //cp.removeAll();
                   cp.remove(inputLabel);
                   for(int i=0; i<panelArray.length; i++)
                        cp.remove(panelArray[i]);
                   cp.remove(buttonPanel);
                   currentPanel++;
                   //System.out.println("currentPanel prior to processing: " + currentPanel);
                   if(currentPanel<(answers.length-1))
                        while(answers[currentPanel]<=0 && currentPanel<lastPanel)
                             currentPanel++;
                   for(int i=0; i<panelArray.length; i++)
                        panelArray[i].removeAll();
                        //comboArray[i].removeAll();
                        //textArray[i].removeAll();
                   panelArray = null;
                   comboArray = null;
                   textArray = null;
                   panelArray = new JPanel[answers[currentPanel]];
                   inputLabel.setText(getInputLabelText(currentPanel));
                   cp.add(inputLabel);
                   //test to see if this is the first time reaching this point
                   //if you haven't reached this point before, vector will be null
                   boolean firstTime = false;
                   if(nameVectors[currentPanel]==null)
                        firstTime = true;
                   if(firstTime)
                        nameVectors[currentPanel] = new Vector();
                        typeVectors[currentPanel] = new Vector();
                   comboArray = new ClassComboBox[answers[currentPanel]];
                   textArray = new StringTextField[answers[currentPanel]];
                   //establish the proper # of combo boxes & text fields
                   int len = panelArray.length;
                   for(int i=0; i<len; i++)
                        panelArray[i] = new JPanel();
                        panelArray[i].setLayout(new BoxLayout(panelArray[i], BoxLayout.X_AXIS));
                        comboArray[i] = new ClassComboBox();
                        if(!firstTime)
                             comboArray[i].setSelectedItem(typeVectors[currentPanel].get(i));
                        panelArray[i].add(comboArray[i]);
                        textArray[i] = new StringTextField();
                        if(!firstTime)
                             textArray[i].setText((String)nameVectors[currentPanel].get(i));
                        panelArray[i].add(textArray[i]);
                        cp.add(panelArray[i]);
                   if(currentPanel==lastPanel)
                        buttonPanel.removeAll();
                        buttonPanel.add(backButton);
                        buttonPanel.add(finalButton);
                        buttonPanel.add(cancelButton);
                   backButton.setEnabled(true);
                   cp.add(buttonPanel);
                   //textArray[0].requestFocus();
                   //System.out.println();
                   //System.out.println("textArray[0].isVisibile: " + textArray[0].isVisible());
                   //System.out.println("textArray[0].isDisplayable: " + textArray[0].isDisplayable());
                   //System.out.println("textArray[0].isFocusable: " + textArray[0].isFocusable());
                   //textArray[0].grabFocus();
                   pack();
                   //System.out.println();
                   //System.out.println("textArray[0].isVisibile: " + textArray[0].isVisible());
                   //System.out.println("textArray[0].isDisplayable: " + textArray[0].isDisplayable());
                   //System.out.println("textArray[0].isFocusable: " + textArray[0].isFocusable());
                   textArray[0].grabFocus();
         setLocationRelativeTo(owner);
         setVisible(true);          

  • Camera (focus) problem - help?

    Duplicate post, please see: Camera (focus) problem - help?
    Message was edited by: Admin Moderator

    Warranty is valid only in country of original purchase. You have to return
    the iPhone to the US for evaluation. Either you return it personally or send
    it to a friend/relative/co-worker in the US to take into Apple. Apple will not
    accept international shipments for evaluation nor will Apple ship out of the
    country after repair/replacement.
    Have you tried the standard trouble shooting steps: restart, restore, restore
    as new iPhone?

Maybe you are looking for

  • UDI-00018: Data Pump client is incompatible with database version 11.2.0.1

    Hi I am trying to import data in Oracle 11g Release2(11.2.0.1) using impdp utitlity and getting below errror UDI-00018: Data Pump client is incompatible with database version 11.2.0.1.0 Export dump has taken in database with oracle 11g Release 1(11.1

  • How to format an external hard drive for vista and snow leopard?

    I want to format an external hard drive to attach to Airport Extreme base station to us with Snow Leopard and a PC with Vista. What format should I use for read/write access for both?

  • Invoice without reference to po

    Hi friends, I want to post Vendor invoice without PO including Tax.Is it possible to post Vendor invoice without PO? All helpful answers will be rewarded. Regards, Chetan

  • Payment Card Status (PaCa) status Not Approved for authorized card in VKM3

    Hi, We are noticing that SAP is displaying payment card status as 'B' (Not Approved) in VKM3 even though the order has been successfully authorized with the credit card. Does anyone has any idea why and when SAP does that? Any help would be highly ap

  • Help with war game

    I am learning java and was looking at this program I don't understand what is wrong with it, I am getting an error that says something about the compareTo cannot be found and variable cannot be found. class Card implements Comparable Card(int r, int