New email window goes to the back

Hey all,
Need some help with my iMac OSX 10.7
Whenever I compose a new email or reply to an email the window which opens will show very briefly then send itself to the back and whatever I had opened previously, normally a word doucment, will appear to be at the front and I will be typing on that.
Anyone come across this or got some ideas to try?
Many thanks,
Gideon

Hi, I am using a simple JDialog Box and using show() API to open that JDialog box.
Here is the code snippet:
loggedInUsersDialog = new LoggedInUsersDialog();
JDialog dlg = (JDialog)loggedInUsersDialog;
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
Dimension frameSize = dlg.getSize();
if (frameSize.height > screenSize.height) {
frameSize.height = screenSize.height;
if (frameSize.width > screenSize.width) {
frameSize.width = screenSize.width;
dlg.setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2);
dlg.setModal(true);
dlg.show();

Similar Messages

  • Pop up window goes to the back of the main window in Swings on Solaris 10

    I am using a Swing Application using Java 1.6 on Solaris 10 machine.
    Whenever I click on the button which pops up another window, it always goes to the back of the main window.
    Then I ll ve to minimize the main window to make the pop-up window get the focus.
    I am using Exceed to open up Swing application.
    But when the same application is run on Windows XP machine, the problem does not come up.
    i.e. Pop-up window always get the focus and is visible above the main window.
    Please help to figure out whether this is an issue with Solaris 10 machines or with java 1.6.
    Thanks in advance
    Regards
    Sam

    Hi, I am using a simple JDialog Box and using show() API to open that JDialog box.
    Here is the code snippet:
    loggedInUsersDialog = new LoggedInUsersDialog();
    JDialog dlg = (JDialog)loggedInUsersDialog;
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    Dimension frameSize = dlg.getSize();
    if (frameSize.height > screenSize.height) {
    frameSize.height = screenSize.height;
    if (frameSize.width > screenSize.width) {
    frameSize.width = screenSize.width;
    dlg.setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2);
    dlg.setModal(true);
    dlg.show();

  • New email window automatically moves to center of screen

    When I create a new email in Apple Mail the new email window moves to the center of my screen.  I want it to stay in the upper left whenre the window for the program is located, but it always opens inthe center and is very annoying.

    Please follow these directions to delete the Mail "sandbox" folder.
    Back up all data.
    Triple-click the line below to select it:
    ~/Library/Containers/com.apple.mail
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected folder — not just its contents — to the Desktop. Leave the Finder window open for now.
    Quit and relaunch Mail, and test. If the problem is resolved, you may have to recreate some of your Mail settings. You can then delete the folder you moved and close the Finder window. If you still have the problem, quit Mail again and put the folder back where it was, overwriting the one that may have been created in its place. Post your results.
    Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • TS3988 I changed my Apple ID to my new email address successfully for the iTunes and App store but it won't work for iCloud and it won't recognize my password. I read that this can't be done. How am I supposed to get into iCloud?

    I changed my Apple ID to my new email address successfully for the iTunes and App store but it won't work for iCloud and it won't recognize my password. I read that this can't be done. How am I supposed to get into iCloud? I plan on getting rid of my old email address which is my old Apple ID so how is that going to work?

    Same question Wish someone had replied!
    I changed my Apple ID to my new email and now cannot find any way to access icloud. Unfortunately I had allowed icloud to hijack my airbook files, so of course I am afraid I will lose them tomorrow when I exchange my iphone for a new one and cannot keep an icloud account i cannot access. What a poor sync system! Really atypical for apple!

  • My Iphone and Ipad will not pick up my new email messages..for the last few days...I have tried deleteling the account and reseting it and it still only picks up the old messages? Anyone else having tis problem? ANy ideas how to fix it?

    My Iphone and Ipad will not pick up my new email messages..for the last few days...I have tried deleteling the account (a number of times..)  and setting the account back up?  and it still only picks up the old messages? Anyone else having tis problem? Any ideas how to fix it?
    This just started happening for no reason...no changes to the phone or Ipad?

    my iphone and ipad will not send or receive emails or messages for the last few days.  it is telling me that cannot connect to server

  • Preview: In a group of PDF files in the same window, going to the next or a previous PDF file displays the bottom of PDF by default, not the top. How do you change this?

    Preview: In a group of PDF files in the same window, going to the next or a previous PDF file displays the bottom of PDF page by default, not the top of the PDF page. How do you change this? In Mac OS 10.9 and previous, going to the next or previous PDF file displays the top of the PDF by default. Is there a way to change this back? When I go to the next or previous PDF file, I want to first view the top of the page, not the bottom. This really doesn't make any sense. Any help? Thanks!
    MacBook Air (13-inch, Mid 2012)
    2 GHz Intel Core i7
    8 GB 1600 MHz DDR3
    500 GB Flash Storage
    Preview Version 8.0 (859)
    Mac OS 10.10.1

    That to me seems like a bug in Yosemite.
    Apple Feedback http://www.apple.com/feedback/
    Bug Reporter https://bugreport.apple.com/

  • ContactUs Link to open new email window

    Hi SDN,
    There are about 15 webdynpro applications in our project. The requirement is to have Contact Us link on top of all the application. On click of it, new email window has to open with the appropriate subject in it depending upon the application from which it is clicked.
    Please let me know how this can be achieved.
    Regards,
    Ganesh N

    Hi,
    1)Add the UI element linktoURL in all your applications views and set the reference property of the linktourl to
    mailto:testing @ abc.com?subject=testing this url can be set dynamically using context attribute. Remove the space in the mail address. OR
    2)Add a html above the WD iview in the pages.
    html
    <a h ref="mailto : te sting @ a bc.com? subject =testing">Contact us</a>
    (create iview)
    It will open new mail window of your default mail client with subject and email on it.
    Regards
    Deepak

  • Which one goes in the front and which one goes in the back? (4.1)

    Long long time ago, (well around 999) I purchased this set of speakers from Creative. I believe it was something like Cambridge something. It was the first introduction of Surround Sound Speakers and it was a 4.1. (2 front speakers, 2 rear speakers and subwofer).
    When I moved to USA, I brought them with me (and I still use them), but I lost the box and the manuals. I hook it up with the X-fi and works beautiful.
    My question is:
    I remember reading that two speakers had some difference (something connected with the distance I think) with the other two. Something like 3 meters and 5 meters.
    Is that connected with which one goes in the front, and which one goes in the back?
    Right now; the speakers in the front are really strong, but the ones in the back, are very soft. Is that right? Or should I swap them?
    Thanks
    Max

    There are dozens of 1TB drives that will 'fit' - just make sure that they're 2.5" drives, 9.5mm 'thick'.
    I don't like Western Digital but there are plenty of other brands out there.
    I would recommend shopping at Crucial or OWC for both your new drive and RAM.
    Clinton

  • I am trying to install Adobe premiere elements 8 on my new computer (Windows 7). The program ansvers with "the program not installed or can be damaged".

    I am trying to install Adobe premiere elements 8 on my new computer (Windows 7). The program ansvers with "the program is not installed or can be damaged". Then aborts the installation.
    It`s right, the program is not istalld, it is  what i`m trying to do. And there is no problem whit the DVD. Any suggestions?

    "Error 1303: Installer has insufficient privileges" or "Error 1304: Error writing to file" | Install | CS3, CS4, CS5 pro…
    this link FIXED MY PROBLEM! i did the steps to the programdata\adobe folder and it installed FINE!

  • Want to open a new browser window and display the html file in locale disk.

    Hi,
    I want to open a new browser window and display the html file in local drive. The below html applet work in local system successfully. But i deploy the same in web server (Tomcat) and try the same in client machine it does not work. Please help.
    Note:
    The class below fileopen.FileOpen.class i make it as a jar and put it in jre\ext folder at the client machine.
    ------------------------------------FileOpen.html(Tomcat)-----------------------------------------------------
    <html>
    <body >
    <applet code="OpenFile.class" archive="loadfile.jar" width="100" height="100">
    <param name="path" value="file://c:/open.html" />
    </applet>
    </body>
    </html>
    -------------OpenFile.java in server(Tomcat)--------------------------------------------
    public class OpenFile extends Applet implements ActionListener{
    String path = "";
    fileopen.FileOpen open = null;
    Button b = null;
    public void init(){
    path = getParameter("path");
    b = new Button("Open");
    b.addActionListener(this);
    add(b);
    public void actionPerformed(ActionEvent ae){
    try
    open = new fileopen.FileOpen(this,path);
    catch (Exception e){
    e.printStackTrace();
    -------------------------------------------FileOpen.java /Client JRE/ext----------------------------------------------------
    package fileopen;
    public class FileOpen
    AppletContext context = null;
    URL url = null;
    public FileOpen(Applet applet,String path)
    try
    if(null != applet){
    context = applet.getAppletContext();
    if (null != path)
    url = new URL(path);
    context.showDocument(url, "_blank");
    }catch(Exception ex)
    ex.printStackTrace();
    Please help to solve this issue very urgent.
    Thanks in advance.
    By,
    Saravanan.K.

    zzsara wrote:
    I want to open a new browser window and display the html file in local drive. ...Did you ever pause to consider how ridiculous that is?
    The best audience for applets is people off the internet. 'People off the internet' might be using a computer that has no (what was it?) 'open.html' in the root of the C: drive. In fact (shock horror) they may not even be running Windows, and would therefore probably have no 'C:' drive at all.
    If you do not intend to distribute this to people off the web, an application makes a lot more sense, but even then, you cannot rely on the document being there unless you 'put it there' (during installation, for instance).
    As the other poster intimated, applets can load documents off the local disk as long as they are trusted. Here is an example*, but note that it is not so rash as to presume any particular path or file, and instead leaves it to the user to choose the document to display.
    * The short code can be seen at SDNShare on the [Defensive Loading of Trusted Applets|http://sdnshare.sun.com/view.jsp?id=2315] post.
    On the other hand, a sandboxed applet can load any document coming from its own server via URL, or get showDocument(URL) to work. In that case, the JRE must recognize that the URL is from its own server, so the best way to form URLs for applet use is via the URL constructor
    new URL(getDocumentBase(), "path/to/open.html");That is how I form the URL in this [ sandboxed example of formatting source|http://pscode.org/fmt/sbx.html?url=/jh%2FHelpSetter.java&col=2&fnt=2&tab=2&ln=0]. Of course, in this case the applet loads the document, then parses the text to draw the formatted version, but the point is that an URL produced this way will work with showDocument(URL).
    I am pretty sure showDocument() in an applet off the internet will work with an URL pointing to a foreign (not its own) server, but it will not be able to load documents off the end user's local disks.
    I suggest a couple of things.
    - Try to express this problem in terms of what feature it is that you want to offer the end user. Your question jumps directly to a bad strategy for achieving ..who knows what? An example of a feature is "Shows the applet 'help' files on pressing F1".
    - A good way to indicate interest in a solution is to offer [Duke stars|http://wikis.sun.com/display/SunForums/Duke+Stars+Program+Overview] to match that interest.
    Edit 1:
    ..and please figure out how to use the CODE tags.
    Edited by: AndrewThompson64 on Sep 12, 2008 11:14 PM

  • In classic view, I want new emails to appear at the bottom and scroll up automatically

    I have Thunderbird 31.0, used in classic view. The top right pane is set to sort by date, latest at the top.
    If I have several emails to read, I have to read them in reverse order to their arrival if I want to read the next in the list after deleting a read email. If I choose to move the cursor to read the least recent new email and then delete it, the focus changes to an already read email, not the next unread email, which is what I would prefer.
    If I sort by date, newest at the bottom, the focus changes as I would like BUT new emails are hidden at the bottom of the pane until I use the scroll bar to access the new ones. This is irritating too!
    Surely I cannot be the only one to see this as a problem.
    Any suggestions - are there layout options I have missed.
    Thanks in anticipation,
    Hugh

    What device are you using?
    I assume you are talking about something other than the iPad?
    Is there a sort order above the date column? Clicking on this can switch between Ascending and Descending order.

  • Setting up a new email account on mail, the password is entered for connecting to the in

    Assuming that in this day and age you want security.
    Setting up a new email account on mail, the password is entered for connecting to the in & outgoing servers before SSL is set.  Before you can set SSL, mail connects to the servers so email password is transmitted unencrypted?
    This seems a very obvious quirk/bug and something that I have always felt uncomfortable about.
    Anyone else think this is not a good thing?

    Actually it look like all apple devices have the same mail setup procedure, so are your email passwords all being sent over the network in plain text before you get the chance to set the SSL option?
    Any security experts care to comment.

  • My operating system is OS X Yosemite 10.10.2  Suddenly one (only) of my email accounts is not pulling in new emails.  I ran the Connection Doctor which indicated all connections are ok.  I am looking for another way to troubleshoot or a solution.

    My operating system is OS X Yosemite 10.10.2  Suddenly one (only) of my email accounts is not pulling in new emails.  I ran the Connection Doctor which indicated all connections are ok.  I am looking for another way to troubleshoot or a solution.

    Mail troubleshooting - Yosemite
    Mail (Yosemite): If you can’t receive messages
    Troubleshooting sending and receiving email messages

  • I have an IPOD classic with 80MB of music. reying to reinstall library from a new PC. it goes through the synch process but I get an error message for most of the content.  Library plays on the pc under Itunes fine?

    I have an IPOD classic with 80MB of music. I am trying to reinstall library from a new PC. it goes through the synch process but I get an error message for most of the content.  Library plays on the pc under Itunes fine?

    Disable the Convert higher bit rate songs to 128 kbps AAC option from under the iPod's Summary tab in iTunes and see if that helps.
    B-rock

  • My icloud account is no longer accurate as i cancelled my internet  provider.  how do i change my iphone 4s to read the new email address instead of the old one?

    i cancelled comcast.net and now have a gmail account.  i cloud will not let me change from comcast to my new gmail account.  i have updated my apple id account and changed password.  how do i update the phone?

    login here:
    https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/
    using your Apple ID and password
    Add email address.
    apply
    you will receive email with a link to verify it - so please do.
    back in the apple ID webpanel
    make the new email address Primary
    apply
    remove the old email address
    and youare done

Maybe you are looking for

  • Delete locked file from /Applications folder

    Hi there I used Clean My Mac to remove a file install - something I have done many times without any problems. This time though the application file was left behind in the /Applications folder and I am unable to move it to the Trash because it is loc

  • How to send a copy of my .html without it coming up blank

    Hi, Sorry I've tried having a look around for this but can't find the answer anywhere, possibly because of the way I am wording it. I don't really know what I'm doing to be honest, first attempt at making a webpage. I'm trying to send a copy of my .h

  • Regarding Analytics component in SAP CRM

    Hi, Currently I am working on CRM analytics and we are using SAP BI system for all the reporting. We also have a BI component in built in the SAP CRM system which has all the necessary tools for all types of CRM relevant analysis. Has anybody got  a

  • Very high transaction log file growth

    Hello Running Exchange 2010 sp2 in a two node DAG configuration.  Just recently i have noticed a very high transaction log file growth for one database. The transaction logs are growing so quickly that i have had to turn on circular logging in order

  • Best file location for VS2013 Windows Form applications on a stand alone PC (Windows 7) upgrading from VS2008 Standard?

    Hi and Help, I'm in the process of upgrading my VS2008.Standard Windows Forms apps to VS2013.Pro.  My concern is I've got the VS2008 apps scattered in folders all over my disc; this includes the VS2008 published apps.  All of the converted apps are b