How to alert with new window when message is comming like MSN

Please tell me .How to alert with new window when message is comming like MSN?

Why is it the first think everyone wants to do in JSP is write a chat application?
Not really an easy way to do this, as HTTP is a "pull" model. You send a request, the server sends a response. The server can't send anything unless you ask for it. That kindof puts a damper on things like instant messaging.
A couple of workarounds
1 - refresh the page every once in a while to check for new messages. An easy solution but nowhere near optimal.
2 - check out pushlets www.pushlets.com
Cheers,
evnafets

Similar Messages

  • I signed up yesterday with synch. I dont know my password and I need it to reset a new password. Please advise how to set a new password when I dont know old 1

    I signed up yesterday with synch. I don't know my password and I need it to reset a new password. Please advise how to set a new password when I dont know old 1
    I set it up on my "upstairs computer" and then came to my "downstairs computer" to synch and I can not get into the account because of the above password problem. I write down my passwords. I must have mistyped it or mis written.
    I want to change my password

    The new Sync version uses the Firefox account and stores the login data (username/email and password) under the https://accounts.firefox.com site heading in the Password Manager and use the signedInUser.json file in the profile folder to store the credentials once connected to the account to avoid having to enter the master password on each start.

  • How do I get Firefox to open a new tab instead of a new window when I open email or other links?

    Firefox used to open a new tab when I opened links or MSN email....now it opens a new window...EVERY TIME. Its quite annoying
    == This happened ==
    Every time Firefox opened
    == a few weeks ago

    Try this extension: https://addons.mozilla.org/en-us/firefox/addon/new-tab-king/

  • How can I install new windows on NB200-10z without a CD drive?

    Hi,
    I have a mini laptop "Toshiba nb200-10z" and it doesnt startup anymore.
    I would like to do a recovery, but it also doesnt work.
    I know there is a shortcut like press the 0 button when the laptop is starting up.
    With this shortcut you can start the recovery to reset the software.
    But when I press the 0 button it gives me an error.
    So I think the recovery drive/partition is lost.
    How can I install new windows on this minilaptop without a CD drive?

    I have found a much easier way to install Windows 7 from a USB Flash drive. Unlike other methods where you have to write complicated commands, this method can be completed even by those who have very little computer background.
    The whole process takes only two steps, run UNetbootin, load the Windows 7 ISO file, and finally restart your computer.
    Before you begin, you will require the following:
    USB Flash Drive (4GB minimum)
    Windows 7 ISO Image file
    UNetbootin
    Note: If UNetbootin doesnt work, try out the Microsofts official tool called Windows 7 USB/DVD Tool.
    Now insert the USB drive, run UNetbootin, and select Disk Image as ISO. Browse your local drive for Windows 7 ISO that you downloaded and click Open. Now Select Type as USB and choose the drive. Once done, it will look like a bit similar to the screenshot shown below.
    Click OK and it will begin extracting all installation files to the USB drive. The whole process will take some time (10-15 minutes), so have patience.
    Once the installation is complete, reboot your computer. Now while your system is starting up press the appropriate button (usually F1, F2, F12, ESC, Backspace, or Escape) to bring up Bios Boot Menu.
    Change the startup order to boot USB by default, usually you will have to press F6 to move the selected USB device on top. Once done, save changes and restart the system.
    +Message was edited: link has been removed+

  • How to open a new window from the login window?

    hi,
    can someone tell me how to open a new window from an existing window, here by window i mean frame. The case is i hv two java files - oracle.java and FDoptions.java. The first frame is in the Login.java. The oracle.java file has a button "Login", when it is clicked, i want to open the next frame which is in the file FDoptions.java. Can some one help me with this? I m giving the code below -
    oracle.java
    import java.awt.BorderLayout;
    import java.awt.FlowLayout;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import javax.swing.AbstractAction;
    import javax.swing.BorderFactory;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JPasswordField;
    import javax.swing.JTextField;
    * The application's main frame.
    public class oracle {
        private JFrame frame;
        private JPanel logInPanel;
        private JButton clearButton;
        private JButton logInButton;
        private JButton newuserButton;
        private JButton forgotpasswordButton;
        private JTextField userNameTextField;
        private JPasswordField passwordTextField;
        public oracle() {
            initComponents();
        private final void initComponents() {
            JLabel userNameLabel = new JLabel("User name: ");
            JLabel passwordLabel = new JLabel("Password: ");
            userNameTextField = new JTextField();
            passwordTextField = new JPasswordField();
            JPanel userInputPanel = new JPanel(new GridLayout(2, 2, 5, 5));
            userInputPanel.setBorder(BorderFactory.createEmptyBorder(10, 20, 10, 20));
            userInputPanel.add(userNameLabel);
            userInputPanel.add(userNameTextField);
            userInputPanel.add(passwordLabel);
            userInputPanel.add(passwordTextField);
            logInButton = new JButton(new LogInAction());
            clearButton = new JButton(new ClearAction());
            newuserButton = new JButton(new NewUserAction());
            forgotpasswordButton = new JButton(new ForgotPassword());
            JPanel buttonPanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
            JPanel buttonPanel1 = new JPanel(new FlowLayout(FlowLayout.RIGHT));
            buttonPanel.add(logInButton);
            buttonPanel.add(clearButton);
            buttonPanel1.add(newuserButton);
            buttonPanel1.add(forgotpasswordButton);
            logInPanel = new JPanel(new BorderLayout());
            logInPanel.add(userInputPanel, BorderLayout.NORTH);
            logInPanel.add(buttonPanel, BorderLayout.CENTER);
            logInPanel.add(buttonPanel1,BorderLayout.SOUTH);
            frame = new JFrame("FD Tracker");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setSize(500, 500);
            frame.setContentPane(logInPanel);
            frame.pack();
            frame.setVisible(true);
        private void performLogIn() {
            // Log in the user
            System.out.println("Username: " + userNameTextField.getText());
            char[] password = passwordTextField.getPassword();
            System.out.print("Password: ");
            for(char c : password) {
                System.out.print(c);
            System.out.println();
        private void performClear() {
            // Clear the panel
            System.out.println("Clearing the panel");
            userNameTextField.setText("");
            passwordTextField.setText("");
        private final class LogInAction extends AbstractAction {
            public LogInAction() {
                super("Log in");
            @Override
            public void actionPerformed(ActionEvent e) {
                performLogIn();
        private final class ClearAction extends AbstractAction {
            public ClearAction() {
                super("Clear");
            @Override
            public void actionPerformed(ActionEvent e) {
                performClear();
        private final class NewUserAction extends AbstractAction{
             public NewUserAction(){
                 super("New User");
             @Override
             public void actionPerformed(ActionEvent e){
                 JFrame newuser = new JFrame("NewUser");
        private final class ForgotPassword extends AbstractAction{
            public ForgotPassword(){
                super("Forgot Password");
            @Override
            public void actionPerformed(ActionEvent e){
                JFrame forgotpassword = new JFrame("Forgot Password");
        public static void main(String args[]) {
            new oracle();
         FDoptions.java
    import java.awt.FlowLayout;
    import java.awt.BorderLayout;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import javax.swing.AbstractAction;
    import javax.swing.BorderFactory;
    import javax.swing.JPanel;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    public class Fdoptions{
        private JFrame fdoptions;
        private JPanel fdoptpanel;
        private JButton enterfdbutton;
        private JButton viewfdbutton;
        public Fdoptions() {
            initComponents();
        private final void initComponents(){
            fdoptpanel = new JPanel(new BorderLayout());
            fdoptpanel.setBorder(BorderFactory.createEmptyBorder(80,50,80,50));
            enterfdbutton = new JButton(new EnterFDAction());
            viewfdbutton = new JButton(new ViewFDAction());
           JPanel enterbuttonpanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
           JPanel viewbuttonpanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
            enterbuttonpanel.add(enterfdbutton);
            viewbuttonpanel.add(viewfdbutton);
            fdoptpanel.add(enterbuttonpanel,BorderLayout.NORTH);
            fdoptpanel.add(viewbuttonpanel,BorderLayout.SOUTH);
            fdoptions = new JFrame("FD Options");
            fdoptions.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            fdoptions.setSize(1000,1000);
            fdoptions.setContentPane(fdoptpanel);
            fdoptions.pack();
            fdoptions.setVisible(true);
        private void performEnter(){
        private void performView(){
        private final class EnterFDAction extends AbstractAction{
            public EnterFDAction(){
                super("Enter new FD");
            public void actionPerformed(ActionEvent e){
                performEnter();
        private final class ViewFDAction extends AbstractAction{
            public ViewFDAction(){
                super("View an existing FD");
            public void actionPerformed(ActionEvent e){
                performView();
        public static void main(String args[]){
            new Fdoptions();
    }

    nice day,
    these lines..., despite the fact that this example is about something else, shows you two ways
    1/ modal JDialog
    2/ two JFrame
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    * Parent Modal Dialog. When in modal mode, this dialog
    * will block inputs to the "parent Window" but will
    * allow events to other components
    * @see javax.swing.JDialog
    public class PMDialog extends JDialog {
        private static final long serialVersionUID = 1L;
        protected boolean modal = false;
        private WindowAdapter parentWindowListener;
        private Window owner;
        private JFrame blockedFrame = new JFrame("No blocked frame");
        private JFrame noBlockedFrame = new JFrame("Blocked Frame");
        public PMDialog() {
            noBlockedFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            noBlockedFrame.getContentPane().add(new JButton(new AbstractAction("Test button") {
                private static final long serialVersionUID = 1L;
                @Override
                public void actionPerformed(ActionEvent evt) {
                    System.out.println("Non blocked button pushed");
                    blockedFrame.setVisible(true);
                    noBlockedFrame.setVisible(false);
            noBlockedFrame.setSize(200, 200);
            noBlockedFrame.setVisible(true);
            blockedFrame.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);
            blockedFrame.getContentPane().add(new JButton(new AbstractAction("Test Button") {
                private static final long serialVersionUID = 1L;
                @Override
                public void actionPerformed(ActionEvent evt) {
                    final PMDialog pmd = new PMDialog(blockedFrame, "Partial Modal Dialog", true);
                    pmd.setSize(200, 100);
                    pmd.setLocationRelativeTo(blockedFrame);
                    pmd.getContentPane().add(new JButton(new AbstractAction("Test button") {
                        private static final long serialVersionUID = 1L;
                        @Override
                        public void actionPerformed(ActionEvent evt) {
                            System.out.println("Blocked button pushed");
                            pmd.setVisible(false);
                            blockedFrame.setVisible(false);
                            noBlockedFrame.setVisible(true);
                    pmd.setVisible(true);
                    System.out.println("Returned from Dialog");
            blockedFrame.setSize(200, 200);
            blockedFrame.setLocation(300, 0);
            blockedFrame.setVisible(false);
        public PMDialog(Dialog parent, String title, boolean isModal) {
            super(parent, title, false);
            initDialog(parent, title, isModal);
        public PMDialog(Frame parent, String title, boolean isModal) {
            super(parent, title, false);
            initDialog(parent, title, isModal);
        private void initDialog(Window parent, String title, boolean isModal) {
            owner = parent;
            modal = isModal;
            parentWindowListener = new WindowAdapter() {
                @Override
                public void windowActivated(WindowEvent e) {
                    if (isVisible()) {
                        System.out.println("Dialog.getFocusBack()");
                        getFocusBack();
        private void getFocusBack() {
            Toolkit.getDefaultToolkit().beep();
            super.setVisible(false);
            super.pack();
            super.setLocationRelativeTo(owner);
            super.setVisible(true);
            //super.toFront();
        @Override
        public void dispose() {
            owner.setEnabled(true);
            owner.setFocusableWindowState(true);
            super.dispose();
        @Override
        @SuppressWarnings("deprecation")
        public void hide() {
            owner.setEnabled(true);
            owner.setFocusableWindowState(true);
            super.hide();
        @Override
        public void setVisible(boolean visible) {
            boolean blockParent = (visible && modal);
            owner.setEnabled(!blockParent);
            owner.setFocusableWindowState(!blockParent);
            super.setVisible(visible);
            if (blockParent) {
                System.out.println("Adding listener to parent ...");
                owner.addWindowListener(parentWindowListener);
                try {
                    if (SwingUtilities.isEventDispatchThread()) {
                        System.out.println("EventDispatchThread");
                        EventQueue theQueue = getToolkit().getSystemEventQueue();
                        while (isVisible()) {
                            AWTEvent event = theQueue.getNextEvent();
                            Object src = event.getSource();
                            if (event instanceof ActiveEvent) {
                                ((ActiveEvent) event).dispatch();
                            } else if (src instanceof Component) {
                                ((Component) src).dispatchEvent(event);
                    } else {
                        System.out.println("OUTSIDE EventDispatchThread");
                        synchronized (getTreeLock()) {
                            while (isVisible()) {
                                try {
                                    getTreeLock().wait();
                                } catch (InterruptedException e) {
                                    break;
                } catch (Exception ex) {
                    ex.printStackTrace();
                    System.out.println("Error from EDT ... : " + ex);
            } else {
                System.out.println("Removing listener from parent ...");
                owner.removeWindowListener(parentWindowListener);
                owner.setEnabled(true);
                owner.setFocusableWindowState(true);
        @Override
        public void setModal(boolean modal) {
            this.modal = modal;
        public static void main(String args[]) {
            new PMDialog();
    }

  • Open a new window when you click on a button

    Hi all,
    I'm a newbie on BPS and web interface on BPS. I have a problem on how to open a new window.
    I explain:
    We have a page with a button which call a function. We want to change this button in the way when you ckick it, a new window appears and present a page with two buttons which call each a function(this page is already created thanks to bps_wb).
    The problem is : how to modify the button in the way it opens a new window with in parameter the page.
    Thanks by advance.
    Best regards,
    Nicolas

    Hi Nicolas,
    I don't know about a pop-up, but if you are trying to open a page (page 2) in a new window (internet explorer window), then do the following:
    Instead of using a navigate pushbutton, use a hyperlink component.
    In the URL selection option insert the URL (web address) of page 2. You can find the URL by going to SE80, in the repository browser select "BSP Application" and "THE TECHNICAL NAME OF YOUR BPS". Open your BSP and go to the folder "pages with flow logic" and find your "page 2". Double click on your page and then select the "properties" tab and navigate to the bottom where you will see the pages URL.
    Insert this URL address into your hyperlink component back in the Web Interface Builder.
    Leave the Target selection as parent. Make sure your internet explorer enhanced options are set to "not reuse the same window" under the browser options.
    Good luck.
    Rael

  • How can I open new window from a link in another window?

    Hello everyone!
    Can anyone help me with my problem. I need to open a child window from a link in the mother/master window. Actually, the link that would open the child window is directed to a servlet that retrieves data from the database. The data will then be displayed in the child window. I don't how to open a new window with the data retrieve (thru the servlet) displayed in it. I'm using model 2 architecture (Servlet-JSP).
    Thank you in advance and more power!
    nicoleangelisdaddy
    [email protected]

    Or you can use something like this,
    Click and in your test()
    <script language="javascript">function test()
          document.form_name.target="_blank";
          document.form_name.action="/test/servlet/LoginServlet";
          document.form_name.method="post"
          document.form_name.submit();
    }</script>
    Here "/test" is your application context path.
    If you want to open the link in the named window then use,
    document.form_name.target="your_own_name";

  • Can I set Safari to open a new window when I click on it in the dock?

    is there a way to set my safari to open a new window when i click on it in the dock i surf multiple websites at once and i dont like how i have to right clik and scroll up to pick open a new window. can i set it to just open a new window instead of opening the page that already opened

    yeah, instead of using multiple windows, you can use multiple tabs inside one window. That way, you can browse multiple websites at once without having to flick back and forth between multiple windows.
    To open tabs of the websites you want to browse, just right-hand click on whatever website you want to visit (For example a site from your bookmarks or a site from a Google search result) and select 'open link in tab'.

  • How do I prevent new windows?

    Greetings,
    When I go to thePirateBay.com, a new window opens. The website opens a new window using Javascript (window.open). I've tried opening the site in a Private Window but it doesn't help. How can I prevent new windows from opening?
    Thanks,
    Shane.

    It's a new window (not a tab) that is fully maximized and contains an ad.
    Let me know if you need anything else.
    Shane.

  • IStore Config opens new window when done instead of the same window

    Hi,
    We are upgrading iStore from 1155 to 11510. Currently I am facing the issue that when I click on Done button in Configurator Screen, it opens up the returning page in a new window rather than the same window. This is not the expected behavior. Can someone help me understand how to suppress the new window and instead help the page appear in the same window?
    Thanks in advance.
    Arun G
    Oracle.

    Does it work if you drag the tab slightly downwards in the browser window?

  • Finder Windows always open new windows when clicking subfolders

    since i upgraded to 10.5.6, my finder windows only open new windows when I click on a subfolder. this is no matter what I do with the setting in preferences.
    Also, my finder windows no longer display the side bars with folder icons.
    I searched my library (and whole computer) for the finder preferences .plist file and can't find it. (was going to delete it and re-create it).
    Any ideas here?

    Thanks for the star.
    The default of Finder’s Find will not search that folder, but you can change the pulldown menu just beneath where it says Search, from Kind to System files by selecting Other from that menu and then scroll down the next window and check the box next to System files. You’ll then need to change the pulldown menu next to that to “include” instead of “don’t include.”
    The next time you do a search using Find, that pulldown menu will have System files as an option, if you think you might want to search for something in your home folder.

  • Force iView to open in a new window when using NavigationTarget

    Scenario - Portal Version 6.0 - NW2004  SP16 - WAS 6.40
    A Custom iView is used to gain access to an application running outside of the portal.  The user's credentails to the target application are recorded in the portal's UME via user mapping.  
    I want a user to be able to click a hyperlink to this iView that has been embedded in an email, and have the user gain access to the target application by 'going via the portal'.  The url that I use is of the form:
    http //<my_portal_server>/irj/portal?NavigationTarget=navurl://49a8add355f836061e6279f389cdc72e&open=/page&id=100&proc=10067&flag=1
    This is working, the user is first taken to the portal's login page, and upon successful login to the SAP portal, user is then directed to the target iView, and is logged in automatically to the target application, and able to use the target application.
    >BUT EVEN though the iveiw is configured to open in a new window it does not. It always opens in the main content area, and it always opens in this area in a height of about 40 pixels.  The iView properties are set to FULLPAGE.
    >If I invoke this iView using the portal's standard built in navigation, it does open in a new window
    >It just won't open in a new window when using direct URL to the iView WHY?
    How can I get the target iView to open in a new window under all circumstances?
    Do I need to pass more information in the URL?
    Are there a standard list of URL parameters somewhere that influence the behaviour of the NavigationTarget?  I have seen reference to 'context', 'mode' etc but can't find a list of valid parameters?

    Hello justaquestion1112,
    Thank you for your post.
    You should know that these forums are specific to the
    Acrobat.com website and its set of hosted services, and do
    not cover the Acrobat family of desktop products.
    Please visit the following Acrobat forums for any questions
    related to the Acrobat family of desktop products:
    http://www.adobeforums.com/cgi-bin/webx/.3bbeda8b/
    Cheers,
    Pete

  • How to view and restore sharepoint 2013 designer workflows and how to redeploy with newer version to environments

    how to view and restore sharepoint 2013 designer workflows and how to redeploy with newer version to environments
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    Hi,
    In SharePoint Designer 2010, we could not save the workflow as a template directly except the reusable workflow.
    However, in SharePoint Designer 2013, we can just save all the types workflow as a template, then you can import the workflow into the new environment.
    http://blogs.msdn.com/b/workflows_for_product_catalogs/archive/2012/11/02/deploying-a-workflow-on-a-different-server.aspx
    In SharePoint Designer 2013, every time we publish the workflow, we would get a newer version workflow, and the old workflow version would be overwritten.
    So, when you deploy the workflow in the environment, the workflow would the newer version.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Firerfox has stopped opening new windows when I ask it to; why is this and what can be done to regain this option?

    Firerfox has stopped opening new windows when I ask it to; why is this and what can be done to regain this option?
    == This happened ==
    Every time Firefox opened
    == not sure - about 2 weeks ago maybe. I recently upgraded to vn 3.6.8

    This is a workstation first off, right? 60 lbs or so?:
    And you have 10.7.2, if not why not?
    Quad core 2.8GHz? 3 x 2GB RAM or more?
    Consider new Mac Pro comes with 1TB drive 50% is actually a lot. Most users off load non system stuff to one of the other 4 hard drive bays.
    As for youtube I do read and saw threads when Lion came out. Lion does not support Rosetta aka PPC/PowerPC code of any kind, plug-ins, drivers and software all. Check into Lion Community?

  • TS3694 Downloaded latest IOS 7.0.2 and it crashed my iphone 4. Now Ive got nothing and it wont restore when connected with Itunes cos Error Message 4005 comes up. Cant find it listed anywhere. Help

    Downloaded latest IOS 7.0.2 and it crashed my iphone 4. Now Ive got nothing and it wont restore when connected with Itunes cos Error Message 4005 comes up. Cant find it listed anywhere. Help

    Hi!
    It looks like there might be some security settings or software on your laptop that's preventing the restore process from working.
    Check out this article in Apple's support. It shows you the steps you can take to try to get around error 1611.
    Like diesel vdub said, a DFU-mode restore might give you success where a regular restore might not, so maybe you can try that.
    What you need to do is put your phone into DFU mode, which is a low-level mode that helps the restore process get a little more done, or it can help iTunes get around certain roadblocks (hopefully like the one you're experiencing!). Your computer will install special DFU-iPhone drivers for it, and then iTunes will see it as a phone that needs restoring.
    To get your phone into DFU mode:
    Plug your phone into your laptop.
    Turn the phone off.
    Press and hold the power/lock button. Keep it held in, even after the display turns on and you see something on the screen. As soon as you see something on the screen, start holding the home button as well as the power button, so that they're being pressed together.
    Keep both buttons pressed down for 10 seconds.
    After 10 seconds, release the power button, but keep holding home until the laptop sees a new USB device. Once you see that, you're in DFU mode, and you can let go of buttons. Your iPhone screen will be blank during it all, even though it's actually on, in DFU mode.
    Now your restore should work!
    If your phone shows the Apple logo or anything else while you're trying to get it into DFU mode, then something went wrong. Try the steps again. If it suddenly starts up normally again, try reducing the time to a bit less than 10 seconds--try reducing it by about a second at a time. It should work!

Maybe you are looking for

  • Insert data into table

    When I try to insert data into the table, I get the error message: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]The name 'uniqueID' is not permitted in this context. Only constants, expressions, or variables allowed here. Column names are no

  • BPM design pattern

    can any provide information on BPM design pattern and give examples scenarios. thank you

  • Kernel Panic on Snow Leopard  after editing in Photoshop

    I've been using Mountain Lion on a seerate partition but have been gettting 1 kernel panic per week especially after playing video on Safari 6. I have switched back to using Snow Leopard for most of my work, but today after editing on Photoshop CS4 I

  • Indexing Problem - Character §

    Hi! We are using Oracle Text, but we can't find out, why the character § is never indexed. § is not listed as special character for Oracle Text. Also § is still ignored, even when it's defined as printjoin-character. Besides that, escaping this chara

  • PPM - Procurement priority

    We are exploring Capacity leveling with optimization method. from the SAP help documentation, it is understood that Optimizer generates the cost based on the procurement priority maintained in the cost. Excerpt from SAP Help: "Optimization-Based Capa