Remove focus from JButton?

I am starting a new thread related to my previous thread.
I came to realize that when I call a game object from the GUI menu by clicking on "New Game" button, the focus is set to the button. I found it by using the method, if(newButton.hasFocus()).
However, my problem is not yet finished. I tried game.requestFocus(); also.
But still, the focus is not removed.
Can n e one pls let me know if there is a way to remove focus from the damn button?
Thanks.                         

button.setFocusable( false );Will pevent the button from maintaining focus.

Similar Messages

  • [Flex 4.5.1] How to remove focus from TextInput on mouse click outside of it?

    For me clicking outside of a TextInput should always remove focus from it, only only if you click on another TextInput or Button.
    I don't see any simple event like MouseEvent.MOUSE_CLICK_OUTSIDE - which would definitely simplify things.. I wonder why there isn't such event. Well anyway I can't find any other similar event and I can't figure out an easy way to do this. I also wonder why I couldn't find a solution to this on the web easily... Well anyway...
    Does someone know how to do that in a convenient way?
    Thanks!

    ok I understand why is that. For example I have a TextInput now where the user enters number through buttons which have mouseFocusEnabled = false, so the TextInput doesn't lose focus. But on a TabBar I had to set mouseFocusEnabled = true or when I switched between tabs -> switches between states, I could still type in the TextInput in the previous tab cause it didn't lose focus. Maybe TabBar's default value of that property is wrongly set to false.
    Anyway, not losing focus when clicking outside is still weird. Take for example this forum, if I click outside of the box I am currently writing this, I lose focus. It's how things usually work. And flex focus is designed to work backwards to what people are used to, no matter as I already pointed out I understand there are cases it comes in handly. I hope I don't sound bad but take it just as a suggestion please that maybe if it is redesigned like this: clicking on component gets focus, clicking outside loses focus. But if you click on a button for example and you want to keep the focus on a TextInput cause you add some text, you should be able to set a property on the Button like maintainCurrentFocus = true (false by default), which would make clicking on the Button not shift the focus to it or set it to null if the component is a group that has some rect background for example, but maintain the focus on the TextInput.
    I could be missing something about the current design of how the focus works in flex, but from my point of view at the moment, the design I describe to use is just like how I am usually used to be working with focus as a user, not as developer.
    Maybe you could agree or maybe you know some reason by which things are how they are at the moment that I don't see. But if you think I make sense please let me know, maybe I could fill a minor enhancement request for that ?

  • How to remove focus from a Ring Control in a PDA application?

    Hello,
        In a PDA application, i have observed that when we select a pull-down Ring control, the focus is retained in the control and the text of the control appears highlighted. The only way out is to tap an empty portion of the PDA application screen to remove focus from the control. Is there any way to avoid this? Is there a method to remove focus from the control programatically?
    Note: Version of LabVIEW that we are using: LabVIEW 8.5 Professional Development System for Windows Vista/XP/2000 and LabVIEW 8.5 PDA Module for Windows Mobile.
    Thanks & Regards,
    Subhashini

    Hi Vsh,
        Thanks for ur response. Setting the key focus property node of the ring control to false removed the focus from the control. I guess it was a silly question (have started LabVIEW devp. recently).
    Thanks & Regards,
    Subhashini

  • Removing border from JButton

    * This is a crosspost, hope you don't mind. The earlier post I made was in the wrong forum and in the wrong thread.. *
    I'm trying to remove the border from a bunch of JButtons.
    My code adds custom actions to a custom JToolbar. The code responsible for this looks like this:    JButton button = this.add(action);
        //button.setBorder(new EmptyBorder(1, 2, 1, 2));
        button.setBorder(null);I've tried both lines, and both work and don't work at the same time. In one panel it works but in five others it doesn't. The only difference I see between these two groups is that the panel that works uses a GroupLayout and the other panels use a BorderLayout.
    Also, I'm trying to create an onMouseOver effect similar (well, exactely the same actually) as is used in Eclipse. When the users mouse hover over the button the button should be given a border, when it is not the border should be gone.
    Any help on these issues would be appreciated,
    Jurgen

    This might also help if you want to make a button out of a Componet
    package tjacobs.ui.drag;
    import java.awt.Color;
    import java.awt.Component;
    import java.awt.FlowLayout;
    import java.awt.Graphics;
    import java.awt.event.ActionEvent;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import javax.swing.AbstractAction;
    import javax.swing.Action;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import tjacobs.ui.swing_ex.JLabel;
    import tjacobs.ui.util.RandomColor;
    public class Buttonize extends MouseAdapter {
         private Component c;
         private Action a;
         private static int sNumClicks = 2;
         private int numClicks;
         private boolean showClicks = false;
         private Buttonize(Component c, Action a) {
              this.c = c;
              this.a = a;
              numClicks = sNumClicks;
              c.addMouseListener(this);
          * Main interface to Buttonize. Makes a component double-clickable
          * @param c Component to listen for clicks on. Not null
          * @param a Action to be run when the click count is hit. Not null
          * @return
         public static Buttonize MakeButton(Component c, Action a) {
              if (c == null || a == null) throw new IllegalArgumentException("Invalid Parameters");
              Buttonize b = new Buttonize(c, a);
              return b;
         public void mouseClicked(MouseEvent me) {
              if (TEST) System.out.println("clicked");
              if (me.getClickCount() % numClicks == 0) {
                   int modifiers = me.getModifiers() | me.getModifiersEx();
                   //if (ev == null) {
                        //Object source, int id, String command, long when, int modifiers
                   Component src = (me.getSource() instanceof Component) ? (Component)me.getSource() : c;
                   ActionEvent ev = new ActionEvent(me.getSource(), me.getID(), src.getName(), me.getWhen(), modifiers);
                   a.actionPerformed(ev);
         private static final boolean TEST = false;
         public void mousePressed(MouseEvent me) {
              if (TEST)
              System.out.println("pressed" + me.getPoint());
              if (showClicks) {
                   Component c = me.getSource() instanceof Component ? (Component) me.getSource() : this.c;
                   Graphics g = c.getGraphics();
                   g.setXORMode(Color.BLACK);
                   c.paint(g);
         public void mouseReleased(MouseEvent me) {
              if (TEST) System.out.println("released" + me.getPoint());
              if (showClicks) {
                   Component c = me.getSource() instanceof Component ? (Component) me.getSource() : this.c;
                   c.repaint();
         public void setClicks(int clicks) {
              numClicks = clicks;
         public int getClicks() {
              return numClicks;
         public static void setDefaultClicks(int clicks) {
              sNumClicks = clicks;
         public static int getDefaultClicks() {
              return sNumClicks;
         public void setShowClicks(boolean b) {
              showClicks = b;
         public boolean getShowClicks() {
              return showClicks;
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              JLabel hic = new JLabel("Hic"), haec = new JLabel("Haec"), hoc = new JLabel("Hoc");
              Action a = new AbstractAction() {
                   public void actionPerformed(ActionEvent ae) {
                        System.out.println(ae.getActionCommand());
                        RandomColor rc = new RandomColor();
                        Color c = rc.getRandomROYGBV();
                        ((JLabel)ae.getSource()).setForeground(c);
              JPanel jp = new JPanel(new FlowLayout());
              hic.setName("Hic");
              haec.setName("Haec");
              hoc.setName("Hoc");
              jp.add(hic);
              jp.add(haec);
              jp.add(hoc);
              MakeButton(hic, a);
              Buttonize b = MakeButton(haec, a);
              b.setShowClicks(true);
              //MakeButton(hoc, a);
              hoc.addMouseListener(b);
              JFrame jf = new JFrame("Buttonize Test");
              jf.setContentPane(jp);
              jf.setBounds(100,100,200,100);
              jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              jf.setVisible(true);
    }

  • Remove focus from combobox

    Hi,
    Iam working with SAP B1 2007 .
    A combobox is populated with items.After the user selects the item in it,the focus must be removed from that combobox control to next textbox control.Can anyone suggest me what can I do for this.
    Thanks In Advance

    Hi ,
    Catch the event combo select and then emulate a click on the text control
    using
    oform.Items.Item("textControl").Click
    regards
    Edy

  • Removing focus from a node

    I have a frame in which a scrollpane hold a jtree.
    I picked up the following code from the forum for making sure that only when the right click is on a node, the popupmenu is displayed.
    public void mouseReleased(MouseEvent e) {
                if (e.getButton() == MouseEvent.BUTTON3) {
                    TreePath closestTreePath = tree.getClosestPathForLocation(e.getPoint(), e.getPoint());
                    if (closestTreePath != null) {
                        tree.setSelectionPath(closestTreePath);
                         // select the row in the tree for the path
                        selectedRow = tree.getRowForPath(closestTreePath);
                        YourNode node = (YourNode) closestTreePath.getLastPathComponent();
                       // assuming your popup menu is already created somewhere else
                       popupMenu.show(deviceTree, pt.x, pt.y);
                        selectedRow = -1;
    }by codecraig
    But now the problem is that whenever i do right click anywhere on the tree a node gets selected and the popupmenu is displyed. i want to display the right click is on the node.
    here is my code
    import javax.swing.*;
    import javax.swing.tree.*;
    import java.awt.event.*;
    public class tree_right_click
         //JPopupMenu popupmenu = new JPopupMenu();
         JTree mytree;
         SysPopupListener s = new SysPopupListener();
         public tree_right_click()
              DefaultMutableTreeNode root = new DefaultMutableTreeNode("root");
              DefaultMutableTreeNode l1 = new DefaultMutableTreeNode("level1");
              DefaultMutableTreeNode l2 = new DefaultMutableTreeNode("level2");
              mytree=new JTree(root);
              mytree.addMouseListener(s);
              root.add(l1);
              l1.add(l2);
              JScrollPane treeview = new JScrollPane(mytree);
              JFrame fr = new JFrame("My Frame");
              fr.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              fr.getContentPane().add(treeview);
              fr.setSize(300,300);
              fr.setVisible(true);
              public static void main(String args[])
              new tree_right_click();
    class SysPopupListener extends MouseAdapter
         JPopupMenu popupmenu = new JPopupMenu();
         SysPopupListener()
              JMenuItem part = new JMenuItem("Add detail 1");
              JMenuItem part2 = new JMenuItem("Add detail 2");
              part.addMouseListener(this);
              part2.addMouseListener(this);
              popupmenu.add(part);
              popupmenu.add(part2);
         public void mousePressed(MouseEvent e)
              maybeshowpopup(e);
         public void mouseReleased(MouseEvent e)
              maybeshowpopup(e);
         void maybeshowpopup(MouseEvent e)
              if(e.isPopupTrigger())
                   JTree t = (JTree)e.getComponent();
                   TreePath closestTreePath = t.getClosestPathForLocation(e.getX(), e.getY());
                if (closestTreePath != null) {
                    t.setSelectionPath(closestTreePath);
                     // select the row in the tree for the path
                    int selectedRow = t.getRowForPath(closestTreePath);
                    DefaultMutableTreeNode n = (DefaultMutableTreeNode) closestTreePath.getLastPathComponent();
                    System.out.print(n);
                   // assuming your popup menu is already created somewhere else
                    popupmenu.show(e.getComponent(),e.getX(),e.getY());
                    selectedRow = -1;
    }Please help,
    thanks in advance,
    Puneet

    I made some changes to your code and seems to be working like this:
              if(e.isPopupTrigger()) {
                   JTree t = (JTree)e.getComponent();
                   TreePath closestTreePath = t.getClosestPathForLocation(e.getX(), e.getY());
                   if (closestTreePath != null) {
                        t.setSelectionPath(closestTreePath);
                        // select the row in the tree for the path
                        int selectedRow = t.getRowForPath(closestTreePath);
                        DefaultMutableTreeNode n = (DefaultMutableTreeNode) closestTreePath.getLastPathComponent();
                        System.out.print(n);
                        // assuming your popup menu is already created somewhere else
                        popupmenu.show(e.getComponent(),e.getX(),e.getY());
                        selectedRow = -1;
                   JTree t = (JTree)e.getComponent();
                   TreePath path = t.getPathForLocation(e.getX(), e.getY());
                   if (path != null) {
                        popupmenu.show(e.getComponent(),e.getX(),e.getY());
              }

  • Remove Focus from Main Frame after Jinternal Frame is opened.

    Hi,
    I want to restrict the user to change any thing on main frame once the JInternalFrame is opened (you can see same effect when we execute JOptionPane where focus on main is not retain untill you close the JOptionPane).
    I have written following code to listen the JInternalFrame event
    conn_prop.addInternalFrameListener(new InternalFrameListener(){
    @Override
    public void internalFrameActivated(InternalFrameEvent e) {
    // TODO Auto-generated method stub
    @Override
    public void internalFrameClosed(InternalFrameEvent e) {
    // TODO Auto-generated method stub
    @Override
    public void internalFrameClosing(InternalFrameEvent e) {
    // TODO Auto-generated method stub
    @Override
    public void internalFrameDeactivated(InternalFrameEvent e) {
    // TODO Auto-generated method stub
    @Override
    public void internalFrameDeiconified(InternalFrameEvent e) {
    // TODO Auto-generated method stub
    @Override
    public void internalFrameIconified(InternalFrameEvent e) {
    // TODO Auto-generated method stub
    @Override
    public void internalFrameOpened(InternalFrameEvent e) {
    // TODO Auto-generated method stub
    }}); I tried setEnabled(false) but this is paralyzing entire application
    what piece of code should i write to do that........
    thanks in advance.

    That is not how a JInternalFrame is meant to be used. Read the Swing tutorial on "Using Internal Frames".
    Use a modal JDialog.

  • StopCellEditing () removes focus from table

    Hi,
    i have created a custom cellEditor, when the user presses enter a popupwindow is shown which shows a list of possible values.
    When the popup closes i call stopCellEditing (), in a DefaultCellEditor the focus then remains on the table...but in this case the focus just disappears...
    Anybody with the same focusproblems?
    Nick

    Hi,
    i have created a custom cellEditor, when the user presses enter a popupwindow is shown which shows a list of possible values.
    When the popup closes i call stopCellEditing (), in a DefaultCellEditor the focus then remains on the table...but in this case the focus just disappears...
    Anybody with the same focusproblems?
    Nick

  • Combobox removing focus!? help!

    Why when I use the combobox component does it remove focus
    from other movieclips?? For instance...I have a button with
    onRollOver and onRollOut functions. These work fine, but once I
    click on a combobox, they break...and won't work.
    I've looked in other places but I haven't found a fix for
    this yet. Doing setfocus(this) only puts a ugly yellow highlight
    box around my button, and then kills the swf with an infinite loop.
    Any ideas?

    hi, hold your data in a Hashtable with the value as key
    and the visible text as value,use a renderer for the combobox like here
    class MyCellRenderer extends JLabel implements ListCellRenderer {
    public MyCellRenderer() {
    setOpaque(true);
    public Component getListCellRendererComponent(
    JList list,
    Object value,
    int index,
    boolean isSelected,
    boolean cellHasFocus)
    setText(value.toString());
    setBackground(isSelected ? Color.red : Color.white);
    setForeground(isSelected ? Color.white : Color.black);
    return this;
    in the method getListCellRendererComponent you get your hashtable as object parameter,get the visible text from the hashtable and call setText (..)
    you can also make a combined String with value and text
    and take only the visible text in the renderer(this solution is not so bombastic as before)

  • Combobox removing focus?

    Why when I use the combobox component does it remove focus
    from other movieclips?? For instance...I have a button with
    onRollOver and onRollOut functions. These work fine, but once I
    click on a combobox, they break...and won't work.
    I've looked in other places but I haven't found a fix for
    this yet. Doing setfocus(this) only puts a ugly yellow highlight
    box around my button, and then kills the swf with an infinite loop.
    Any ideas?

    While it depends partly on what is outside the textfield, one way would be to add an event listener to the stage and then check what was clicked.  If it happened to be the stage, set the focus onto the stage.
    stage.addEventListener(MouseEvent.MOUSE_UP, focusStage);
    function focusStage(evt:MouseEvent):void {
        if(evt.target == stage){
           stage.focus = stage;

  • How to keep notification window from stealing focus from main AIR window

    Hi,
    We have an AIR (JavaScript based) chat application that uses the technique posted at the following link to display a notiifcation window each time the user receives a new message.  The notification window gradually fades away after 5 seconds.
    http://cookbooks.adobe.com/post_Creating_a_transparent_notification_window-8226.html
    The technique uses HTMLLoader.createRootWindow to create and display the notification window.
    The issue we are having is that the notification window steals/removes focus from the main AIR window, which is annoying if you are in the middle of typing a message that you want to send to other users.  Once the notification fades away, focus is returned to the main AIR window.
    I searched the AIR documentation to see if there is a way to keep the notification window from stealing focus, but came up empty.  I'm hoping I'm overlooking something.  Can anyone help out?
    Thanks,
    Denis

    Ahmed if i did recognize ur question then...
    Pls Follow this...
    1 - Create New Menu Item Called Window it's properties > Menu Item Type = Magic
    2- Menu Item Type = Magic.
    3- Change Magic Item = Window
    4- Command Type = Null.
    5.Visible In Menu = Yes.
    6.Under Physical 's node >Visible = No.
    Hope this helps...
    Regards,
    Amatu Allah

  • Problem removing focused object from a table

    Hi.
    I have a problem removing a component that is focused from a table. The
    whole row is removed except a single component (JSpinner) in one row.
    My table has three columns, the first two are String fields
    (not editable) and the last is a JSpinner. Since there is no
    Default cell renderer or cell editor for JSpinner I had to
    create them.
    So, if no element of the row is focused then calling the function:
    public void clearTable() {
    setVisible(false);
    dataVector.removeAllElements(); // clear data vector
    setVisible(true);
    works just fine
    but if a spinner in a row is focused them that spinner is left alone "floating" on an otherwise empty table.
    Questions:
    1) Any one has an ideia of what might be the problem?
    2) Do I have to play with Focus to solve this? (hate the idea,
    since always been told to avoid messing with focus, because
    of the problems it normally brings)
    Thanks in advance for the help,
    Rgds,
    Jorge

    The problem is that you need to properly stop the editing operation first.if( myTable.isEditing() ) {
        // If you want to throw away any edits use...
        myTable.getCellEditor().cancelCellEditing();
        // If you want to apply any edits, then end use...
        myTable.getCellEditor().stopCellEditing();

  • How to remove the focus from a tree?

    Hello,
    how can I remove the focus from a tree, so that
    none of the elements in the tree is selected?
    I have tried using the following methods:
    setTreeSelection(null);
    setLeadSelection(IWDNode.NO_SELECTION);
    None of them worked.
    Any help highly appreciated.
    Greetings,
    Tomek.

    Hello,
    it seems I have found a (dirty) workaround to this
    problem. If anyone is interested, details below:
    When the user clicks on a tree node (say A tree),
    I do the following:
    1. request focus on the tree selected by the user
       (say B tree):
      IWDTree foldersTree = 
        (IWDTree)thisView.getElement("TreeFolders");
      foldersTree.requestFocus();
    2. invalidate the A tree (which causes the tree
       to disappear)
      wdThis.wdGetContext().nodeInbox().invalidate();
    3. recreate the A tree (filling the context nodes)
    4. unselect the A tree:
    wdContext.nodeInbox().setLeadSelection(IWDNode.NO_SELECTION);
    Thanks a lot to all of you who have responded.
    Greetings,
    Tomek.

  • Add and remove columns from JTable

    Help me please!
    A try to remove column from JTable. It's removed, but when I try to add column in table, then I get all old (removed early) columns + new column....
    I completely confused with it.....
    Here is my code for remove column:
    class DelC implements ActionListener
              public void actionPerformed (ActionEvent e )
                   int [] HowManyColDelete = table.getSelectedColumns();
                   if (HowManyColDelete.length !=0)
                        TableColumnModel tableCModel = table.getColumnModel();
                        for (int i = HowManyColDelete.length-1; i>-1; i--)
                             table.getColumnModel().removeColumn (tableCModel.getColumn (HowManyColDelete [ i ]));
                   else
                          JOptionPane.showMessageDialog(JOptionPane.getRootFrame(), "Column is not selected!");
         }

    It's little ex for me, I just try understand clearly how it's work (table models i mean). Here is code. All action with tables take place through menu items.
    My brain is boiled, I've try a lot of variants of code, but did't get right result :((
    It's code represent problem, which I've describe above. If you'll try remove column and then add it again, it will be ma-a-a-any colunms...
    I understand, that my code just hide columns, not delete from table model....
    But now I have not any decision of my problem...
    Thanks a lot for any help. :)
    import javax.swing.*;
    import java.awt.*;
    import javax.swing.table.*;
    import java.awt.event.*;
    import javax.swing.table.DefaultTableModel;
    class JTableF extends JFrame
         Object [] [] data = new Object [0] [2];
         JTable table;
         DefaultTableModel model;
         String [] columnNames = {"1", "2"};
         TableColumnModel cm;
         JTableF()
              super("Table features");
              setDefaultLookAndFeelDecorated( true );
              setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
              JMenuBar MBar = new JMenuBar();
              JMenu [] menus =  {new JMenu("A"), new JMenu("B")};
              JMenuItem [] menu1 =  {new JMenuItem("Add row"), new JMenuItem("Delete row", 'D'),  new JMenuItem("Add column"), new JMenuItem("Delete column")};
              menu1 [ 0 ].addActionListener(new AddL());
              menu1 [ 1 ].addActionListener(new DelL());
              menu1 [ 2 ].addActionListener(new AddC());
              menu1 [ 3 ].addActionListener(new DelC());
              for (int i=0; i<menu1.length; i++)
                   menus [ 0 ].add( menu1 [ i ]);
              for (int i=0; i<menus.length; i++)
                   MBar.add(menus );
              JPanel panel = new JPanel ();
              model = new DefaultTableModel( data, columnNames );
              table = new JTable (model);
              cm = table.getColumnModel();
              panel.add (new JScrollPane(table));
              JButton b = new JButton ("Add row button");
              b.addActionListener(new AddL());
              panel.add (b);
              setJMenuBar (MBar);
              getContentPane().add(panel);
              pack();
              setLocationRelativeTo (null);
              setVisible (true);
         class DelC implements ActionListener
              public void actionPerformed (ActionEvent e )
                   int [] HowManyColDelete = table.getSelectedColumns();
                   if (HowManyColDelete.length !=0)
                        TableColumnModel tableCModel = table.getColumnModel();
                        for (int i = HowManyColDelete.length-1; i>-1; i--)
                             int vizibleCol = table.convertColumnIndexToView(HowManyColDelete [ i ]);
                             tableCModel.removeColumn (tableCModel.getColumn (vizibleCol));
                        //cm = tableCModel;
                   else
                        JOptionPane.showMessageDialog(JOptionPane.getRootFrame(), "Column is not selected!");
         class AddC implements ActionListener
              public void actionPerformed (ActionEvent e)
                   //table.setColumnModel(cm);
                   Object NewColumnName = new String();
                   NewColumnName = JOptionPane.showInputDialog ("Input new column name", "Here");
                   int i = model.getRowCount();
                   int j = model.getColumnCount();
                   Object [] newData = new Object [ i ];
                   model.addColumn ( NewColumnName, newData);
         class AddL implements ActionListener
              public void actionPerformed (ActionEvent e)
                   int i = model.getColumnCount();
                   Object [] Row = new Object [ i ];
                   model.addRow ( Row );
         class DelL implements ActionListener
              public void actionPerformed (ActionEvent e)
                   int [] HowManyRowsDelete = table.getSelectedRows();
                   if (HowManyRowsDelete.length !=0)
                        for (int k = HowManyRowsDelete.length-1; k>-1; k--)
                             model.removeRow (HowManyRowsDelete[k]);
                   else
                        JOptionPane.showMessageDialog(JOptionPane.getRootFrame(), "Row is not selected!");
         public static void main (String [] args)
              javax.swing.SwingUtilities.invokeLater(new Runnable()
                   public void run()
                        JTableF inst = new JTableF();

  • How to remove a from email address when composing a new email?

    when I compose a new email in the from drop down list there are three emails that are mines that i can use. there is an @icloud.com email there that i did not create. how do i remove it?

    Hi, AC360.
    First, ***** won't help you here. People here are users just like you and I, and as both of us, they like to be treated with respect. So, adding bad-word-like characters won't get you any faster or closer to your solution. And even if you don't want it, you got it. iCloud is here to stay and until Apple decides to change its cloud-based service name, we'll all have icloud.com e-mail addresses.
    But as stated before, you didn't lose your @me.com address and you're not forced to use your icloud.com one.
    Now, focusing on your problem, since you're annoyed because the @icloud.com address is listed in your "from" drop-down, you can simply remove it from there by:
    1. Access iCloud web interface at www.icloud.com
    2. Click the Mail icon (it's the blue one with an envelope in the middle. You can't miss it. )
    3. On the top right corner of the next screen, you'll see a gear-like icon. Click it.
    4. Click "Preferences"
    5. Click "Composing"
    6. In the "Send From" section, uncheck the address [email protected] (where "yourname" is your own iCloud username)
    7. Click "Done"
    8. You're done.
    See? Problem solved. Now you can sleep tight not worrying about what Bad Apple tried to force down your throat.
    Hope I have helped.
    Be good, stay calm, and respect other children here at the playground, ok?
    Cheers,
    JP

Maybe you are looking for

  • Umlaut Conversion issue in Sender communication channel SAP PI

    Hi Gurus, We are facing issue while conversion. umlaut Conversion issue in Sender communication channel that is reason channel not able to pic the file from the path. Sender CC error: Value of incoming field is too large. Segment:'IMD', Field:'7008',

  • Xbox live

    I have an ASA 5501 running latest code. Per the article at http://support.microsoft.com/kb/908874, I need to open the below ports. I have 5 Xboxes (when people come over) and they all have a static IP. My network is 192.168.0.x and is a /24 network.

  • Olympus E-30 RAW shifted left and top - no more DNG workaround

    Hi folks, something very strange happens again, unfortunately: Aperture shifts the Olympus RAW photos (.ORF) relatively to the JPG to left and top. Only E-30, but iPhoto and Aperture with same failure. Converting the ORF by Adobes DNG Converter was a

  • Migration from PC-Mac not working

    Any suggestions on how to transfer files from a Windows 7 PC (HP pavilion dv5) to my new Macbook Pro?. I downloaded Migration assistant on my PC and it starts transferring data then after about 20-30 minutes it just crashes on the PC saying 'migraton

  • Is it possible to sync a folder from another drive?

    i have a imac with a partitioned drive for pro tools and wondered is it possible to set portable home directories to sync a folder on that drive as well as the standard user documents library?