I have Point, how can I get the component of this Point?

Hi, everybody!
Can U help me!
I have 10 block in 1 applet. After 1 even, I kept the Point of the block, just made even. I want remove the block, which have the point. Then I use method getComponentAt() but I can't.
Anyone tell me the way to process.
Agains, I have the Point, how can I get the component of this Point?
Thanks so much!

That makes no difference, as you can still use this method with AWT.
// parent is you main Frame or Dialog window.
Component parent;
// target is the AWT component that the user has clicked on.
Component target;
// "e" is is your click event.
MouseEvent e;
target = SwingUtilities.getDeepestComponentAt(parent, e.getX(), e.getY());

Similar Messages

  • I have a Mac Pro OS 10.7.5 and have a DVD+R disc with files on it, but it ejects the disk after about 10 seconds--what to do?  How can I get the data off this disc?  I can see it has been already burned, so files are on there?

    I have a Mac Pro OS 10.7.5 and have a DVD+R disc with files on it, but it ejects the disk after about 10 seconds--what to do?  How can I get the data off this disc?  I can see it has been already burned, so files are on there?

    Try cleaning the lens and see if that will restore functionality to the DVD drive.  Use a DVD lens cleaning disk, if you have a can of compressed air, shoot some into the slot or wrap a fine microfiber cloth (eyeglasses cleaning cloth)  around a business card and insert it gently inside the slot.
    If no success, make an appointment at an Apple store genius bar and get a free diagnosis from them.
    Ciao.

  • How can I get the component LTC1060 in the multisim 10 library ?

    How can I get the component LTC1060 in the multisim 10 library ?

    ahnsei ,
    This is a switched capacitor filter - with a variety of configurations for each mode of operation based on the switching frequency.   To create a transistor level SPICE model would be unrealistic (which is probably why you haven't found one), so I would suggest looking at the datasheet and specifically, looking at each mode of operation and seeing if you can approximate the filter topology with an expression for the transfer function given in the datasheet (by calcuting based on the switching frequency).
    Based on the expression you get, you can use the Multisim component "TRANSFER_FUNCTION_BLOCK" to plug in the correct transfer function and thus approximate the behavior of the filter in the circuit.
    This transfer function can be found in the Master database -> Sources -> CONTROL_FUNCTION_BLOCKS.   There was a previous discussion giving some additional details on how to setup the transfer function block:
    http://forums.ni.com/ni/board/message?board.id=370&thread.id=3987
    Regards,
    Patrick Noonan
    Business Development Manager
    National Instruments - Electronics Workbench Group
    50 Market St. 1-A
    S. Portland, ME 04106
    Email: [email protected]
    Tel. (207) 892-9130
    Fax. (207) 892-9508 

  • HT2534 What is iTune gift card? How can i get the code from this?

    What's iTune gift card? How can i get the code from this?

    "What's iTune gift card?"
    It is a gift card like any other gift card.  It is a card that contains credit for purchases in the itunes store.
    "How can i get the code from this?"
    Genreally there is a scratch of area under which the code lies.

  • I Have an older IPod Mini that was synced to a computer I no longer have. How can I get the song on it to a new Library without losing the songs

    I have an older IPod Mini that was synced to a computer I no longer have. How can I move the songs on it to a newer library without losing the songs?

    iOS: Unable to update or restore

  • My itunes account shows i have 1500 plus pictures. how can i get the pictures from this account to my windows computer

    my itunes account shows i have 1500 plus pictures. how can i transfer those to my computer

    If the pictures in question were taken with the device, copy them to the computer as would be done with any other digital camera.
    If the pictures were synced to the device via iTunes, they should already be on the computer.

  • How can i get the component value which is in jtable

    hi all,
    i have a JTable and i added JSpinner component in 1st column.
    i want to get the value of the component.
    i tried to get the value using the following code
    for(int i=0;i<5;i++)
    ((JSpinner)tableDisbursals.getEditorComponent().getComponentAt(i,1)).getValue()it throwing NullPointerException
    is that correct? what i did
    thanks in advance
    daya

    hi all,
    thanks for replay
    the following code is demo
    import hivosCommonMain.function.ComProperties;
    import hivosCommonMain.function.FillCompFN;
    import java.awt.Component;
    import java.util.Date;
    import java.util.Vector;
    import javax.swing.AbstractCellEditor;
    import javax.swing.JFrame;
    import javax.swing.JSpinner;
    import javax.swing.JTable;
    import javax.swing.JTextField;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.table.TableCellEditor;
    public class SpinnerDemo extends JFrame{
         DefaultTableModel tableModel;
         JTable table;
         private String[] columnNames = {"First Name",
                "Last Name",
                "Sport",
                "# of Years",
                "Vegetarian"};
         private Object[][] data = {
                   {"Mary", "12/Aug/2005",
                   "Snowboarding", new Integer(5), new Boolean(false)},
                   {"Alison", "12/Aug/2005",
                   "Rowing", new Integer(3), new Boolean(true)},
                   {"Kathy", "12/Aug/2005",
                   "Knitting", new Integer(2), new Boolean(false)},
                   {"Sharon", "12/Aug/2005",
                   "Speed reading", new Integer(20), new Boolean(true)},
                   {"Philip", "12/Aug/2005",
                   "Pool", new Integer(10), new Boolean(false)}
         public SpinnerDemo(){          
            tableModel     = new DefaultTableModel(data, columnNames);
            table   = new JTable(tableModel) {
                 public boolean isCellEditable(int row, int col) {
                      return true;
            table.getColumnModel().getColumn(1).setCellEditor(new MyCellEditor());
            Component c = table.getEditorComponent();
            Component c2 = c.getComponentAt(1, 0);
            JSpinner spinner = (JSpinner)c2;       
            System.out.println(spinner.getValue());
            getContentPane().add(table);
            setVisible(true);
            pack();
         public static void main(String args[]){
              new SpinnerDemo();
         class MyCellEditor extends AbstractCellEditor implements TableCellEditor {
              JSpinner sDate;
              Object value;
              public MyCellEditor() {
                   sDate = new JSpinner(FillCompFN.getJSpinnerModel());
                   sDate.setEditor(new JSpinner.DateEditor(sDate, ComProperties.DATE_FORMAT));
                   ((JSpinner.DefaultEditor)sDate.getEditor())
                                       .getTextField().setHorizontalAlignment(JTextField.RIGHT);
                   sDate.setOpaque(true);
              public Object getCellEditorValue() {
                   return ((JSpinner.DefaultEditor)sDate.getEditor())
                        .getTextField().getText();
              public Component getTableCellEditorComponent(JTable table,
                   Object value,
                   boolean isSelected,
                   int row,
                   int column) {
                   this.value = value;
                   try{
                        if(value.toString().length() > 0)
                             ((JSpinner.DefaultEditor)sDate.getEditor())
                             .getTextField().setText(value.toString());
                        else
                             sDate.setValue(new Date());
                   }catch(Exception e){
                        e.printStackTrace();
                        sDate.setValue(new Date());
                   return sDate;
    }

  • TS1702 Just bought  iPad Air. All apps from previous iPad transferred over except one game. How can I get the app on this iPad? It does not even show up in purchased apps.

    Just bought an iPad Air. All apps from previous iPad transferred over except one. The app does not appear in my purchased apps. How can I move this app over?

    Some apps do indeed come off the market.  The vendor stops selling or supporting them for whatever reason.
    That is likely what happened.
    See if the app is still in the App Store.  If so, you can download it.  If not, it is gone.

  • How can I get the component CLC520 in the multisim 10 library ?

    I cannot find the National Semiconductor Chip CLC520 in the Multisim library

    Hi Mart.
    Here is the link where you can find the model.
    http://www.national.com/models/spice/LM/LMH6502.MO​D
    To create a new component have a look at this link:
    http://zone.ni.com/devzone/cda/tut/p/id/3173
    Best regards.
    Tien Pham
    Tien P.
    National Instruments

  • How can I get the attributes for this tag?

    THis is the tag:
    <InvoiceQueryRs requestID="1" statusCode="0" statusSeverity="Info" statusMessage="Status OK">
    But when I do a nodeType() is returns a "1" which is Element. Shouldn't it return Attribute type?
    org.w3c.dom.Document xDoc = xml.parseXML(false);
    Element el = xDoc.getDocumentElement(); //Using DOM API
    NodeList nl = el.getElementsByTagName("InvoiceQueryRs");
    NodeList nl = el.getChildNodes();
    for(int c = 0; c < nl.getLength(); c++) {
    System.out.println(nl.item(c).getAttributes());
    This code returns a "com.ibm.xml.dom.NamedNodeMapImpl@88f03c" for the attributes. I also tried a NamedNodeMap with similar results. Please help if you can!
    THanks
    Bill

    Nevermind, I got it. Thanks.

  • Hi, I purchased apple applications and did not receive receipt, how can I get the receipt?

    Hi,
    I purchased some apple applications and already paid for this in my credit card, but I did not get receipt for it.
    The purchase was on July 5, 2012.
    How can I get the receipt for this purchase?
    Thanks!

    Call the Apple Store and inquire. I believe I read that it can take several weeks for them to send the card, but I'm not certain. The store should be able to tell you.
    Regards.

  • Iphone4 would not restore Error -50. I have tried to restore and it restored it to the point that it created after 5.0 was installed. How can I get it an older restore point from my backups and restore it on another computer? The phone has been wiped out.

    Iphone would not restore---- Error -50. I have tried to restore, and it restored it to the new point that it created after 5.0 was installed. How can I get it an older restore point from my backups and restore it on another computer? The phone has been wiped out. I can see earlier backups in my C:\Documents and Settings\user\Application Data\Apple Computer\MobileSync\Backup folder. There are four subfolders in this address. I need my contacts, photos, and messages back. I know this is a common error but I can not figure it out. I have ran the other troublshoot items in the error steps for 13 and 14 like apple says. Is there a way to call apple and get a step by step of how to restore from another restore point? Does anybody have a solution????

    It tells you to go to Error 13 and 14 if you receive error (-50).
    Here is what I have tried...
    Error 13 and 14: These errors are typically resolved by performing one or more of the steps listed below:
    Perform USB isolation troubleshooting, including trying a different USB port directly on the computer. See the advanced steps below for USB troubleshooting. I have moved it around to different ports.
    Put a USB 2.0 hub between the device and the computer. Didn't change anything.
    Try a different USB 30-pin dock-connector cable.
    Eliminate third-party security software conflicts. Removed all virus protection and firewall.
    There may be third-party software installed that modifies your default packet size in Windows by inserting one or more TcpWindowSize entries into your registry. Your default packet size being set incorrectly can cause this error. Contact the manufacturer of the software that installed the packet-size modification for assistance. Or, follow this article by Microsoft: How to reset Internet Protocol (TCP/IP) to reset the packet size back to the default for Windows.Used the Microsoft fix it.
    Connect your computer directly to your Internet source, bypassing any routers, hubs, or switches. You may need to restart your computer and modem to get online. Doesn't matter.
    Try to restore from another known-good computer and network. I do not know how to do this or how to find the correct/full/complete restore point. There should be more information for this.

  • CS3: Rotated page item: How can I get the top-right point

    Hi
    I have a rotated page item. Now I should have the top-right and the bottom left point. If I get the rectangle of this page item I only have the top-left and the bottom-right point. And I can read the rotation angle.
    - How can I get the missing points?
    Thanks
    Hans

    Algorithmically speaking (ie, this is NOT real code), isn't it just something like:
    if page.rotationAngle == 90 then
    origTopLeft = (newBottomRight.Y, newTopLeft.X);
    else if page.rotationAngle == -90 then
    origTopLeft = (newTopLeft.Y, newBottomRight.X);
    else if page.rotationAngle == 180 then
    origTopLeft = newBottomRight;
    else
    origTopLeft = newTopLeft;

  • How can I get the iCloud/iTunes password for my (now) deceased Father-in-Law's Imac?  I have a list of his passwords, but nothing works!

    How can I get the iCloud/iTunes password for my (now) deceased Father-in-Law's iMac?  I have a list of his passwords, but nothing works!  I know his email, but that account has been cancelled for security purposes, so we can't just request a new one.  I tried his security questions to no avail.
    Thanks

    Since that password is tied to his Apple ID, you will need to contact Apple; as far as I know, it will be a somewhat lengthy procedure and you will  need to furnish necessary paperwork (including a death certificate as far as I know). Best to either stop at an Apple store or call them to find out exactly what it is you need to do.

  • I have all my music on an external media drive that has crashed. How can I get the music of my ipod touch back onto the comupter without loosing the music when it syncs?

    I have all my music on an external media drive that has crashed. How can I get the music of my ipod touch back onto the comupter without loosing the music when it syncs. in order to start rebuilding my music collection?

    You should be able to recover the media with the tips in  this post from forum regular Zevoneer but I'm not sure what the implications are for your application settings. You can probably transfer your purchases into a newly authorised library, backup the device, recover any other media using third party tools, then restore the device from the backup. That should switch the assocation of the device to the new library but it is not something I've personally tested.
    When you get it all working, make a backup!
    tt2

Maybe you are looking for

  • MFP M177FW non standard paper sizes

    hi all i'm using libreoffice on both windows and linux (mint ubuntu and debian testing) and sometimes i have to print on very non standard sizes: 102 * 333 mm it's a huge pain to decently print on such a paper: is there an easy workaround, especially

  • Fade to Black greyed out

    Hey All: So I've got a few clips and some background music.  Nothing too challenging.  However, I'm trying to fade one clip out into a second clip, however the fade to black is greyed out.  What gives?  Thanks!

  • Stuttered scrolling and size changing

    If I use the thumbnail size slide bar at the bottom right corner of iPhoto to change the view of either events or faces or photos within albums it is incredibly slow and stuttered, to the point of it taking several attempts to grab and slide the bar.

  • How to Tistrict the Tables

    Hi, When i am trying to drag the table from Catalog pane to Content Pane but in catalog pane it showing the all tables including the system tables also. How to see or Ristrict the table to a particular user and where we can give all these?? Thanks in

  • Shared Outlook 2013 Categories

    I work in an office in which we share outlook calendars for scheduling. We have one calendar for scheduling that we use as an office. One of the people shared to the calendar can not use the categories that are used on the calendar. This persons cate