Hi all i hv intersting problem of event what should i do.

Intially i hd a
<br>
Textfield t=new Textfield();
<br>
when i press enter than automatically it call<br>
<b>
public boolean handleEvent(event e){....it contain stuff here on base of event.target...}</b>
As i hv noted that awt textfield hv action event(when press enter)
and swing field do not
hv(might be i m wrong).Infact my situation is such that i must need<br>
JTextfield(for internationlization purpose may be possible for Textfield but
i do not know)but i need also an action event.
<br><br>
For this purpose i hv
arranged a button with this JTextfield but
when i manually call handleEvent(event e) of
Textfield as stated above) here<br><br>
public void actionPerformed(ActionEvent){
handleEvent(e);
Definately it is giving me error bcz e is ActionEvent instance.
Now what should i do
plz a solution bcz i hv spent much time to compose this problem
thanx for reply

JTextField does have addActionListener(); and setActionCommand(String s);

Similar Messages

  • Why am I facing so many problem after upgrading to ios7, my phone hangs/stuck many times, applications just stop working and close themselves, battery drainage,Facebook and all applications don't work properly. What should I do? They punished me for upgra

    I'm using iPhone 5
    Why am I facing so many problem after upgrading to ios7, my phone hangs/stuck many times, applications just stop working and close themselves, battery drainage,Facebook and all applications don't work properly. What should I do? They punished me for upgrading to ios7. I now hate apple and I'm thing of getting samsung.

    Basic troubleshooting
    Reset
    Restore with backup
    Restore as new ( better )

  • This sign appeared in my account: "Your payment method was declined. Update your biiling info'. After adding new information about my others cards I see the same sign. Can't understand what the problem is and what should I do. Need help!!!

    This sign appeared in my account: "Your payment method was declined. Update your biiling info'. After adding new information about my others cards I see the same sign. Can't understand what the problem is and what should I do. Everything used to be good before.
    Do anyone know what I supposed to do in that situation?
    Really need help!
    Thanks in advance.

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Photoshop cs6 is not working in windows 7 64 bit while all other cs6 programs are working.. what should I do make it work

    hi guys,
    My photoshop cs6 is not working in windows 7 64 bit while all other cs6 programs are working.. what should I do make it work?
    My OS is windows 7
    RAM - 8gb
    HDD - 1 TB

    are you getting any errors?
    and secondly and I know this from experience, ( but on 32 bit ) is it loaded already as in sat in task manager, but not actually get at able, killing the processes cures it or a reboot of course

  • Computer will not boot up on usb cd rom to repair windows problem (corrupt file) what should i do

    computer will not boot up on usb cd rom to repair windows problem (corrupt file) what should i do

    Which computer? Which Windows?
    What are you trying to do?
    -Jerry

  • I opened my computer and all the icons on my desktop were itunes icons, so I uninstalled itunes and it went back to normal, then I installed itunes again and the same problem happened. What should I do?

    I opened my computer and all the icons on my desktop were itunes icons, so i uninstalled it, then reinstalled it and i happened again. What should I do?

    Morning Akmal345,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at this article:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    iPhone not appearing in iTunes
    http://www.apple.com/support/iphone/assistant/itunes/
    iOS: Unable to update or restore
    http://support.apple.com/kb/ht1808
    Best of luck,
    Mario

  • ADE suddenly quit working for all users on my Vista computer.  What should I do?

    Please help.
    Adobe Digital Editions quit working for all users on my Wndows Vista computer after I tried several times to install a book that wouldn't install.  The book is one of three I recently purchased even though the other two installed with no problem.  Other books were already installed. 
    I uninstalled and re-installed ADE with the latest version and tried again after clearing out the "My Digital Editions" folders by moving the contents elsewhere.  The same problem occurs with all users on my computer.  
    The program runs showing no books or bookshelves despite contents in the "My Digital Editions" folder.  If I try to "Add to Library,"  the program shuts down and shows nothing- not even an error message when re-run.  Even though I'm only able to create a bookshelf, no bookshelf appers when the program is re-run.
    I even tried de-authorizing and re-authorizing my computer.
    What should I do? 

    HI
    Whilst your Apple ID (presumably the @mac.com) may have been the original and been linked to @me.com at the MobileMe period and then to iCloud (@icloud.com) you need to keep to the same Apple ID through out (the iMessages server seems to treat them as different IDs to some extent).
    In the Finder use the Go Menu > Go to Folder and enter ~/Library/Preferences
    Find and Drag to the Trash com.apple.ids.service.com.apple.madrid.plist
    On the iPhone remove those emails that are not the Apple ID in use.
    On Restarting the Mac version you will have to re-enter the Apple ID.
    If you then restart again you should get the pop ups to say what the iPhone is using (linking the iPhone number to the Apple ID)
    Once you enable Text Forwarding on the iPhone then the Mac Version should generate and show you the Code to then enter in the iPhone's dialogue box to pair the devices.
    If each Contact is turning red as you try to Send and reporting that the Contact is "Not Registered with iMessages" then you have a different issue.
    This is caused by a partial login to the iMessages server and it seems it is one of those that only contacting Apple Support and saying you have an Account issue with the iMessages server from your Mac can it get sorted. (make sure you say it is an Account issue)
    Of course it is the iPhone that is actually sending the SMS messages so it does need to have Carrier service at this point.
    8:56 pm      Monday; October 27, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • My ipod touch got stolen and i didnt download the tracker... i really need it back it has all my information on it..  What should i do? Can i download it on another ipod to find it?

    My ipod touch got stolen and i didnt download the trackking app i really need it back it has all my music and information on it.. What should i do? Can i use another ipod to download the app and find it on someone elses? Please help

    No app is required.                                               
    - If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
    - You can also wipe/erase the iPod and have the iPod play a sound via iCloud.
    - If not shown, then you will have to use the old fashioned way, like if you lost a wallet or purse.
    - Change the passwords for all accounts used on the iPod and report to police
    - There is no way to prevent someone from restoring the iPod (it erases it) using it.
    - Apple will do nothing without a court order                         
    Reporting a lost or stolen Apple product                                        
    - iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number

  • All of my headphones are breaking! What should I do? (More info below)

    My iPod seems to break headphones- I've gone through multiple pairs. Usually one side of the headphones stop working for no reason and then a few days later the other side stops working. This has only happened with my iPod touch (5th gen-newest). I've replaced the same iPod before and the problem hasn't gone away. I'm pretty sure it is not me because it is only with the new iPod, and I make sure they don't get twisted. What should I do?  

    Are you saying that the headphones do not work in other devices? If so then make an appointment at the Genius Bar of an Apple store. Bring the bad headphones. If your iPod is defective and not abused Apple will exchange it at no cost
    Apple Retail Store - Genius Bar                          

  • [GeForce 6] I'm Cheated/receive wrong specs...MSI 6800GT, a Problem...what should i do...???

    I recently bought a graphics card which is the MSI 6800GT...after i browse aroung the net i found out that MSI has flawlessly manufactured the card by putting an NV40 gpu instead of NV45...
    below are the links and news about it:
    Link 1
    Lnik 2
    Link 3
    Link 4
    MSI Responds Here...
    MSI Will Replaced the Cards.....
    Confusing & Confusion
    What should i do....Should i go straight away to Cycom and ask them about replacing my cards....or should i contact MSI distro here in Malaysia...which is just to be Enlight....

    antonio_zth,
    MSI sells over a million Vid Cards a Month. There were a total of 350 vid cards with the wrong Pipelines and Vertex Units. I had one of them, so that only leaves 349 of them out there. By now all the Vid Cards in question should have been sent in to MSI and swapped out.
    I would run Riva Tuner and see how many Pipelines and Vertex Units your Vid Card, if you have 16 Pipelines and 6 Vertex Units, then you have the correct card.
    Take Care,
    Richard

  • I set up firefox sync on two desktops; setting it up on a third fails with "unknown error" after I input the key. All other add-ons are disabled. What should I do?

    I followed the same procedure in adding a device for the second and for the third. The second one worked, but not the third.
    As far as I know, all software is up to date.

    ok.. I tried this three times and kept getting that access denied thing when I clicked post my questions. So now maybe I wont have to typ this a fifth time....
    I have a MAC computer with Sync. Was set up under sync Beta. I have an Android phone synced to it that was synced using the pair this device function. It works perfectly. I just got a new Android Tablet and am trying to add it to my sync and it does not seem to have the pair my device function. It insists I log into my sync account. So I try it and it tells me invalid userid/password. I verify and it is the exact email address userid that shows as being my sync account on the MAC. I verify the password on the MAC and it tests out fine. Try the tablet again and invalid.. So I try to reset my password on the tablet and am told my email address/account name does not exist. I just verified it AND Synced my MAC using it!! I have my recovery Key but there is no place to input it into the tablet. There is no place on tablet to enter the link device codes. How can my account be valid and in use on two devices but invalid and nonexistant on the new one? And How do I get the New one to sync with other two?

  • I moved and change my email address so now with my new email address all the songs singed except my apps what should I do without buying all my adds again. Could you help me please in order for me of not buying all my apps again. Thank you I

    Is any way that I can tranfer and updetes all my apps in to my computer and devices? Also I would like to delite completly the old email address so I could update all my devices and computer please?

    1) Create a new CSS document and save as mylinks.css.  Paste the following code in Code View:
    /* CSS Document */
    /**link styles**/
    a:link {color: red; text-decoration: none;}
    a:visited {color: silver; text-decoration: none;}
    a:hover {color: yellow; text-decoration: underline;}
    a:active, a:focus {color: green}
    2) Create a new HTML document and save as links.html.  Paste this code in Code View between the <body> and </body> tags:
    <ul>
    <li><a href="somelink.html">Item 1</a></li>
    <li><a href="somelink.html">Item 2</a></li>
    <li><a href="somelink.html">Item 3</a></li>
    <li><a href="somelink.html">Item 4</a></li>
    </ul>
    3) Link a stylesheet to your HTML document:  In the CSS Properties Pane you will see a little link icon to attach a stylesheet.
    Within your HTML page you should see a link to your stylesheet between the <head> and </head> tags.
    <link href="mylinks.css" rel="stylesheet" type="text/css" media="all" />
    Did this help?
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics |  Print | Media Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • I turned off my iMessage on my iphone4 and went to turn it back on but it stil saying waiting for activation I have tried everything and don't know what the problem is..what should I do?

    I turned off my iMessage on my iphone4 I tried turning it back on but it won't work it's not letting me turn it back on I have tired everything but nothing will work it keeps saying waiting for activation I don't what the problem is what do I do!

    Currently down:
    http://www.apple.com/support/systemstatus/

  • Problem with event handling

    Hello all,
    I have a problem with event handling. I have two buttons in my GUI application with the same name.They are instance variables of two different objects of the same class and are put together in the one GUI.And their actionlisteners are registered with the same GUI. How can I differentiate between these two buttons?
    To be more eloborate here is a basic definition of my classes
    class SystemPanel{
             SystemPanel(FTP ftp){ app = ftp};
             FTP app;
             private JButton b = new JButton("ChgDir");
            b.addActionListener(app);
    class FTP extends JFrame implements ActionListener{
               SystemPanel rem = new SystemPanel(this);
               SystemPanel loc = new SystemPanel(this);
               FTP(){
                       add(rem);
                       add(loc);
                       pack();
                       show();
           void actionPerformed(ActionEvent evt){
            /*HOW WILL I BE ABLE TO KNOW WHICH BUTTON WAS PRESSED AS THEY
               BOTH HAVE SAME ID AND getSouce() ?
               In this case..it if was from rem or loc ?
    }  It would be really helpful if anyone could help me in this regard..
    Thanks
    Hari Vigensh

    Hi levi,
    Thankx..
    I solved the problem ..using same concept but in a different way..
    One thing i wanted to make clear is that the two buttons are in the SAME CLASS and i am forming 2 different objects of the SAME class and then putting them in a GUI.THERE IS NO b and C. there is just two instances of b which belong to the SAME CLASS..
    So the code
    private JButton b = new JButton("ChgDir");
    b.setActionCommand ("1");
    wont work as both the instances would have the label "ChgDir" and have setActionCommand set to 1!!!!
    Actually I have an array of buttons..So I solved the prob by writting a function caled setActionCmdRemote that would just set the action commands of one object of the class differently ..here is the code
    public void setActionCommandsRemote()
         for(int i = 0 ; i <cmdButtons.length ; i++)
         cmdButtons.setActionCommand((cmdButtons[i].getText())+"Rem");
    This just adds "rem" to the existing Actioncommand and i check it as folows in my actionperformed method
         if(button.getActionCommand().equals("DeleteRem") )          
                        deleteFileRemote();
          else if(button.getActionCommand().equals("Delete") )
                     deleteFileLocal();Anyway thanx a milion for your help..this was my first posting and I was glad to get a prompt reply!!!

  • I downloaded a security update & when i tried to open firefox afterwards ,I couldn't open it. have a DEP settings problem i tried to change my computer's DEP settings but was notified i couldnt for firefox,what should I do?

    I was prompted to downloaded a security update & so I did. when i tried to open firefox afterwards ,I couldn’t open it. My computer told me I had a DEP settings problem.I tried to change my computer's DEP settings but was notified i couldn't for firefox. I tried the uninstall & then install Firefox again route (could not even do it in safe mode since i can't even open firefox)but still had the same problem afterwards. What should I do?

    Do a clean (re)install and delete the Firefox program folder (C:\Program Files\Mozilla Firefox\).
    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 10.0.x: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible.
    *Do NOT remove personal data when you uninstall the current version or you lose your bookmarks and other data because all profile folders will be removed.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

Maybe you are looking for

  • Performance Tuning Memory

    I have an application where I expect to be pushing the bounds of the process memory limit on windows. I have done a lot of optimization to make sure that I am using as little memory as possible. I expect it to be around 650M given my current data set

  • PLease help!! cannot make install php with oci8 instant client

    Cannot make install : Installing PHP SAPI module: cgi Installing PHP CGI into: /usr/local/bin/ Installing PEAR environment: /usr/local/lib/php/ ld.so.1: php: fatal: libnnz10.so: open failed: No such file or directory *** Error code 137 The following

  • I Just Got A Mini. & I was woundering.

    Each time i take the music off a friends computer it'll delete all my previous music, and just add the new music from their computer. But when i attatch my IPod back to my computer all the new music i had dissappears, is there anyway i can make it st

  • Steps after buying a used iPhone 6

    I'm buying a used iPhone. What steps should I take immediately after I receive the iPhone, to make sure that everything is OK, that I got what I paid for, and that I'm not receiving a lemon? For instance, it might be nice to check that it wasn't repo

  • X220- password Synchronisation

    Hi, My Laptop daily sends a message saying my passord has changed recently and requires the password to be synchronised. After entering my windows password it give the message "Authentication Failed" and provides the option to cancel or retry. None o