ActionListener new way to use ?

cancelButton.addActionListener (new ActionListener ()
public void actionPerformed (ActionEvent e)
System.exit(0);
This is an small piece of code that I am having some troubles with, when using it with J2SE 5.0 , no compilation errors are returned or anything, but on clicking the button, the code is not executed but when I compile and run the code with J2SE 1.4.2 , it works perfectly. Is there some new way to invoke the actionPerformed or am I just an complete idiot ?

im sorry - problem found, for some reason when i run the code with netbeans, it doesn't work but when i compile and run via the command line, it works perfectly fine.

Similar Messages

  • Wow! Thanks to Lilybiri's blog I have learnt a whole new way of using CP!

    Like the subject says, I have a new friend in CP and have whole new way of using and editing CP files, especially FMR.
    I know, you are all probably familiar with these features, but really, they make my whole aproach to my working with CP and is much more owerfull that I first thought (or didn't think - whatever) ;-)
    http://blogs.adobe.com/captivate/2010/09/fmr-swf-edit.html
    Thanks Lilybiri, much appreciated.
    Cheers
    Rossco

    Agree with both of you. I knew Captivate as primarily a demo capture tool which can do a bit of e-learning work.
    But that changed when I discovered blogs/ websites of all the experts (You, Rod, Jim, Anita, CPguru, etc.) here. Especially the advanced actions and JavaScript (which I am yet to learn) opened up a whole new world of possibilities. One example of that is, we now use Shared Actions as reusable components.
    Following various forums such as this one and the ones on LinkedIn have helped in knowing what others are working on and learn from them.
    Sreekanth

  • Nokias new way to use photo's

    I have sent this email and talked with nokia care and had no luck. Maybe in this forum I have a better chance.
    ----email to nokia-------
    I am a dedicated Nokia phone user and have been from the nokia 2110 till now (N80). I do have to say that I believe that Nokia makes the best intuitive and logic phones in the world. Because of this I feel that I should mention that I see an issue in the new way to use photos and would like to make you aware of some customer feedback. Let me try to explain what I mean with this issue.
    Nokia has changed to Symbian OS with the Nokia 7650. (Great/Best Phone at that time) In that phone it was supported to add photo’s in separate folders on your Memory card via the PC. When showing photos to colleagues I would be able to choose a directory (for example marketing) and this would only show the pictures that are in that folder. This was also the case with the Nokia 6600 that I bought as soon as it became available. I had skipped to buy the Nokia 6680 as the N70 was coming out quickly after the 6680. I have now used the N70 for 6 months and have no way of separating private pictures and work pictures. The N70 uses the Gallery to show pictures and movies simultaneously this is very messy as it does not show folders but all the files that are in subfolders together. When installing for instance TomTom the gallery will show my private photos together with work photos and the TomTom signs (pictures of speed signs) photos all at once. In order for me to show a picture to someone, I have to scroll trough 650 pictures in stead of easily clicking on the right Directory that has that specific category of photos. This makes in my opinion the whole gallery option useless for mass usage.
    I can give you several reasons (which actually have occurred with several users of the new gallery) on why users would not what to scroll trough their whole photo archive just to show some one a picture. Just think of separation between private photos and work photos. I would not what to let someone see my private photo’s while scrolling to a work related photo soot.
    I hope that this feedback is clear as I do understand that writing an email regarding this can be more confusing then talking to you personally. I have already discussed this with Nokia Care and they have no solution to this issue. We agreed that I would put my feedback in a mail and send it to Nokia.
    This is the first time in over 10 years that I believe a feature of Nokia to be moving backwards in stead of forward. Please understand that I am a loyal fan of Nokia and I still firmly believe that Nokia is the best phone manufacturer out there. I believe that next to being in the cutting edge of technology Nokia always has made their phone software to be logical and backwards compatible. This is one of the things that make Nokia much better than any competition out there. I have no feedback on customer care as this is the first time ever that I need it.
    Please I urge you to reconsider implementing the “old nokia 6600” gallery back, where it’s possible to create folders and only show people what you would like them to see.
    I hope that this email is clear and if you would like me to further explain do not hesitate to ask for clarification.
    Thanks for your great products!

    26-Jun-2006
    08:00 PM
    bustacap wrote:
    Please I urge you to reconsider implementing the “old nokia 6600” gallery back, where it’s possible to create folders and only show people what you would like them to see.
    I can totally relate to your outcry to go back to 'the old Nokia 6600 gallery'. I also used to own a Nokia 6600 before I bought the N70 and N80. And let me tell you something, from the 6600 on it goes downhill with Nokia features. When I installed Tom Tom on the N70 it was a nightmare to find my pictures because they where all scrambled in one folder and it takes time to load the pictures!! And I understand that you don’t want to share every picture with everybody. That’s why the folders also come in handy One last thing regarding the discussion about making photographs, if you want to make a portrait photo, to later add as a thumbnail to your contacts on the 6600 it is quite strait forward, you just take the picture as a portrait and then add it to your contact. On the N70 and higher it is a pain in the a**. You first have to make the picture and than open it in the gallery and then edit it and than save it and then add it as a thumbnail. (Too many actions!) Why does Nokia degrade there phones like that? The 6600 has got features that are super user friendly and with the N70 and N80 they just leave them out. Please don't get me wrong, I am also a loyal Nokia fan for years, but it seems to me that Nokia is cutting corners right now and this has to be said. I honestly hope that they will do something with this feedback because from the inside I still am a Nokia fan but some things got to change. Lazy J

  • IPhoto 11: A new way to use the old E-Mail behaviour.

    iPhoto 11 works with email in a new way. Rather than using an Application to send the email as before, what they have done is handle the email within iPhoto. So, you input your Email Account details - the name of your service, the account name, password, etc, and iPhoto uses that information to send the email via your account.
    There's an element of swings and roundabouts in this.
    Users of Apps like Thunderbird or Postbox could not email from within iPhoto in the past as those apps are not scriptable. Neither could it be used by people who use Web Mail and access their mail via a web browser. By going this way these people users have the same service as Mail/Entourage/Eudora users have.
    So much for the swings: on the roundabouts, however, users of Mail (and I suspect Entourage and Eudora) have a change. Share -> Email does not work as before and you can no longer select pics within iPhoto, resize them and pass them over to their preferred application. Neither can you send photos without a Template.
    However, by creating a Service sing Automator, it's perfectly possible to recreate the previous usage, though accessed a little differently. Here's one way:
    1. Launch Automator
    2. From the Dropdown sheet select to make a Service
    3. On the Right hand side, over the large pane (under the record button) select 'Service Receives +no input+'
    Uploaded with Skitch!
    3. From the Library Column (extreme left) click on Photos.
    4. From the Middle Column drag 'Get Selected iPhoto Items to the large pane.
    5. In the drop down on 'Get Selected Photo Items, select 'Photos'
    Uploaded with Skitch!
    6. Back to the Library column, extreme left and this time click on Mail
    7. Drag 'New Mail Message' to the right hand pane, under the existing 'Get iPhoto Items'
    8. Drag 'Add Attachments to Front Message' under that.
    9. Save it, Name it.
    Now, in iPhoto select the photos you want to email
    then
    iPhoto Menu -> Services -> And select the Service you created.
    The Mail app comes forward with your Message, with files attached.
    You can resize the Photos using the option at lower right of the Mail window:
    Uploaded with plasq's Skitch!
    Using the Keyboard Shortcuts in System Preferences you can choose a shortcut to do the whole thing from the keyboard.
    Regards
    TD

    You can also drag from iPhoto '11 to Entourage 2008 and Outlook 2011.
    Both of these will create a new email adding the photos as full size attachments
    Good tip and I just tried it. Too bad Entourage does not have the size box in the
    lower right like Apple's Mail. I really don't like sending full size pictures in email
    messages so I will use Terence Devlin's Automator script or drag and drop to the
    the Mail Dock Icon.
    Two very good workarounds for the slow iPhoto mailer. I got spoiled using the
    IPhoto 09 email interface with Entourage that let me select the size and the x-number
    of Great IPhotos
    Thanks again for another tip on how to mail photos using iPhoto 11.
    Message was edited by: aRKay

  • New way of using Siri to change how to use an iphone

    hello,
    I try to contact Apple to talk about an invention that came to me I do not know where to go so I am doing here, I use the google translator I am French and I do not speak English well.
    I would like to remove the action to continue to press the home button that opens siri andreplaced with a voice recognition which would allow direct, saying a code name such as: Siri andthis one will say what can I do .
    With this need to get the iPhone from his pocket if you have dirty hands or for example if you're in the shower and you want to listen to or send a message it would suffice to say Siri (or other) thenspeak as he is already.
    I think with this it would change completely how to use an iPhone (a mobile phone in general).
    I hope my idea will be included and will be considered.
    Cordially.
    ps: In one setting to select the word you want to say that Siri opens.

    I did not say that Google and Apple get together in any way, I mean to use new methods listedSir. I do not use android. Siri to open without using finger not just talking.

  • Development Request: a new way to use the touchpad

    Hey,
    I find the current use of the touchpad exhausting and frustrating.
    Every movement of the pointer takes forever - it takes several scrolls to get from one edge of the screen to another -
    and if I speed up the mouse - it gets really not comfortable.
    So I'd like my synaptics touch pad to act like this:
    When I first tap the touch pad, the pointer jumps on the screen to a point proportional to where
    I tapped the touch pad. For example, if I tap the top right corner of the touch pad, I wish the pointer to
    "jump" to the same location on the screen, irrelevant to where it was before the tap.
    After the first tap, the touch pad should act normally - meaning exactly as it acts now ("the regular way").
    If I stop touching the touch pad for a certain period of time (say, 2-3 seconds), it again should wait
    for the first tap - to make the "magic jump".
    I think this should minimize our use of the touch pad at about 80%.
    I don't know any tools to make this happen (under X/KDE).
    What do you think?
    Fiod
    Last edited by fiod (2008-02-14 14:44:11)

    fiod wrote:
    I say - don't ask what the synaptics developer can do for you, ask what you can do for him (and the community)
    good call,

  • A new way to use the touchpad?

    Hey,
    I think that mouse movements take an awful percentage of my computer usage.
    Traveling with the mouse across the screen takes a "long" time.
    I was wondering if there is some way that the cursor will "magically" jump to a place
    on the screen that is proportional to where I touched the touchpad the first time I touched it.
    Will save about 2-3 seconds every time!
    I hope that doesn't sound too weird...
    Thanks
    fiod

    no duplicate posting please.
    http://bbs.archlinux.org/viewtopic.php?id=43077
    locking this thread.

  • Is there a way to use ipod with new computer without erasing entire library

    I'm not really tech-savvy, but I'm tossing my old computer and getting a new one - is there a way to use my ipod on my new computer without erasing my existing library? It won't let me make changes to my ipod and wants me to erase everything that is on there right now - HELP!

    Connect your iPod to your computer. When you get the message that it is linked to a different library and asking if you want to link to this one and replace all your songs etc, press "Cancel". Pressing "Erase and Sync" will irretrievably remove all the songs from your iPod. When your iPod appears in iTunes enable it for disk use, this is required for most if not all the utilities listed below so they can access the files: Using your iPod as a storage drive
    Once you are safely connected there are a few things you can do to restore your iTunes from the iPod. If you have any iTMS purchases the transfer of purchased content from the iPod to authorised computers was introduced with iTunes 7. A paragraph on it has been added to this article: Transfer iTunes Store purchases using iPod
    The transfer of non iTMS content such as songs imported from CD is designed by default to be one way from iTunes to iPod. However there are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod. You'll find that they have varying degrees of functionality and some will transfer movies, videos, photos, podcasts and games as well. Have a look at the web pages and documentation, this is just a small selection of what's available, they are generally quite straightforward. You can also read reviews of some of them here: Wired News - Rescue Your Stranded Tunes
    TuneJack Windows Only
    iPod2PC Windows Only
    iGadget Windows Only
    iDump Windows Only
    iRepo Windows Only
    iPodRip Mac & Windows
    YamiPod Mac and Windows Versions
    Music Rescue Mac & Windows
    iPodCopy Mac and Windows Versions
    There is also a manual method of accessing the iPod's hard drive and copying songs back to iTunes on Windows or a Mac. The procedure is a bit involved and won't recover playlists but if you're interested it's available at this link: Two-way Street: Moving Music Off the iPod
    Whichever of these retrieval methods you choose, keep your iPod in manual mode until you have reloaded your iTunes and you are happy with your playlists etc then it will be safe to return it auto-sync. I would also advise that you get yourself an external hard drive and back your stuff up, relying on an iPod as your sole backup is not a good idea and external drives are comparatively inexpensive these days, you can get loads of storage for a reasonable outlay.

  • Is there a way to move music I had on my iPhone 4 to my new macbook air, using iTunes it seems to want to synch to iTunes library where I don't have any music stored?

    is there a way to move music I had on my iPhone 4 to my new macbook air, using iTunes it seems to want to synch to iTunes library where I don't have any music stored?

    Hello KM47,
    It soundsl ike you are needing to copy your iTunes purchases to your computer rather than sync it at this point. You can use the following article to transfer your purchases with the following article:
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    http://support.apple.com/kb/ht1848
    If you have your library stored on another computer, you can also copy the library to the new MacBook Air with this article:
    iTunes: How to move your music to a new computer
    http://support.apple.com/kb/ht4527
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • Hi am having problems with iTunes,I have all my music on my 4s but I bought the iPhone 5 today.us there any way that I can transfer music over to my new phone without using the library?as it doesn't seem to be on my PCM anymore.

    Hi am having problems with iTunes,I have all my music on my 4s but I bought the iPhone 5 today.is there any way that I can transfer music over to my new phone without using the library?as it doesn't seem to be on my PC anymore.i reset my pc and save my iTunes to a hard drive but can't access it.Need help please

    " When I did this, my library showed all the music I have "purchased" from itunes but did not have the music that I downloaded a long time ago through itunes from my old CDs."
    Correct.
    " How can I get that music to show up in my library now on my new computer?  "
    Copy it from your old computer or your backup copy of your old computer.
    The sync is one way - computer to ipod.

  • Is there any way to use video with the new Flash CC HTML5 Canvas?

    I am a long time Flash user trying to determine if this new version of the program is something to add to the workflow again (after the last several years of not being able to use it) and the tutorials I have seen are not well written. Is there a way to use a video file within the animation, like with the AS2 and AS3 versions of Flash where I could insert a video clip into a symbol and animate the symbol while the video played.
    What I need to know is what format of video file I should use and how to add it into the timeline since Flash does not seem to be allowing for any type of import for this.
    Any Thoughts?
    Thanks,
    Brett

    Ok, so there are limitations, are they written down somewhere? I have been looking for a list of do and do not functions and the ways to work around them. Are they in the documentation somewhere I haven't discovered?
    Right now all I am looking to do is create Classic Tweens that animate movement and opacity so I can create a presentation with video that includes these elements. Is that level of functionality available in the HTML5 Canvas, or is that still on the drawing board?
    Is there a specific name for what I am looking to do that would aid my search? HTML5 video is not enough since the answer has not been forthcoming in Google or on Adobe or Stack Overflow. I am starting to think that nobody has thought of this yet, or if they have they decided that it is not currently possible and skipped the part where the rest of us find out.
    Any thoughts on making the connection to either doing this or finding out that it is just not possible yet would be very helpful.

  • How do I make New window open maximized the way it used to?

    How do I make New window open maximized the way it used to?

    { Ctrl + B } opens and closes the Bookmarks Sidebar.

  • I have around 1,000 photos on my old phone and I want to put them on my new phone without using a backup or iTunes, which would be the easiest way?

    I have around 1,000 photos on my old phone and I want to put them on my new phone without using a backup or iTunes, which would be the easiest way?

    I was looking for something on the net, and i run into this post. Am not sure if you have found a soulution or not, anyways, if not here are some programs that i love and they show you every thing in your iPhone:
    iFunBox, iBackupBot and DiskAid
    am sure they will help you find what you want and then you can just copy them to your computer.
    if you use Mac, iPhoto will import everything for you.

  • I am thinking of buying a "new" iPad but I have a very large iPhoto library which I would like to keep intact and be able to view on my new iPad.  Is there a way to use a external storage device to store the iPhoto library and view it on the iPad?

    I am thinking of buying a "new" iPad but I have a very large iPhoto library which I would like to keep intact and be able to view on my new iPad.  Is there a way to use a external storage device to store the iPhoto library and view it on the iPad?

    You can't use an external hard drive like you would with a computer.
    You can use a USB flash drive & the camera connection kit.
    Plug the USB flash drive into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov; DSCN0164.jpg).
    Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import. (You can not export using the camera connection kit.)
    When you first connect the USB flash drive, you will only see thumbnails of the pics on the iPad; you have to import the pic file to see the full size. With your large library of pics, you will have to do this repeateably and then delete pics so you don't exceed your memory capacity.
     Cheers, Tom

  • Any way to start up a new iPad without using a pc that has iTunes? My pc was just stolen and I am still in Europe.

    Any way to start up a new iPad without using the pc that has iTunes loaded. My pc was stolen in Italy and I am still in Europe.

    So you don't have the cords I assume and the battery is dead?  If you already installed songs, apps and other stuff via itunes you should be fine.  Just buy or use the cords you received.  You may need to buy the electrical adapters for EU connections.
    Sorry to hear about the PC. 
    Brian

Maybe you are looking for

  • CUCM 8.6.2 - SURL Buttons Issue related to Extension Mobility

    Hello Guys, we are running a CUCM 8.6.2.22900-2 with the extension mobility service. One the user device profiles we have applied several third application services via SURL buttons.  Actually I though it does not matter, what device type I choose du

  • Business event (HR) -- follow up

    Hi, how can I know the business event group and business event type of a business event? Thanks.

  • Best Headphones for the X-Fi Fatal

    Ive been searching the internet EVERYWHERE for the best 5. headphone setup im willing to spend 250 max. I like headphones cause they are not as noisy. (i li've in an apartment complex) Can you guys please help me in the search for the best headphones

  • Is Ovi Suite dead?

    Wondering since support stopped for most new phones now, Lumia and others is Ovi suite long gone?? since it's mostly for old phones. Maybe some Techie can make a new one for us that supports most models........Beta Labs is dead over on that forum....

  • Itunes hang after latest updates

    Since the last updates to my iMac iI find that the iTunes is constantly Hanging. It does not matter if I'm not using iTunes, as soon as its working in the background it hangs sooner or later. When I work with my music files in iTunes it usually hangs