Safari Beta 4 child window focus problem

It seems that Safari/Windows Beta 4 does not properly focus a child window. In my case, I'm using Javascript to directly intercept keystrokes. If a new page is opened in the same window, the keyboard works just fine. If it's opened in a child window, the keyboard is ignored until the window is manually focused (mouse click). This behaviour is unique to Safari on Windows. On the Mac, it's fine. On all other browsers and operating systems, it's fine.
You can see an example at http://sentientdata.com/focustest/kbug_demo.html .

Sounds like it might be a question of the Developer forum? Or a some other forum on web design? This is a user-to-user tech support forum.
Best of luck.

Similar Messages

  • 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.

  • ACR to Photoshop CS5 window focus problem.

    Running Photoshop CS5 on Win7, both 64 bit. No problems for months, then recently this minor "annoyance" appeared.
    I "host" ACR via Bridge, with the windows for all three apps maximized. I double-click a raw file in Bridge and ACR opens. I make my ACR adjustments, or not, and click "Open Image" to pass to Photoshop.
    The images passes into Photoshop OK, but the Photoshop window does not receive "focus". Instead, the ACR window closes, leaving the underlying Bridge window displayed. But then no window has focus.
    When I click once on the Photoshop tab, I get a screen flicker, like a window is being minimized, but the Bridge window remains displayed. I click again on the Photoshop tab and it comes up, full screen with focus.
    If I take the ACR window out of "maximized" mode, the problem does not occur. Raw images pass from Bridge through ACR to Photoshop with proper window focus. Opening tif, psd, or jpeg images via Bridge is no problem. Only when raw images pass through a maximized ACR window does Photoshop fail to receive focus.
    A few days ago I used the Windows 7 "snap" feature to place the Photoshop window and ACR window side-by-side. This is done by dragging a window off-screen until it turns blue and then releasing. I believe this action caused the problem I'm having now. I've unsnapped, resnapped, and unsnapped the Photoshop and ACR windows several times, hoping to clear the problem, but it remains.
    Keeping the ACR window out of maximized mode is an easy work around, but the mystery remains and I hate mysteries.

    I know how you feel, I've had a few problems like this with CS5. I can only think of two suggestions:
    1. Disable Windows 7's fancy desktop (Aero peek, or whatever it's called) to see if that helps.
    2. Make sure you're sorting by filename in Bridge. I have noticed that sorting by metadata causes Bridge to sometimes steal focus when it's not wanted. I love Bridge, but christ it needs a good sorting out.

  • X11 Window Focus Problem Driving Me Crazy

    Hello,
    For no reason that I can figure, I'm having difficulty in OS X with the window focus. In the gimp, or inkscape or any other X11 program, when I click on a button, after about a second, the focus of the window is temporally lost. I've uploaded a video to show the problem more exactly:
    http://www.screencast.com/users/grey1618/folders/Jing/media/d826455a-9657-4409-b 085-a8a1b3c5ca19
    If you watch the close, minimize and plus button on the top of each window after I click each tool you'll see what I mean.
    Any help would be really, really appreciated.
    Thank you,
    -Grey

    Best you post to the Unix forum under OS X Technologies where the Unix, Terminal, and X11 mavens congregate.

  • IPhone - Safari parent window focus problem

    Hi All,
    I am having a peculiar problem with a website i am developing. The problem *only* happens on the iPhone(safari).
    My setup is as follows.
    1) I have a CLIENT page - shows an initial page, and has a login button.
    2) User clicks on the LOGIN button, and is shown a LOGIN popup/new-window  (this is created by posting a form using jquery 'submit' function with target='_blank')
    ====
    CLIENT.html
    var formData = '<form style="display: none; margin: 0; padding: 0; border-width: 0; overflow: hidden;" id="MyFormId" action="https://MYSERVER.COM/v2/widgets" method="POST" target="_blank"><input type="hidden" name="action" value="connect"/><input type="hidden" name="referringURL" value="http://MYCLIENT.com/ClientPage.html"/><input type="hidden" name="cartOwnerId" value="A2R6QUFKT17A1O"/></form>';
    CBA.jQuery("#"+this.getLocation()).append(formData);
    jQuery("#"+formIdName).submit();                                                                                                                                
    ====
    3) User enters credentials on LOGIN window, and submits. A call is made to the SERVER to authenticate. On SUCCESSFUL authentication, we want to
       * CLOSE the LOGIN window
       * REDIRECT Client page to new URL
    4) Everything works as planned, EXCEPT that the Client window (that created the LOGIN popup/new window), does not return to full-screen (after the LOGIN window closed).
    If i try to put a window.opener.focus() in the LOGIN page javascript, i get focus on the CLIENT page, but the LOGIN page does not close(even if i put window.close before the window.opener.focus())
    ====
    LOGIN html
    jQuery(document).ready(function() {
            var messageToOpener = true;
            var fullMessage = PURCHASE_CONTRACT_ID_PREFIX + "${viewer.purchaseContractId}";
            CBA.Checkout.sendMsg( messageToOpener, fullMessage, '<c:out value="${viewer.merchantUrl}"/>');
            window.close();
            window.opener.focus()
    ====
    Is there any tips on how i can close the LOGIN window, and redirect the client page to a new URL, and make the Client window full screen?
    Any tips would be appreciated.
    Thanks

    I have made  a static script that I try and use to do something similar - it works everywhere else just not on the iphone..
    <script>
    (function(){
    do something to make 'tok'..the following post message sends the original script 'tok' it just isnt working only on iphone
    window.opener.postMessage(tok,"http://gamerdj.net.gridhosted.co.uk/");
    alert('wois '+window.opener);
    self.close();
    </script>
    I use the above after authenticating with google and getting a token back in this case tok and this needs passing back to the original app. I would prefer not to launch a new window and have this mess but becasue the google API wont accept a proper route url for angular I cant get that to work. This way was the closest that I got.

  • Child window closing problem

    hello guys
    i have a main GUI frame and one button on that fires another frame with few graphs. i have an exit button the child one that needs to close that window and return to main one but that button is not working.
    i have tried almost everything so far viz. dispose(), DISPOSE_ON_CLOSE, ChildFrame.this.dispose(), setVisible(false),,,,,, but nothing is working.
    please please help .....
    thanks a lot

    ok.. its a bit longer to read but i m doin it
    ################ child class ###################
              /* Split pane to view simulation results*/
    import java.io.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.AbstractButton;
    import javax.swing.ImageIcon;
    public class GraphPane extends JFrame implements ActionListener {
         private JPanel base,graphic;
         private JButton first,second,third,fourth,fifth,viewer,quit;
         private JTextField firstT,secondT,thirdT,fourthT,fifthT;
         private JSplitPane hPane;
         private TitledBorder title;
         private JFileChooser fc;
         //mode constants
         private final String FIMB="fimB graphs";
         private final String FIME="fimE graphs";
         private final String FIMBOTH="Co-ordinated graphs";
         //mode flag
         private String modus=FIMBOTH;
         // arrays to hold data of the simulation(s)
         private int[] reader1=new int[75];
         private int[] reader2=new int[75];
         private int[] reader3=new int[75];
         private int[] reader4=new int[75];
         private int[] reader5=new int[75];
         // arrays to supply data
         private int[] supply1=new int[25];
         private int[] supply2=new int[25];
         private int[] supply3=new int[25];
         private int[] supply4=new int[25];
         private int[] supply5=new int[25];
         // comboBox to choose viewing option
         private JComboBox selector;
         //change determiner
         private boolean isChange;
         //setting up gridbag layout
         GridBagLayout gridbag;
        GridBagConstraints c;
          public Component createViewcom() {
               //put a relevant image on buttons
               ImageIcon opnerIcon = createImageIcon("images/opener.gif");
               //create a file chooser
              fc=new JFileChooser() ;
              fc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
              fc.setFileFilter(new NewFileFilter());
              // create the mode chooser
              selector=new JComboBox();
              selector.addItem(FIMBOTH);
              selector.addItem(FIMB);
              selector.addItem(FIME);
              selector.setFocusable(false);
              //adding item listener
              ModeListener modeListener=new ModeListener();
              selector.addItemListener(modeListener);
              selector.revalidate();
               //selection buttons
               first=new JButton("Simulation_1",opnerIcon);
               first.setHorizontalTextPosition(AbstractButton.LEFT);
               first.setForeground(Color.red);
               first.setFocusable(false);
              first.addActionListener(new ButtonAction1());
               second=new JButton("Simulation_2",opnerIcon);
               second.setHorizontalTextPosition(AbstractButton.LEFT);
               second.setForeground(Color.blue);
               second.setFocusable(false);
               second.addActionListener(new ButtonAction2());
               third=new JButton("Simulation_3",opnerIcon);
               third.setHorizontalTextPosition(AbstractButton.LEFT);
               third.setForeground(Color.green);
               third.setFocusable(false);
               third.addActionListener(new ButtonAction3());
               fourth=new JButton("Simulation_4",opnerIcon);
               fourth.setHorizontalTextPosition(AbstractButton.LEFT);
               fourth.setForeground(Color.orange);
               fourth.setFocusable(false);
               fourth.addActionListener(new ButtonAction4());
               fifth=new JButton("Simulation_5",opnerIcon);
               fifth.setHorizontalTextPosition(AbstractButton.LEFT);
               fifth.setForeground(Color.cyan);
               fifth.setFocusable(false);
               fifth.addActionListener(new ButtonAction5());
               // textfields
               firstT=new JTextField(14);
               firstT.setEditable(false);
               secondT=new JTextField(14);
               secondT.setEditable(false);
               thirdT=new JTextField(14);
               thirdT.setEditable(false);
               fourthT=new JTextField(14);
               fourthT.setEditable(false);
               fifthT=new JTextField(14);
               fifthT.setEditable(false);
               // viewer button
               viewer=new JButton("View Result");
               viewer.setFocusable(false);
               viewer.addActionListener(this);
               //quit button
               quit=new JButton("        Exit        ");
               quit.setFocusable(false);
               quit.addActionListener(new QuitButtonListener(this));
               //add them to panel
               base=new JPanel();
               // layout manager
            gridbag = new GridBagLayout();
              c = new GridBagConstraints();
            base.setLayout(gridbag);
            base.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
            // set constarins for the panel
            //add combo box
            c.gridx = 0;
            c.gridy = 0;
            c.gridheight = 1;
            c.gridwidth = 2;
            c.insets = new Insets(10,0,50,45);
            c.anchor = GridBagConstraints.CENTER;
            gridbag.setConstraints(selector, c);
            base.add(selector);          
            // first set
            c.gridx = 0;
            c.gridy = 1;
            c.gridheight = 1;
            c.gridwidth = 1;
            c.insets = new Insets(10,0,10,10);
            gridbag.setConstraints(first, c);
            base.add(first);
            c.gridx = 1;
            c.gridy = 1;
            c.gridheight = 1;
            c.gridwidth = 1;
            c.insets = new Insets(10,0,10,10);
            gridbag.setConstraints(firstT, c);
            base.add(firstT);
            //second set
            c.gridx = 0;
            c.gridy = 2;
            c.gridheight = 1;
            c.gridwidth = 1;
            c.insets = new Insets(10,0,10,10);
            gridbag.setConstraints(second, c);
            base.add(second);
            c.gridx = 1;
            c.gridy = 2;
            c.gridheight = 1;
            c.gridwidth = 1;
            c.insets = new Insets(10,0,10,10);
            gridbag.setConstraints(secondT, c);
            base.add(secondT);
            // third set
            c.gridx = 0;
            c.gridy = 3;
            c.gridheight = 1;
            c.gridwidth = 1;
            gridbag.setConstraints(third, c);
            c.insets = new Insets(10,0,10,10);
            base.add(third);
            c.gridx = 1;
            c.gridy = 3;
            c.gridheight = 1;
            c.gridwidth = 1;
            c.insets = new Insets(10,0,10,10);
            gridbag.setConstraints(thirdT, c);
            base.add(thirdT);
               //fourth set
               c.gridx = 0;
            c.gridy = 4;
            c.gridheight = 1;
            c.gridwidth = 1;
            c.insets = new Insets(10,0,10,10);
            gridbag.setConstraints(fourth, c);
            base.add(fourth);
            c.gridx = 1;
            c.gridy = 4;
            c.gridheight = 1;
            c.gridwidth = 1;
            c.insets = new Insets(10,0,10,10);
            gridbag.setConstraints(fourthT, c);
            base.add(fourthT);     
            //fifth set
            c.gridx = 0;
            c.gridy = 5;
            c.gridheight = 1;
            c.gridwidth = 1;
            c.insets = new Insets(10,0,10,10);
            gridbag.setConstraints(fifth, c);
            base.add(fifth);
            c.gridx = 1;
            c.gridy = 5;
            c.gridheight = 1;
            c.gridwidth = 1;
            c.insets = new Insets(10,0,10,10);
            gridbag.setConstraints(fifthT, c);
            base.add(fifthT);
            //the viewer button          
            c.gridx = 0;
            c.gridy = 6;
            c.gridheight = 1;
            c.gridwidth = 1;
            c.insets = new Insets(15,0,0,0);
            c.anchor = GridBagConstraints.CENTER;
            gridbag.setConstraints(viewer, c);
            base.add(viewer);
            //the quit button          
            c.gridx = 1;
            c.gridy = 6;
            c.gridheight = 1;
            c.gridwidth = 1;
            c.insets = new Insets(15,0,0,0);
            c.anchor = GridBagConstraints.CENTER;
            gridbag.setConstraints(quit, c);
            base.add(quit);
            base.setPreferredSize(new Dimension(320,440));
            title=BorderFactory.createTitledBorder("Simulation Comparison");
              base.setBorder(title);
              base.setVisible(true);
            base.setOpaque(true);
            base.updateUI();
            //split pane creation
            hPane=new JSplitPane(JSplitPane.HORIZONTAL_SPLIT);
            boolean b = hPane.isContinuousLayout();  // false by default
              hPane.setContinuousLayout(true);
              b = hPane.isOneTouchExpandable();        // false by default
                hPane.setOneTouchExpandable(true);
            //hPane.resetToPreferredSizes();
            hPane.setDividerLocation(365);
            //allocate left component
            hPane.setLeftComponent(base);
            //allocate right component with a default graph panel
            DefaultGraph prelude=new DefaultGraph();
            graphic=new JPanel();
            graphic.add(prelude);
            graphic.setPreferredSize(new Dimension(590,440));
            graphic.setVisible(true);
            graphic.validate();
            hPane.setRightComponent(graphic);
            hPane.setPreferredSize(new Dimension(945,440));
            hPane.setVisible(true);
            return hPane;
         // action performed for view Result button
                public void actionPerformed (ActionEvent e) {
                 if(modus.equals(FIMBOTH))
                        System.out.println("3");
                       for(int i=50,j=0;i<75;i++,j++)
                            supply1[j]=reader1;
                        supply2[j]=reader2[i];
                        supply3[j]=reader3[i];
                        supply4[j]=reader4[i];
                        supply5[j]=reader5[i];
         else if(modus.equals(FIME))
              System.out.println("2");
              for(int i=25,j=0;i<50;i++,j++)
                   supply1[j]=reader1[i];
                   supply2[j]=reader2[i];
                   supply3[j]=reader3[i];
                   supply4[j]=reader4[i];
                   supply5[j]=reader5[i];
         else if (modus.equals(FIMB))
              System.out.println("1");
              for(int i=0;i<25;i++)
                   supply1[i]=reader1[i];
                   supply2[i]=reader2[i];
                   supply3[i]=reader3[i];
                   supply4[i]=reader4[i];
                   supply5[i]=reader5[i];
              System.out.println("works fine!");
              if(isChange)
                   viewer.setEnabled(false);
              else
                   System.out.println("button enabled");     
         // add GraphReceptorData panel to the splitPane
         GraphReceptorData graph = new GraphReceptorData(this);
         graphic.removeAll();
         graphic.add(graph);
    //reset the divider location
    hPane.setDividerLocation(365);
    //repaint the pane after change
    graphic.validate();
    graphic.paintImmediately(graph.getX(),graph.getY(),570,400);
    //add graph to the the split pane finally
    hPane.setRightComponent(graphic);
    // isChange boolean method
    public boolean isChanged() {
         if ((first.isSelected())||(second.isSelected())
         ||(third.isSelected())||(fourth.isSelected())||
         (fifth.isSelected()))
              isChange=true;
         return isChange;
    //Action listeners for buttons
    class ButtonAction1 implements ActionListener {
         public void actionPerformed (ActionEvent e) {
         //Handle open button action.
    if (e.getSource() == first) {
    int returnVal = fc.showDialog(GraphPane.this,"Attach");
    if (returnVal == JFileChooser.APPROVE_OPTION) {
         try
         File file = fc.getSelectedFile();
    //loading the file onto the application interface
    firstT.setText(fc.getName(file));
    RandomAccessFile simulation1=new RandomAccessFile(firstT.getText(),"r");
    if ((firstT.getText().equals(fourthT.getText()))||(firstT.getText().equals(thirdT.getText()))||(firstT.getText().equals(secondT.getText()))||(firstT.getText().equals(fifthT.getText())))
              firstT.setText("");
              JOptionPane.showMessageDialog(null,"File selected has been already choosen","Selection Error",JOptionPane.ERROR_MESSAGE);
         else {
              for(int i=0;i<300;i+=4)
                   simulation1.seek(i);
              reader1[i/4]=simulation1.readInt();
    }          // end try
    catch (Exception locationError)
         System.out.println("Not executed");
    } else {
    System.out.println("Invalid selection");
         class ButtonAction2 implements ActionListener {
    // action performed for button2
    public void actionPerformed (ActionEvent e) {
    //Handle open button action.
    if (e.getSource() == second) {
    int returnVal = fc.showDialog(GraphPane.this,"Attach");
    if (returnVal == JFileChooser.APPROVE_OPTION) {
         try
         File file = fc.getSelectedFile();
    //loading the file onto the application interface
    secondT.setText(fc.getName(file));
    RandomAccessFile simulation2=new RandomAccessFile(secondT.getText(),"r");
         if ((secondT.getText().equals(firstT.getText()))||(secondT.getText().equals(thirdT.getText()))||(secondT.getText().equals(fourthT.getText()))||(secondT.getText().equals(fifthT.getText())))
              secondT.setText("");
              JOptionPane.showMessageDialog(null,"File selected has been already choosen","Selection Error",JOptionPane.ERROR_MESSAGE);
    else {
         for(int i=0;i<300;i+=4)
                   simulation2.seek(i);
              reader2[i/4]=simulation2.readInt();
    }          // end try
    catch (Exception locationError)
         System.out.println("Not executed");
    } else {
    System.out.println("Invalid selection");
    class ButtonAction3 implements ActionListener {
    //action performed for button3
    public void actionPerformed (ActionEvent e) {
    //Handle open button action.
    if (e.getSource() == third) {
    int returnVal = fc.showDialog(GraphPane.this,"Attach");
    if (returnVal == JFileChooser.APPROVE_OPTION) {
         try
         File file = fc.getSelectedFile();
    //loading the file onto the application interface
    thirdT.setText(fc.getName(file));
    RandomAccessFile simulation3=new RandomAccessFile(thirdT.getText(),"r");
    if ((thirdT.getText().equals(firstT.getText()))||(thirdT.getText().equals(secondT.getText()))||(thirdT.getText().equals(fourthT.getText()))||(thirdT.getText().equals(fifthT.getText())))
              thirdT.setText("");
              JOptionPane.showMessageDialog(null,"File selected has been already choosen","Selection Error",JOptionPane.ERROR_MESSAGE);
         else {
              for(int i=0;i<300;i+=4)
                        simulation3.seek(i);
                   reader3[i/4]=simulation3.readInt();
    }                    // end try
    catch (Exception locationError)
         System.out.println("Not executed");
    } else {
    System.out.println("Invalid selection");
    class ButtonAction4 implements ActionListener {  
    //action performed for button4
    public void actionPerformed (ActionEvent e) {
    //Handle open button action.
    if (e.getSource() == fourth) {
    int returnVal = fc.showDialog(GraphPane.this,"Attach");
    if (returnVal == JFileChooser.APPROVE_OPTION) {
         try
         File file = fc.getSelectedFile();
    //loading the file onto the application interface
    fourthT.setText(fc.getName(file));
    RandomAccessFile simulation4=new RandomAccessFile(fourthT.getText(),"r");
    if ((fourthT.getText().equals(thirdT.getText()))||(fourthT.getText().equals(secondT.getText()))||(fourthT.getText().equals(firstT.getText()))||(fourthT.getText().equals(fifthT.getText())))
              fourthT.setText("");
              JOptionPane.showMessageDialog(null,"File selected has been already choosen","Selection Error",JOptionPane.ERROR_MESSAGE);
              else {
                   for(int i=0;i<300;i+=4)
                        simulation4.seek(i);
                   reader4[i/4]=simulation4.readInt();
    }               //end try
    catch (Exception locationError)
         System.out.println("Not executed");
    } else {
    System.out.println("Invalid selection");
    class ButtonAction5 implements ActionListener {   
    //action performed for button5
    public void actionPerformed (ActionEvent e) {
    //Handle open button action.
    if (e.getSource() == fifth) {
    int returnVal = fc.showDialog(GraphPane.this,"Attach");
    if (returnVal == JFileChooser.APPROVE_OPTION) {
         try
         File file = fc.getSelectedFile();
    //loading the file onto the application interface
    fifthT.setText(fc.getName(file));
    RandomAccessFile simulation5=new RandomAccessFile(fifthT.getText(),"r");
    if ((fifthT.getText().equals(fourthT.getText()))||(fifthT.getText().equals(thirdT.getText()))||(fifthT.getText().equals(secondT.getText()))||(fifthT.getText().equals(firstT.getText())))
              fifthT.setText("");
              JOptionPane.showMessageDialog(null,"File selected has been already choosen","Selection Error",JOptionPane.ERROR_MESSAGE);
         else {
              for(int i=0;i<300;i+=4)
                        simulation5.seek(i);
                   reader5[i/4]=simulation5.readInt();
    }               //end try
    catch (Exception locationError)
         System.out.println("Not executed");
    } else {
    System.out.println("Invalid selection");
    //selector listener     
         class ModeListener implements ItemListener {
    // This method is called only if a new item has been selected.
    public void itemStateChanged(ItemEvent evt) {
    selector = (JComboBox)evt.getSource();
    // Get the affected item
    String s=(String)selector.getSelectedItem();
    if (evt.getStateChange() == ItemEvent.SELECTED) {
    // Item selected
    modus=s;
    System.out.println("cell selected is " + modus);
                             } else if (evt.getStateChange() == ItemEvent.DESELECTED) {
    // Item is no longer selected
              }     // end of mode listener
         // Returns an ImageIcon, or null if the path was invalid
    protected static ImageIcon createImageIcon(String path) {
    java.net.URL imgURL = GraphPane.class.getResource(path);
    if (imgURL != null) {
    return new ImageIcon(imgURL);
    } else {
    System.err.println("Couldn't find file: " + path);
    return null;
    //get methods to retrieve the values of supply arrays to feed into GraphReceptorData class
    public int[] getSupplyOne() {
         return supply1;
    public int[] getSupplyTwo() {
         return supply2;
    public int[] getSupplyThree() {
         return supply3;
    public int[] getSupplyFour() {
         return supply4;
    public int[] getSupplyFive() {
         return supply5;
    // listener for the exit button                
         class QuitButtonListener implements ActionListener {
              private Window myWindow;
              public QuitButtonListener(Window w) {
                   myWindow = w; }
                   public void actionPerformed(ActionEvent evt) {
                   myWindow.setVisible(false);
                   myWindow.dispose();
    ######################## parent class#################
    the button there is just calling this class.
    // ActionListener for viewGraph button
    class ButtonGraph implements ActionListener {
         public void actionPerformed(ActionEvent e) {
             JFrame frame=new JFrame("Graph view screen");
             frame.getContentPane().add(new GraphPane().createViewcom(), BorderLayout.CENTER);
             frame.setSize(945, 440);
             frame.setResizable(false);
             frame.setVisible(true);
         }hope this will explain more...
    thanks a lot for help guys

  • KDE Window Focus Problem

    In KDE, when I'm focused on a window in foreground and I click on the contents of a window in the background the focus of the window changes, but the window that was in the foreground does not go behind the window that I just clicked on.
    http://img404.imageshack.us/img404/2745 … cusli7.png
    In that picture, I was focused on the Pidgin window and I clicked on this text box of Firefox and the Pidgin window in the foreground.
    The only way to place that window in the background is to click the title bar on top of Firefox, then it behaves normally.  By the way, I'm running KDE3.
    Any help would be appreciated, thanks.
    Last edited by darkNiGHTS (2008-03-26 02:19:46)

    It's been quite some time since I've used KDE, but isn't there some kind of "raise on focus" setting that would raise newly focused windows? I'm certain this setting exists for focus-follows-mouse but I don't remember if it applies to click-to-focus.
    j

  • Safari Beta 3 Windows created blank menu items

    No text appeared on menu items.
    Navigation was not possible.
    Looks like not ready for Windows XP Pro SP2.

    Found it!
    This fix works:
    http://grupenet.com/2007/06/12/fix-font-issue-in-safari-for-windows/

  • Safari for Windows - Autofill Problems

    I recently downloaded Safari Beta for Windows. After deleting the history and cache, I was still unable to delete the AutoFill form for websites such as the Google Search (google.com). Is there anyway I can delete theses? The 'Edit' button for 'Other Forms' in Preferences doesn't work (only one for Address Book Card).
    ACER   Windows XP  

    Remember it is still beta.
    That's all i can say

  • Keep child window open while Parent window got focus

    Hello,
    In my applet i invoke the window using the JPanel.it's my parents window.
    to do some other task i m opening the other window called it "Child window".
    my problem is that when i m click on the parent window.the child window is invisible. i want my child window is still open while parent window is activated.
    just like when we open find dialog in eclipse editor,it show that find dialog untill we manually close it.
    can any one give me the solution on how to visible the child window while parents window is activated.
    child window is open through JDialog.
    Regards,
    Sonal.

    ya you r right..Child window is still visible bt it's
    behind browser.
    i want that dialoge will be visible in front of the
    parant window.not behind parent window,while my
    parent window is activated.
    so canu plz tell me the way to do it??Try to call
    public final void setAlwaysOnTop(boolean alwaysOnTop)

  • Preview in Safari Beta for Win not working

    Hello All,
    Anyone else having this problem?
    I installed the new Safari beta for Windows (xp) and added it
    to my Preview in Browser list in Dreamweaver, pointing it to
    safari.exe, but when I try to preview, Safari opens and displays
    the home page, not my Dreamweaver project page.
    Any thoughts,
    Scott

    Hi Scott,
    Safari beta for win has a number of problems. Loading local
    pages is one of
    them. I found if I preview in another browser like FF from DW
    and then copy
    and paste the page URL into Safari it works sometimes. Search
    this newsgroup
    for "OT: Safari for XP/Vista"
    --Nancy O.
    "scottmcll" <[email protected]> wrote in
    message
    news:f4u864$pkv$[email protected]..
    > Hello All,
    >
    > Anyone else having this problem?
    >
    > I installed the new Safari beta for Windows (xp) and
    added it to my
    Preview in
    > Browser list in Dreamweaver, pointing it to safari.exe,
    but when I try to
    > preview, Safari opens and displays the home page, not my
    Dreamweaver
    project
    > page.
    >
    > Any thoughts,
    >
    > Scott
    >

  • Window focus bug

    A while ago (since two or three updates) I started having window focus problems.
    When I uese expose to switch to a window, the application does not focus, and the window stays covered by some other window (usually the application that pops back up is Mail, Safari, or Finder).
    This is an extremely annoying bug, does anybody now how to fix it?
    I don't know if this can help, but I've upgraded my system from 10.3, all the way to 10.4.5 using the several updates. I use an external mouse, but I get the bug using the trackpad as well.
    Also, I don't know if the two problems are related, but I get very odd bugs in ICal with the mouse (clicking on an event changes the scroll status on the events pane and I end up selecting a random task with that same click...)
    Thanks,
    JS
    Powerbook G4 12   Mac OS X (10.4.5)   System upgraded from 10.3
    Powerbook G4 12   Mac OS X (10.4.5)   System upgraded from 10.3

    Create a new account, name it "test" and see how Expose and iCal work in that User acct? (That will tell if your problem is systemwide or limited to your User acct.) This account is just for test, do nothing further with it.
    Open System Preferences >> Accounts >> "+" make it an admin account.
    Let us know and we'll troubleshoot this further.

  • Problem with new firefox tabs and window focus

    Here's a problem that I've had for ages - sometimes it annoys me, other times I can live with it. Right now it's really p***ing me off.  :x
    I have selected 'a new tab in the most recent window' under FF's Preferences->Tabs->Open links from other applications in:, so as an example, if I click on a URL in a mail in Thunderbird, Firefox opens it in a new tab. However, window focus stays on Thunderbird. I run both of them full screen, so although I'm looking at the web page in Firefox, anything I do on the keyboards affects Thunderbird. It affects URLs opened from other apps too e.g. if I open a terminal and do
    firefox www.archlinux.org
    focus stays on the terminal window. The only exception is when firefox is not already running - in that case, firefox launches with focus.
    DE is xfce4, and the system is completely up to date.
    I've done some googling, and AFAICS, nobody else seems to have this problem. Any ideas, anyone?
    TIA.

    Thanks MAC!EK - definitely a useful add-on, but it still doesn't solve my problem. In Tab Mix Plus Options, I have the following selected:
    Links -> Open links from other applications in: New tab
    Events-> Tab Focus -> Focus/Select tabs  that open from: <all>
    However, the behaviour is as before i.e. I click a URL in Thunderbird, it opens in a new tab in Firefox, but window focus stays on Thunderbird. Within Firefox, the newly-opened tab is selected or focussed, but Firefox itself is not.
    Anyway, thanks again. I think I need to keep looking.

  • Problem with onBlur="window.focus()"

    Hi,
    inside the body tag of a popup widow i have used onBlur="window.focus()" and it is working fine i.e. when i tried to click on parent window the focus transfers back to popup window but i tried this by clicking like hundred times it fails i.e. the focus transfers to parent window.
    Does this function depends on number of click.
    manish

    Hi,
    No the problem is still there and it is not related to no of clicks because today for the just first time it failed.
    U have written
    "except maybe you can use onBlur and onFocus to set a variable to indicate the state and use setInterval to constantly check that every couple seconds as a backup to push it forward."
    i have not used this setInterval. ok let me tell u how i have used.
    In the parent page when it popups a window i have set a flag(global var.) to true and in the body tag (of parent itself) i used "onFocus="javascript:chkChildWin()""
    <script language="Javascript" >
    function chkChildWin()
    if(childFlag)
              cal_setFocus()// method to set the focus to popupwindow
    </script>and inside the popup window body tag i used
    onBlur="window.focus()"
    when user selects some thing from popup window or it closes the popup window then variable is reset to false. and as it is clear from the above mentioned code that parent window checks this flag on its focus method.
    sometimes it work fine and sometimes it does not.
    I don't know how to solve a problem which is not consistent, i mean this occurs randomly.
    plz help me out
    manish

  • Problem in getting data into the child window.

    Hi.
    problem description:
    I have a jsp(lets say parent.jsp). On click of a button in parent.jsp, a showmodal dialogue opens(say child.jsp).
    child.jsp has several fields and a 'search' button.
    On click of the 'search' button in child.jsp, data should be fetched from Database and should be populated in child.jsp, without submitting parent.jsp.
    I am able to fetch the data from DB. But unable to populate it in the same child window.
    How to achieve this?
    thanks
    Akash

    areee yaar...ajax and jsp are two different things altogther...whats harm in using ajax if most of the webapplication now deploy ajax for asynchronous call..

Maybe you are looking for