This gives an error??

This gives me an error? Any ideas?
(t by the way is a JTextField and this is a cutom class and the constructor of the CustomActionListener is properly defined)
PTourney.java:28: Undefined variable: this
t.addActionListener(new CustomActionListener1(t, this));
^
1 error
Compilation exited abnormally with code 1 at Thu May 16 23:37:29

Do you call System.exit(1) anywhere in any of your classes? If no, then the JVM caught an error that was fatal and thus exited the java runtime with an abnormal exit code (any non-zero number). But if you do call it somehwere look at why and where you call it for answers. Also try debugging using the SDK debug tools.

Similar Messages

  • I downloaded and installed XI and when open wants me to buy DC and reenter serial number this gives and error.  Does anyone know how to talk with Adobe Chat

    I downloaded and installed XI and when open wants me to buy DC and reenter serial number this gives and error.  Does anyone know how to talk with Adobe Chat

    Hi Kevin ,
    It seems like you are getting update to Install Acrobat DC .That is the latest version of Acrobat .
    If you are getting an error message along ,could you please share the screen shot of the same so that we can check at our end.
    If you wish to connect with Adobe support team ,refer the following link to get in touch with them.
    http://helpx.adobe.com/x-productkb/global/service-ccm.html
    http://helpx.adobe.com/x-productkb/global/service1.html
    Regards
    Sukrit Dhingra

  • Static method ... gives an error

    Program-1
    This is OK.
    Will give expected the output - Hello
    public class test{
    public static void main(String argv[]){
                test t = new test();
         t.Hello();
          public void Hello(){
         System.out.println("Hello");
    Program-2
    This is also OK.
    Will give expected output - Hello
    public class test{
    public static void main(String argv[]){
            Hello();
          public static void Hello(){
         System.out.println("Hello");
    Program-A
    import java.awt.*;
    import java.awt.event.*;
    public class test extends Frame {
    public static void main(String argv[]){
            test mwc = new test();
         mwc.MyWc();
          public void  MyWc(){
            setSize(300,300);
            setVisible(true);
    }This program is much similar to the above Program-1
    This is also give the expected output.
    BUT...
    this is also similar to the above Program-2
    This gives compilation error
    WHY IS THAT ???
    Program-B
    import java.awt.*;
    import java.awt.event.*;
    public class test extends Frame {
    public static void main(String argv[]){
            MyWc();
          public static void  MyWc(){
            setSize(300,300);
            setVisible(true);
    Simply,
    Program-1 and Program-A are logically similar. And they behave as expected.
    (Creating the object and calling the method)
    Also
    Program-2 and Program-B are logically similar.(Seems to be)
    (Call the method without creating the object.used static)
    But why Program-B gives an error ???

    Remember that static methods do not belong to a particular instance of a class. Therefore what are setting the size of and what are you making visible?

  • Call play, pause , stop gives an error

    Hi,
    I built something like toolbar(Dialog) that include three buttons , each one for play.pause and stop.
    I built that for the fullsize view screen there i cant click the Cursor player buttons.
    I try to write code inside the button click event to play the cursor in the active sheet:
    View.ActiveSheet.Cursor.Play(true) - but this give an error and then close the diadem(not responding error)
    (the same about pause and stop)
    Help please!!
    Thanks

    Hi Oz,
    Would you please submit your *.SUD file and any other files it calls so we can attempt to reproduce this problem?  If you're shy about posting to this forum, you can email me directly at [email protected]
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • RE: [Adobe Reader] when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? i

    HelloThank's for your helpsI hope this document is helpfulBest Regards,
    Date: Sun, 22 Jun 2014 17:10:17 -0700
    From: [email protected]
    To: [email protected]
    Subject:  when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help me th
        when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help m
        created by Anoop9178 in Adobe Reader - View the full discussion
    Hi,
    Would it be possible for you to share the document?
    Regards,
    Anoop
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6485431#6485431
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
         To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Reader by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

    thank's for reply and your help
    i did the step's that you told me but  i still have the same problem
                                     i have the latest v.11.0.7
    i
    i disable the protected mode

  • When i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help me th

    when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ?
    if you can help me thank's
    [email address removed by host]

    thank's for reply and your help
    i did the step's that you told me but  i still have the same problem
                                     i have the latest v.11.0.7
    i
    i disable the protected mode

  • I updated an iPod touch, an iPad 2, and an iPhone 4 to iOS 6, and all of them now will not connect to WiFi. They all give this wierd 404 error page from Apple and insist that I need to login to the network. Bad job testing the software Apple.

    I updated an iPod touch, an iPad 2, and an iPhone 4 to iOS 6, and all of them now will not connect to WiFi. They all give this wierd 404 error page from Apple and insist that I need to login to the network. What's the fix? None of the recommended fixes work in any of these devices. Reset device, reset network, renew lease, etc. None of them work.

    Does the iPod work OK?
    Does it charge when connect to the computer?
    Does it appear in My Computer?
    Look at the dock connector on the iPod. Compare with the iPod that does work/connect.
    I suspect you have a 2G iPod. Those can only go to iOS 4.2.1
    http://support.apple.com/kb/HT1353#iPod_touch_late2009
    iPod touch (3rd generation)
    iPod touch (3rd generation) features a 3.5-inch (diagonal) widescreen multi-touch display and 32 GB or 64 GB flash drive. You can browse the web with Safari and watch YouTube videos with Wi-Fi. You can also search, preview, and buy songs from the iTunes Wi-Fi Music Store on iPod touch.
    The iPod touch (3rd generation) can be distinguished from iPod touch (2nd generation) by looking at the back of the device. In the text below the engraving, look for the model number. iPod touch (2nd generation) is model A1288, and iPod touch (3rd generation) is model A1318.

  • I have a new laptop and I am trying to download CS3. The site on adobe gives an error message and the one I tried from this forum downloaded CS3 extended, so my serial number does not work. Does anyone have any suggestions. Regards Vicki

    Hi,
    I have a new laptop and I am trying to download CS3. The site on adobe gives an error message and the one I tried from this forum downloaded CS3 extended, so my serial number does not work. Does anyone have any suggestions. Regards Vicki

    The trial is always extended. The serial number you enter determines whether it runs as standard or extended.
    I'm getting through fine with that link, so it must be a browser issue or some such thing. Try another browser.

  • Every time I download a new app or update an old one it doesn't work. It gives an error message saying it is unable to download the application. I have 2 choices. Retry or done. Retry doesn't work so I press done. What can I do to fix this?

    Every time I download a new app or update an old one it doesn't work. It gives an error message saying it is unable to download the application. I have 2 choices. Retry or done. Retry doesn't work so I press done. What can I do to fix this? Someone please help!

    Try using Google's DNS instead of the one your IPS is providing.
    - To change on the iPod go to Settings>wifi and change the DNS to 8.8.8.8
    - For the computer see:
    Public DNS — Google Developers
    - Did anything happen to your router right before this started? Maybe the router is blocking the port used.

  • TS2529 Im am using Windows 7 ,I log onto to itunes and connect my Iphone.When my iphone tries to sync it gives an error message "itunes has stopped working" - this only happens when i connect my iphone and it tries to sync - help please

    Im am using Windows 7 ,I log onto to itunes and connect my Iphone.When my iphone tries to sync it gives an error message "itunes has stopped working" - this only happens when i connect my iphone and it tries to sync - help please

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • Since uploading Maverick, my Microsoft apps give an error message "(the app) quit unexpectedly.  Click Reopen to open the application again."  However, this does nothing but renew this window.  What to do?

    Since uploading Maverick, all of my Microsoft apps give an error message "(name of the app) quit unexpectedly.  Click Reopen to open the application again."  However, this does nothing but renew this window.  I have to click on the "OK" button to get rid of the error message.  What to do?

    Very Important, how much Free Space is on your Hard Drive first of all? Click on the Macintosh HD on the Desktop, then do a Get Info on it.
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.
    Do they launch OK while in Safe Mode?

  • When I try to start my macbook it gives an error of Please restart your computer, but when i do this i get the same error.

    When I try to start my macbook it gives an error of Please restart your computer, but when i do this i get the same error. This occured after my macbook pro shut down (because of low battery) while it was installing some updates. Please Help?

    Try reinstalling OS X. What version did you have installed? If it's Snow Leopard do this:
    Reinstall OS X without erasing the drive
    Do the following:
    1. Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Reinstall Snow Leopard
    If the drive is OK then quit DU and return to the installer.  Proceed with reinstalling OS X.  Note that the Snow Leopard installer will not erase your drive or disturb your files.  After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
    Download and install the Combo Updater for the version you prefer from support.apple.com/downloads/.

  • HT1491 how can i buy gem in clash of clans?it give me error like this"the buying is not complited"

    how can i buy gem in clash of clans?it give me error like this"the buying is not complited"

    If you are also getting a message to contact iTunes Support then you can do so via this link and ask them for help (on these forums we won't know why the message is appearing) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • TextField1.setText("fahimaamir"); this code give me error in netbeans 6.1

    hi master
    sir i use netbean 6.1
    i have one textfield and one button in page
    when i use this code in button
    public String button1_action() {
    textField1=("fahimaamir");
    return null;
    that give me error line in
    textField1=("fahimaamir"); this code
    when i deploy that show this error
    F:\BACKUP\WebApplication8\src\java\webapplication8\Page1.java:142: cannot find symbol
    symbol : variable textField1
    location: class webapplication8.Page1
    textField1.setText("sjflskjf");
    1 error
    F:\BACKUP\WebApplication8\nbproject\build-impl.xml:392: The following error occurred while executing this line:
    F:\BACKUP\WebApplication8\nbproject\build-impl.xml:213: Compile failed; see the compiler error output for details.
    BUILD FAILED (total time: 1 second)
    please see this error and give me idea how i give value to textfield
    thank you
    aamir

    hi!
    Since Netbeans 6.1 the IDE doesn't add Bindings Attributes for placed components like textFields...
    When you place an textField or any other component you have to right click on it an choose: Add Binding Attribute
    Then the component is known in the source code.
    Greetings,
    Remi
    Edited by: remifreiwald on Jun 25, 2008 11:00 AM

  • Please help, i connect my phone to computer and gives me error code this i phone cannot be used because the apple mobile device is not started

    please help, i connect my phone to computer and gives me error code this i phone cannot be used because the apple mobile device is not started

    http://support.apple.com/kb/HT1923
    uninstall and reinstall
    there is a complicated way to work with just the mobile device support but its simpler just to uninstall itunes and related components and then reinstall itunes
    ur music will be fine, u will just lose the playlists. but ur mobile device support will be working again.

Maybe you are looking for

  • Siteinfo.sol file path too long

    Hopefully someone here can help with this problem. First, I'm running Windows XP Pro. Every night I do an automatic backup of my C: drive to an external hard drive (Maxtor) using Maxtor's backup software, EMC Retrospect Express HD 2.0. However, the b

  • Where can I find a downloadable benchmark for the MacBook Pro?

    I have a 2013 MacBook Pro and a 2006 Mac Pro. I am thinking of dumping the Mac Pro and make my MacBook my one and only computer. I want to run a benchmark on each system to see what I am trading off with this plan. Where can I find a downloadable ben

  • Audio Output from Mac Mini 2010

    Hello - I purchased a mac mini 2010 this weekend for use as a home theater PC. I've got it connected to an Onkyo tx-sr604 a/v receiver via HDMI. I then pass the HDMI signal from the Onkyo to my hdtv, so I think it just passes through. For audio, I us

  • Link to old document - Recommended Reading on Oracle ADF

    In the list of Recommended Reading on Oracle ADF (http://www.oracle.com/technology/products/jdev/tips/muench/requiredreading/index.html ), the link for Oracle ADF Development Guidelines displays the document for JDeveloper 9.0.5.2. from 2004. There i

  • What are the system requirements for Firefox hello? Does it require an SSE2 enabled PC?

    I'm hoping this will be a good Skype alternative. I use Linux and would love to use Hello on my old Pentium III and Athlon XP computers.