How can I set up auto respond for email

How can I set up auto respond for email?

Hey there jimmac169,
It sounds like you want to have the Mail app automatically reply to emails that come in. You can do this in the app itself, but in order for the function to work, Mail needs to be open. Take a look at this info from the following article:
Mail (Yosemite): Reply to, forward, or redirect messages
Automatically reply to or forward messages
Mail must be open before it can automatically forward or reply to messages. If you want to send automatic replies when Mail isn’t open—like when you’re on vacation—check with the provider of your email account. 
Choose Mail > Preferences, then click Rules.
Click Add Rule, then type a name for the rule.
Indicate whether any or all of the conditions must be true for the rule to be applied.
Set the conditions that determine which messages to automatically reply to or forward.
Choose options from the “Perform the following actions” pop-up menu.
Forward messages: Choose Forward Message from the first pop-up menu, then enter the email addresses where you want to receive the forwarded messages. Click Message, then enter any text you want to include with the forwarded message. For example, you could explain that you’re automatically forwarding messages. 
Reply to messages: Choose “Reply to Message” from the first pop-up menu, click “Reply message text,” then enter your reply. Mail includes the full text of the original message in your reply. 
Click OK.
Carefully consider the rules you create. If they’re too broad, messages can be sent inadvertently or create loops (replies to replies you sent). If possible, test the rules. 
Thank you for using Apple Support Communities.
All the very best,
Sterling

