Debug the swing application from eclipse

Hi
I had a swing application, to create a exe file i build the application using using build.xml. To run the application we need to open the exe file.
I want to debug this swing application from eclipse. Can anybody please tell me how to debug this application.
Note: I can able to debug simple swing application. But i can't able to debug this application.
Thanks
mindus

If it's an actual .exe--that is, if you've compiled it to a native Windows executable--then you can't debug it using a Java debugger (such as the one in Eclipse).
If, on the other hand, you just have a .jar file or a bunch of .class files, then you can debug this app the same way you debugged the other one.
If you don't provide more details about what you actually did and what exact problems you're having ("I can't do it" contains no useful information whatsoever), then it's impossible to provide any more detailed advice than this.

Similar Messages

  • How to debug a swing application using eclipse IDE

    plz tell me how can i approach to understand SWING GUI application using eclipse debugging procedure.
    for example:
    i would like to know how the program flow is, for creating a particular screen.
    how to approach my SWING application flow eaasily... plz suggest me anyone!!!

    avula wrote:
    plz tell me how can i approach to understand SWING GUI application using eclipse debugging procedure.
    for example:
    i would like to know how the program flow is, for creating a particular screen.
    how to approach my SWING application flow eaasily... plz suggest me anyone!!!Add break points and step through the code, you can examine the stack, and variables in the debug perspective .

  • Invoke an awt event from outside the swing application

    Is it possible to invoke an awt event triggered from outside the swing app? I am trying to implement a use case where i have to open a new tab in an already running swing app when a user clicks on a browser link.

    I have a desktop application that was invoked via webstart. The java webstart process started when the user clicked on a link that downloaded the swing application and now it runs in the clients JVM. Each browser click downloades and launches the application that performs a certain function. Now lets say, the user clicks on another link, then i don't want another java application to be launched. I want the same application that executes the function in lets say a new tab.
    Its kind of like you click on a link that somebody sent you in an outlook email. When you click on it and if firefox is already running, the link opens up in a new tab on an already running firefox browser. If firefox was not running, it starts a new firefox process.
    Hope this makes sense

  • Can not launch swing application from Java Web Start 1.6.0_37

    I have a dynamic generated jnlp file from a serlvet. When I used Java Web Start to start the swing application, it failed. The exception showed
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://xxxx.xx.com:9080/dilpipweb/Test-1.0-SNAPSHOT.jar
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    I used janela to validate the generated jnlp file. It was valid. I also checked the tomcat access log, it showed that the Test-1.0-SNAPSHOT.jar file was accessed correctly (with a 200 return code).
    Can anyone help me what was the problem?
    Thanks,

    Hi.
    I got a different problem. My Corba application works in JRE 1.6, but doesn't works in JRE 1.5.X. I got an unexpected error and my console shows:
    getSubjectX500Principal NoSuchMethodError: java.lang NoSuchMethodError
    #### Java Web Start Error:
    #### null
    Can you help me?

  • How to debug the webdynpro application

    Hi ,
    i am facing a problem for debugging web dynpro application from offshore (my server is located in onsite) and i connected using VPN and also i changed my SDM Debug Mode to ON  and also enable debugging of  process also but it is giving error message like this
    <b>Failed to Connect to remote VM.Connection Refused</b>

    Hi Nageswara
    The link provided shows you hoe to debug WebDynpro application.
    Its a eLearning course available on sdn,  which shows step by step process.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/3178ae74-0701-0010-ba8d-e3ca9f1edc1e
    Hope ur problem is solved.
    Pls award points for answers.

  • Problems After shifting swing application from jdk1.3 to 1.4

    hi,
    i have shifted my Swing application from jdk1.3 to 1.4, some component settings changed in j2se1.4. are listed below
    1). i have added JComboBox to JPanel using BoxLayout, in jdk1.3 it is normal where as in 1.4 comboBox height is increased to panel height.
    Sample code
    (in a Panel)
         setLayout(new BoxLayout(this, BoxLayout.X_AXIS));
    add(getYearComboBox());
         add(getMonthNameComboBox());
         add(getDayOfMonthComboBox());
    2). in jdk1.3 the icon which is set to JFrame is visible in the JOptioPane.showConfirmationDialog() also, but in 1.4 the icon is not visible in conformation dialog box.
    Sample Code
    in a JFrame's constructor
    public OptionPaneTest()
    ImageIcon icon = new ImageIcon("icon.gif");
    setIconImage(icon.getImage());     
    setSize(250,100);
    addWindowListener(new java.awt.event.WindowAdapter() {
    public void windowClosing(java.awt.event.WindowEvent e) {
                        System.exit(0);
    setVisible(true);
    JOptionPane.showMessageDialog(this,"hai", "Hai",JOptionPane.WARNING_MESSAGE);
    3). the Labels added to the panel or frame are displaying in light blue color with jdk1.3 and the same label displaying in black with j2se1.3
    Sample Code
    in a JPanel
    setLayout(new BorderLayout(20, 20));
    add(new JLabel("Testing Label Color"), BorderLayout.CENTER);
    please send solution to any or all.
    thanks in advance,
    Pavan.DV

    Thanks for your sugession.
    You realized me by showing the fact that there are no many classes
    Keep suggesting like this.
    I don't even know how to see the API documentation Before you told me.
    Don't take any issue as simple thing and never give foolish suggessions like this.
    If you know the Answer then share it or else musukoni kurcho ra

  • Log of the swing application

    When I run a swing application inside JDeveloper, if an exception is thrown, I see a log in Jdeveloper in 'Running' window.
    Is there such log for the swing application deployed using webstart (somewhere on the client machine)?

    Hi,
    see http://www.lecture123.com/elearning/jws-log.html
    Frank

  • HT1918 When trying to download the free applications from itunes app store its asking about billing information

    When trying to download the free applications from itunes app store its asking about billing information.
    Billing popup will display and navigating to billing detail page.

    Unless the instructions on this page are followed when creating an account : http://support.apple.com/kb/HT2534
    then credit card details will need to be entered before the account can be used to download any item (free or paid-for) from the store.
    If you are being prompted to review the account then you could see if this post by mountaingoatgirl lets you do so without needing to enter credit card details : https://discussions.apple.com/message/24303054
    If not then you will need to enter credit card details - you should be able to remove the card after entering it

  • How to transport the webdynpro applications from development production

    Hi Experts,
    We are implementing the first time NWDI for development.
    As per my knowledge . There will only NWDI available for the whole landscape to manage and track the information.
    NWDI will only one for the whole landscape?
    How do we need to transport the ;build application from the dev sytem to production through NWDI.?
    How the transport life cycle will be managed with NWDI and with out using NWDI?
    As of my knowledge . we need to specify the production or testing mechine information in the NWDI to transport the build file from deve to -> testing to -> production.
    Because my clients not allowing to specify the the production system information in nwdi to transport from dev to prodution using nwdi?
    what is the other solution available?
    By giving the production information in NWDI will give any problems futher?(like security).
    Regards
    Vijay

    HI,
    NWDI is Simply used to manage life cycle.
    A developer will develope application. that time he needs to create an activity.
    1. when activity is checked in & activated -> code is sent to DTR in development space, and CBS builds that code and its .sda or .ear file is deplopyed on development server.
    2. same when you release it -> code is sent to DTR in Consolidation space  and CBS builds and deploy it on consolidation server.
    3. after that you can assemble you whole development in single file i.e. .sca file, and its get deployed on test server.
    simple..
    and if your client dont want to specify production system in NWDI., then when you assemble an .SCA file of your development, just copy it from CMS folder of your NWDI installed drive. and send it to your client..
    he will externally deploy it on production

  • I deleted the iCloud application from my macbook. Now I can't find how to redownload it?

    I deleted the iCloud application from my macbook. Now I can't find how to redownload it?

    My understanding is it should show up here on my system preferences page. This is a screenshot of what my system preferences looks like. I think it is supposed to be under the "Internet & Network" section?
    iCloud should be showing where you are seeing "Mobile Me".
    What is your MacOS X version? You can see the version number  from the -menu in the main menu bar:   " > About this Mac".
    You need at least MacOS X 10.7.5 to be using iCloud.   http://help.apple.com/icloud/#/mmfc0f1e2a
    What exactly did you do to make the iCloud panel vanish? Did you reinstall your system?

  • Debugging the portal application

    Hi all,
    It is possible to debug the portal application.
    If yes how.
    Regards,
    Aravindhan.R

    Hi Aravindhan,
    Check out this link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/lw/developercontent/sap%20portal%20development%20kit%20for%20.net%20developer's%20Guide/Previewing%20and%20Debugging%20Portal%20Applications_Debugging%20Portal%20Applications.html
    Also do not forgot to set iViewProcessorService property, ProductionMode to false.
    Regards,
    Ashutosh

  • Uninstall  the Messages application from Mountain Lion?

    I was wanting to know if there was a way to uninstall the Messages application from Mountain Lion, I tried to delete it/move to trash and it gave me a message saying that the application is required by OS X. I want to uninstall the application due to privacy issues encountered with two Iphones on one apple id account.
    We would just start a new account for one of the phones but as i understand the music that is currently on the phone would not be able to be added to the new account from the original account. By uninstalling messages it would alleviate some issues.
    -matt

    Hi,
    To be sure.
    On the iOS device go to Settings > Messages > Send and Receive and remove the Apple ID.
    Set the iPhone or iPad into Airplane Mode.
    Wait a few minutes.
    Turn the device "On" again.
    Send and Receive should now list just the iPhone Number.
    Now Restart Messages on the Mac.
    There will be an alert saying the iphone is using just the iPhone number.
    Deny this in the click option buttons.
    Then  go to the Sign out Button.
    Then go to the Finder > Go Menu > Go to Folder and type in ~/Library/Preferences in to the dialogue box that appears.
    Find and drag to the Trash com.apple.imessage.bag.plist and com.apple.imservice.iMessage.plist (this one holds the Apple ID and Aliases (which include the iPhone numbers)
    Restart Messages.
    It will start and be available for AIM, Jabber, Yahoo and the Bonjour Account  use but will not have an active iMessage account.
    9:09 PM      Saturday; January 12, 2013
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
     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
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Disable Java Security Warning: Allow access to the following application from this web site?

    Dear all,
    When I open web intelligence with BI launchpad, this warning has been shown:
    "The web site is requesting access and control of the Java application shown above. Allow access only if you trust the web site and know that the application is intended to run on this site.
    Allow access to the following application from this web site?"
    and it has just three button of "Yes", "No" and "Help".
    I go to Java Control Panel and Security tab, then set security level on the "Medium" and add my site in the Exception Site List but this warning is shown each time I open web intelligence.
    I have searched the internet very much but I haven't found any solutions for disabling of it. How can I disable this security warning?
    Java version 7 update 67
    windows XP
    SAP BusinessObject BI Platform 4.1 Support Pack 4 Patch 2
    best regards,

    Hello,
    We have the same issue with BI4.1 SP3 FP3.
    Can anyone help us ?
    Nawale.

  • I want to clear the history of the deleted applications from the application update article . Please advise to do so

    I want to clear the history of the deletes applications from the update applications list in the application store . Please advise how to do so

    Dear Lobo86,
    Will you be kind and explain why - "security reasons..." as in the past after app's updated list were delted automaticaly...
    Thank you ;)

  • Debugging the mobile application

    Hi experts,
    I want to debug the PDA data on my desktop.
    SAP asks for client image( MI folder of PDA ) to be sent and then debug the cause.
    I want to do same but what all folders are needed for the same and how to do the same is confusing me.
    I am using eclipse( with MDSD plugin ) and MDSD2.1 application..
    Someone help me please..
    Regards,
    Akhil

    Dear Abhishek,
    Full MI folder is not needed for MDSD application.
    Only specfic folders will solve the purpose.
    Regards,
    Akhil

Maybe you are looking for