Similar Messages

  • How can I set up auto fill for forms on new PC with Windows 7

    I cannot find any place on the Firefox browser to add my basic contact information for filling out forms.

    I cannot find any place on the Firefox browser to add my basic contact information for filling out forms.

  • How can i set the alternating colors for a table rows

    Dear All,
    Please any one help me how can i set the Alternating colors for Table Rows.
    i created a theam there i set the background alternating color to brown and i set the table design properity to alternating. but it is not reflecting.

    Hi,
    The design property in Table properties should work for your requirement. Select "alternating" value for design.
    Please see the API below:
    design
    Determines the appearance of the table. The property design can take the following values and is represented by enumeration type WDTableDesign.
    alternating - The table rows are displayed alternately in a different color.
    standard - The table background has one color. The individual table rows are displayed with grid net lines.
    transparent - The table background is transparent. The individual table rows are displayed without grid net lines.
    Check whether you have changed the right property or not? Also table should contain more than one rows to test this scenario.
    Regards,
    Jaya.
    Edited by: VJR on Jun 17, 2009 6:43 PM

  • How can I set up my Mac for two users to share photos, music etc

    How can I set up my Mac for two users to share photos, music etc?

    On the Mac with the libraries you want to share:
    iTunes Preferences click on the Sharing tab and put a tick in 'Share by library on local network'.
    iPhoto Preferences click on Sharing and put a tick against 'Share my photos'.
    When launching the same apps on other Macs on the network the libraries should be available, listed on the left.

  • Apple ID for my 9 year old - How can I set up an ID for my 9 years old. We have bought him an ITouch for his birthday, he also has a $30 iTunes card. To load up the iTunes card he needs an ID. When I try to set him up it says he is below the min age.

    How can I set up anApple ID for my 9 years old. Every time I try it tells me he is bolew the min age. If this is the case how can he download free games and how can he redeem his birthday $30 iTunes card? I dont want him to use my ID as it has my credit card details.
    I'm very fustrated with this as it seems the Apple kit is for 13 years and older only.
    Cheers
    Brad

    That's great your 9-yr-old is responsible enough to handle an iTouch!
    There's no way around the age limit. I suggest a family account that you, an adult, control.

  • How can I set a point size for staticTexts

    Hi everyone
    How can I set a point size for staticTexts?
        staticTexts.add({staticLabel:"Please select a tedious job"});
    thanks
    Teetan

    Thank you Vandy
    Thank you pixxxel schubser
    And thank you Peter Kahrel
    But Ho can call function for this script?
    //======================================================================
    Thank you Vandy
    Thank you pixxxel schubser
    And thank you Peter Kahrel
    But Ho can call function for this script?
    //======================================================================
    var stringList = [  
    "01.  digit at end: superscript",
    "02.  digit at beginning: superscript",
    "03.  notes  applied to italic (table only)",
    "04.  Initial Cap+ markup",
    "05.  Small Cap + markup",
    "06.  del [ ] + markup",
    "07.  add an EM at beginning",
    var win = new Window("dialog","Tedious Jobs_(\"TDJs\")");  
    this.windowRef = win;  
    win.grp = win.add ("group", undefined);  
    win.grp.alignChildren = "top";  
    win.grp.margins = 5;  
    win.grp2 = win.grp.add ("group", undefined);  
    win.grp2.orientation = "Column";  
    win.grp2.alignChildren = "left";  
    win.grp3 = win.grp.add ("group", undefined);  
    win.grp3.orientation = "Column";  
    win.grp3.alignChildren = "fill";  
    win.grp2.Txt1 = win.grp2.add ("statictext", undefined, "Please select a tedious job");  
    win.grp2.Txt1.indent = 0;  
    win.grp2.Ddl1 = win.grp2.add ("dropdownlist", undefined, stringList);  
    win.grp2.Ddl1.selection = 0;  
    win.grp2.sTxt1 = win.grp2.add ("statictext", undefined, "________________________________________");  
    win.grp2.sTxt3 = win.grp2.add ("statictext", undefined, "Be careful and pay attention in what you selected.");  
    win.grp2.sTxt3.graphics.font = ScriptUI.newFont ("Arial", "Regular", 10);  
    win.quitBtn = win.grp3.add("button", undefined, "Ok");  
    win.cancelBtn = win.grp3.add("button", undefined, "Cancel");  
    win.defaultElement = win.quitBtn;  
    win.cancelElement = win.cancelBtn;  
    win.quitBtn.onClick = function() {  
    win.close();  
      if (w.show() == 1) { 
                    var mRes = mStringList.selection.text;
                    mSelection = mStringList.selection.index;
                    app.insertLabel( "mDialog", mSelection.join() );    // to store dropDownList positions (as a string "," delimited)
                    return mRes;
            } else  {  exit();  } 
    app.doScript('main()', ScriptLanguage.JAVASCRIPT, undefined, UndoModes.FAST_ENTIRE_SCRIPT, "TDJs"); 
    function main(){
    var myObject;
    var myCheckSelection = false;
    if(app.documents.length > 0){
      if(app.selection.length > 0){
       switch(app.selection[0].constructor.name){
        case "InsertionPoint":
        case "Character":
        case "Word":
        case "TextStyleRange":
        case "Line":
        case "Paragraph":
        case "TextColumn":
        case "Text":
        case "Cell":
        case "Column":
        case "Row":
        case "Table":
      mySelected = app.insertLabel( "mDialog", String(mySelection.selectedIndex) );     //     to remember selection’s set 
      if(app.selection && app.selection[0].hasOwnProperty ("tedious_works") );
          tedious_works(); 
    else{
      alert("Wrong selection. Please try again.");
    function tedious_works() {  
      app.findGrepPreferences = app.changeGrepPreferences = null; 
      switch (mySelection.selectedIndex){ 
           case 1: {
       app.findGrepPreferences.findWhat = "^\\d";
       app.changeGrepPreferences.position = 1936749411;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
                break; 
           case 2:{
       app.findGrepPreferences.findWhat = "(?i)\\(note.+\\)$";
       app.changeGrepPreferences.appliedCharacterStyle = "Italic";
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "(附[註注].+)$";
       app.changeGrepPreferences.appliedCharacterStyle = "Italic";
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
           break; 
           case 3:{
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<a";
       app.changeGrepPreferences.changeTo = "A";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<b";
       app.changeGrepPreferences.changeTo = "B";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<c";
       app.changeGrepPreferences.changeTo = "C";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<d";
       app.changeGrepPreferences.changeTo = "D";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<e";
       app.changeGrepPreferences.changeTo = "E";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<f";
       app.changeGrepPreferences.changeTo = "F";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<g";
       app.changeGrepPreferences.changeTo = "G";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<h";
       app.changeGrepPreferences.changeTo = "H";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<i";
       app.changeGrepPreferences.changeTo = "I";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<j";
       app.changeGrepPreferences.changeTo = "J";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<k";
       app.changeGrepPreferences.changeTo = "K";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<l";
       app.changeGrepPreferences.changeTo = "L";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<m";
       app.changeGrepPreferences.changeTo = "M";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<n";
       app.changeGrepPreferences.changeTo = "N";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<o";
       app.changeGrepPreferences.changeTo = "O";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<p";
       app.changeGrepPreferences.changeTo = "P";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<q";
       app.changeGrepPreferences.changeTo = "Q";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<r";
       app.changeGrepPreferences.changeTo = "R";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<(?<!’)s";
       app.changeGrepPreferences.changeTo = "S";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<t";
       app.changeGrepPreferences.changeTo = "T";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<u";
       app.changeGrepPreferences.changeTo = "U";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<v";
       app.changeGrepPreferences.changeTo = "V";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<w";
       app.changeGrepPreferences.changeTo = "W";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<x";
       app.changeGrepPreferences.changeTo = "X";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<y";
       app.changeGrepPreferences.changeTo = "Y";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<z";
       app.changeGrepPreferences.changeTo = "Z";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
           break; 
           case 4:{
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<A";
       app.changeGrepPreferences.changeTo = "a";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<B";
       app.changeGrepPreferences.changeTo = "b";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<C";
       app.changeGrepPreferences.changeTo = "c";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<D";
       app.changeGrepPreferences.changeTo = "d";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<E";
       app.changeGrepPreferences.changeTo = "e";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<F";
       app.changeGrepPreferences.changeTo = "f";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<G";
       app.changeGrepPreferences.changeTo = "g";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<H";
       app.changeGrepPreferences.changeTo = "h";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<I";
       app.changeGrepPreferences.changeTo = "i";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<J";
       app.changeGrepPreferences.changeTo = "j";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<K";
       app.changeGrepPreferences.changeTo = "k";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<L";
       app.changeGrepPreferences.changeTo = "l";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<M";
       app.changeGrepPreferences.changeTo = "m";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<N";
       app.changeGrepPreferences.changeTo = "n";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences.findWhat = "\\<O";
       app.changeGrepPreferences.changeTo = "o";
       app.changeGrepPreferences.underline = true;
       app.selection[0].changeGrep();
       app.findGrepPreferences = app.changeGrepPreferences = null;
       app.findGrepPreferences = app.changeGrepPreferences = null;

  • How can I set the desktop image for client computers?

    How can I set the desktop image for client computers using ARD or terminal?

    How can I set the desktop image for client computers using ARD or terminal?

  • How can I turn off auto-renewal for subscriptions? I have been in the manage my account but I can't see any other option than to auto-renew?

    how can I turn off auto-renewal for subscriptions? I have been in the manage my account but I can't see any other option than to auto-renew?

    Follow the instructions in this article. You can turn off the auto-renewal on either your i-device or via iTunes on your computer:
    Manage your auto-renewing subscriptions - Apple Support
    Cheers,
    GB

  • How can i set authrization to delete/change email address from broadcasting

    How can i set authorization to delete/change email address from information broadcasting. I would like to set an authorization because other bi users also have an authority to change my auto mail settings. How can i restrict this?

    Auth object for Broadcasting in 7.0 server
    RSRD_ADMIN - Broadcasting (7.x) Administration
    Check the authorizations for Broadcasting in the below SAP notes.
    Authorization check for broadcasting settings
    SAP Note Number: 1053944
    Please go through this thread for additional info.
    Authorizations for Broadcasting

  • HT201320 how do i set up read receipts for emails from the iphone?

    how do i set up read receipts for emails from the iphone?

    That is not a feature of the Mail app. Check with your email provider to see if it's a service they offer.

  • My daughter and i share same itunes account but we want to separate and have our own. if i change "our" account to "her" account how can i set up a new "for me only" account and retrieve all my contacts and apps

    my daughter and i share the same i tunes account but want to have our own now. how can i set up a new account just for me and still move or transfer my existing apps, contacts etc?

    Yes, with the credentials of the account that the media/content was purchased with.
    Content is permanently tied to the account it is purchased with and cannot be merged, moved, or transferred to another account.

  • How can I set a unique macro for the function keys on my wireless keyboard?

    I'd like to use the F5 key as a quick stroke key for a sentence I use commonly - how can I set that up?

    <http://www.keyboardmaestro.com>

  • How can I set a default file for JFileChooser

    Hi. I am developing a p2p chat application and I have to unrelated questions.
    1. How can I set a default file name for JFileChooser, to save a completly new file?
    2. I have a JTextArea that I append recieved messages. But when a message is appended, the whole desktop screen refreshes. How can I prevent that?
    Hope I was clear. Thanks in advance.

    Thank you for the first answer, it solved my problem. Here is the code for 2nd question, I've trimmed it a lot, hope I didn't cut off any critical code
    public class ConversationWindow extends JFrame implements KeyListener,MessageArrivedListener,ActionListener,IOnlineUsrComp{
         private TextArea incomingArea;
         private Conversation conversation;
         private JTextField outgoingField;
         private JScrollPane incomingTextScroller;
         private String userName;
         private JButton inviteButton;
         private JButton sendFileButton;
         private JFileChooser fileChooser;
         private FontMetrics fontMetrics;
         private HashMap<String, String> onlineUserMap;
         public void MessageArrived(MessageArrivedEvent e) {
              showMessage(e.getArrivedMessage());
         public ConversationWindow(Conversation conversation)
              this.conversation=conversation;
              userName=User.getInstance().getUserName();
              sendFileButton=new JButton("Dosya G�nder");
              sendFileButton.addActionListener(this);
              inviteButton=new JButton("Davet et");
              inviteButton.addActionListener(this);
              incomingArea=new TextArea();
              incomingArea.setEditable(false);
              incomingArea.setFont(new Font("Verdana",Font.PLAIN,12));
              fontMetrics =incomingArea.getFontMetrics(incomingArea.getFont());
              incomingArea.setPreferredSize(new Dimension(300,300));
              outgoingField=new JTextField();
              outgoingField.addKeyListener(this);
              incomingTextScroller=new JScrollPane(incomingArea);          
              JPanel panel=new JPanel();
              panel.setLayout(new BoxLayout(panel,BoxLayout.PAGE_AXIS));
              panel.add(inviteButton);
              panel.add(sendFileButton);
              panel.add(incomingTextScroller);
              panel.add(outgoingField);
              add(panel);
              pack();
              setTitle("Ki&#351;iler:");
              setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
              setLocationRelativeTo(null);
              addWindowListener(new CloseAdapter());
         //Sends the message to other end
         public void keyPressed(KeyEvent e) {
              if(e.getKeyCode()==KeyEvent.VK_ENTER && e.getSource()==outgoingField)
                   String message=outgoingField.getText();
                   if(message.equals("")) return;
                   showMessage(userName+": "+message);
                   conversation.sendMessages(userName+": "+message);
                   outgoingField.setText("");     
         //Displays the recieved message
         public void showMessage(String message)
              if(fontMetrics.stringWidth(message)>incomingArea.getWidth())
                   int mid=message.length()/2;
                   StringBuilder sbld=new StringBuilder(message);
                   for(;mid<message.length();mid++)
                        if(message.charAt(mid)==' ')
                             sbld.setCharAt(mid, '\n');
                             message=sbld.toString();
                             break;
              incomingArea.append("\n"+message);
    }

  • How can we set the Order block for One-Time Billto-address?

    Hi Experts,
    How can we set Order bolck,if user uses one-time bill to address and needs to trigger workflow for releasing process according to order block.
    Please suggest me.
    Thanks and Regards,
    Kiran

    suggest me pls!!!!

  • How can I set up auto reply on Mozilla Thunderbird email?

    I can't seem to set up auto reply for my email. I need to do this because I will be away from my computer for over a month.

    Please look at what your email provider can offer.
    To do it using Thunderbird, you'll need to leave it running and connected while you're gone. Much better to use someone else's server.

Maybe you are looking for

  • Logical database in web dynpro program

    Hi all, I want to add LDB (PNP) into my web dynpro program.by which i can get the data from database to the Application server.After Authrization check. I also want to use Infotypes 0082 in my program. Points will be sured. Thanks.

  • Returning 2D array from a stored procedure

    hi, i'm trying to return a nested table from a procedure.can any one help me out i'm getting the fallowing error. SQL> ed Wrote file afiedt.buf 1 declare 2 TYPE data_t IS TABLE OF NUMBER 3 INDEX BY PLS_INTEGER; 4 TYPE array_t IS TABLE OF data_t 5 IND

  • My newly changed apple password is not working on my MacBook to help me change my password to log on?

    I just need help changing my password on my MacBook to log in. But my log in password and newly changed apple password are not working. Can I reset it or change the password another way or get a list of past password to try if those might be what the

  • My Facetime keeps freezing and showing poor connection

    I have recently purchased a new iPad mini and when i use Facetime the screen freezes to a blur of the screen image and "poor connection, video will resume when connection improves" appears on the screen. I have been through all the Apple support trou

  • Oracle-java How to fetch data between two Timestamps

    hai... I am using a program where i have to get all the data entered into oracle db between two dates (The first date being manually inputted and the second one is inputdate-24hrs) . The code is as follows.... Connection c = null; PreparedStatement p