Running my swing app outside the ide

I have a swing application running nicely inside the ide. It is now time to distribute it to other members of the team and different platforms. How do I package it up? 1 java file, 3 datafiles, 6 or 8 icon files.

Hi,
Why dont you use Run option of application?
right click on your web dynpro application, there you'll get two option,
deploy and run new archive,
and Run.
use these options to run your application.

Similar Messages

  • Looking for sample ANT files for building workshop webservice app outside the IDE

    Hi,
    I am currently planning to use Workshop for implementing a webservice application.
    I am looking for any sample ANT files that would enable me to build and deploy
    both the webservice EAR and the client JAR outside the IDE.
    Thanks,
    Bao Nguyen

    Hi Raj,
    Yup, I did see that sample file. However, it only demontrate how to build an
    EAR file. I am also looking for samples of how to generate the client JAR (using
    proxy to gain access to the webservice) and also how to deploy the web service
    EAR file to the server.
    I tried to use the ANT tag "clientgen" referencing the generated EAR file. It
    complainted of the missing WAR file. I checked the content of the EAR file and
    found no WAR file generated.
    I am also looking for a better way of accessing the webservice more generically
    instead of going through the proxy which is quite coupled to a specific app server.
    Please provide examples.
    Regards,
    Bao Nguyen
    "Raj Alagumalai" <[email protected]> wrote:
    Hello Bao,
    Please refer to my post "Ant script for building EAR "dated August 21
    2003.
    I have attached a sample which does this.
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.workshop&item=1285&utag=
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "Bao Nguyen" <[email protected]> wrote in message
    news:3f61477e$[email protected]..
    Hi,
    I am currently planning to use Workshop for implementing a webserviceapplication.
    I am looking for any sample ANT files that would enable me to buildand
    deploy
    both the webservice EAR and the client JAR outside the IDE.
    Thanks,
    Bao Nguyen

  • Apple maps has received a poor performance rating just after introduction of the iPhone 5. I am running google maps app on the phone. Siri cannot seem to get me to a specific address. Where does the problem lie? Thanks.

    Apple maps has received a poor performance rating just after introduction of the iPhone 5. I am running Google Maps app on the phone. SIRI cannot seem to get me to a specific address. Where does the problem lie? Also can anyone tell me the hierarchy of use between the Apple Maps, SIRI, and Google maps when the app is on the phone? How do you choose one over the other as the default map usage? Or better still how do you suppress SIRI from using the Apple maps app when requesting a "go to"?
    I have placed an address location into the CONTACTS list and when I ask SIRI to "take me there" it found a TOTALLY different location in the metro area with the same street name. I have included the address, the quadrant, (NE) and the ZIP code into the CONTACTS list. As it turns out, no amount of canceling the trip or relocating the address in the CONTACTS list line would prevent SIRI from taking me to this bogus location. FINALLY I typed in Northeast for NE in the CONTACTS list (NE being the accepted method of defining the USPS location quadrant) , canceled the current map route and it finally found the correct address. This problem would normally not demand such a response from me to have it fixed but the address is one of a hospital in the center of town and this hospital HAS a branch location in a similar part of town (NOT the original address SIRI was trying to take me to). This screw up could be dangerous if not catastrophic to someone who was looking for a hospital location fast and did not know of these two similar locations. After all the whole POINT of directions is not just whimsical pasttime or convenience. In a pinch people need to rely on this function. OR, are my expectations set too high? 
    How does the iPhone select between one app or the other (Apple Maps or Gppgle Maps) as it relates to SIRI finding and showing a map route?  
    Why does SIRI return an address that is NOT the correct address nor is the returned location in the requested ZIP code?
    Is there a known bug in the CONTACTS list that demands the USPS quadrant ID be spelled out, as opposed to abreviated, to permit SIRI to do its routing?
    Thanks for any clarification on these matters.

    siri will only use apple maps, this cannot be changed. you could try google voice in the google app.

  • Can I run a CLDC app on the toolkit ?

    Hi,
    How can I run a CLDC app on the Sun Java Wireless Toolkit? All the documentation seems to talk about running MIDlets only.
    -Sankar

    Well I've never heard of 'VirtualDVD', but I've used MTR on this MBP. PPC apps will run on the Intel machines using the Rosetta emulation. This process is invisble to the user, and while there is a performance hit, frankly, I've yet to notice anything significant.
    What will not run on the Intel machines are Classic apps.
    Regards
    TD

  • How to stop my app in the ide

    hello
    i write a simple java app by using sun one studio5,in its main method,i only open a serversocket to listen the incoming request,it can be started successfully,but i don't know how to stop the app from the ide,i remember that jdeveloper and jbuilder have such function by providing menu or button("Terminate" or "stop debug"),where can i find it in sunone studio?
    thank you

    You can terminate it from
    Runtime tab -> Processes.
    Just make right mouse click on process you want to kill and
    select �Terminate process� from pop up menu.

  • Is it possible to run my swing app in another jre

    Hi All,
    I have a swing app jar deployed in the server having jre. It may be possible that the client may have a lower version of jre. In that case would it be possible to download the jre itself from the server (local server not Sun server) and then the run the application in the downloaded jre. The client may be in windows or linux. Please give me steps to go about it. Am new to web start. Please help ASAP.
    Thanks to all the folks out there keeping the java community alive and kicking

    Hi Andy,
    I wanted to bring the jre on the client machine on par with the one in my server which hosts the application to be launched by web start. I had posted a query on how to install a newer version of jre other than using the sun's auto installer site. I had to search high and low for such a solution. Finally got a set of servlets called web start services from the following site :
    http://lopica.sourceforge.net/.
    It helped me to host the jre installer on my server itself which woulc be used by the client to install a higher version of jre if required. I was trying to install a runtime installer of jre as per their instructions. I created a jar file called jre_1.5.05.jar created by doing a jar -cvf on the jar directory. And gave the j2se version required as <j2se version="1.5.05"> and then my helloapp.jar. Everything goes fine during the installation. It also asks me for the reboot and I did the same. However when I try to run the application, it says
    "Bad Installation. Error involving Java VM (SysExec) and then points to the directtory inm the cache as .ext/E11332440658/bin/javaw.exe.
    So I went to the directory .ext/E11332440658 in the cache. and I see that the jar has been in jarred as jre_1.5.0_05/bin/javaws.exe which should have been the actual path where web start should have looked.
    Do you have any idea why it happened? Is it possible to correct it without doing anything manually at the client side? Please reply ASAP.
    Zeus.

  • Can't run any swing apps??!?!?

    Hello!
    I have a very confusing problem, I'm trying to run the "Java Web Start" gui.
    It starts and shows a Window frame (with "minimize","maximize" and the Close"X"), but the rest is gray.
    Nothing changes if I try to resize, or just wait (it stood for over 1 hour).
    I also tried the "htmlConverter" gui with the same result. Then I tried the simplest Swing program from the Swing tutorial with the same result, but then I right clicked on the little icon on the start menu which resulted in the gui being painted. When I moved the window it went all gray again until i right clicked on the icon again.
    Eclipse runs fine, but it is not a swing app.
    I run on Windows XP (Home) with all the latest uppdates and J2SDK1.4.2_04.
    I have uninstalled and tried older versions of J2sdk with no success.
    I have no idea what's going on, can somebody please help.
    Regards, Calle

    Hello!
    I have now kind of solved this problem.
    I found this in another forum:
    http://forum.java.sun.com/thread.jsp?forum=32&thread=330898
    I did what it say's, turned of 3D accelaration, and now it works like it should.
    I have a ATI Radeon 9800 256Mb graphic card, and it seems like this is the cause of the problem.
    If someone read this and know if I should submit this as a Java2D bug please tell me and I will.
    Regards Calle

  • Running java swing apps thru telnet... [Is this possible?]

    Hi All!
    I am just wandering if it is possible to run swing applications thru telnet since everytime I run it... it returns ang error....
    Exception in thread "main" java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment
    at java.lang.Class.forName1(Native Method)
    at java.lang.Class.forName(Class.java:173)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:90)
    at at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:109).null(Unknown Source)
    at java.lang.Class.forName1(Native Method)
    at java.lang.Class.forName(Class.java:173)
    at java.awt.Toolkit$2.run(Toolkit.java:754)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:745)
    at javax.swing.ImageIcon.<init>(ImageIcon.java:226)
    at javax.swing.LookAndFeel$1.createValue(LookAndFeel.java:295)
    at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:203)
    at javax.swing.UIDefaults.get(UIDefaults.java:148)
    at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:65)
    at javax.swing.UIDefaults.getIcon(UIDefaults.java:429)
    at javax.swing.UIManager.getIcon(UIManager.java:562)
    at javax.swing.plaf.basic.BasicOptionPaneUI.getIconForType(BasicOptionPaneUI.java:600)
    at javax.swing.plaf.basic.BasicOptionPaneUI.getIcon(BasicOptionPaneUI.java:586)
    at javax.swing.plaf.basic.BasicOptionPaneUI.createMessageArea(BasicOptionPaneUI.java:337)
    at javax.swing.plaf.basic.BasicOptionPaneUI.installComponents(BasicOptionPaneUI.java:178)
    at javax.swing.plaf.basic.BasicOptionPaneUI.installUI(BasicOptionPaneUI.java:146)
    at javax.swing.JComponent.setUI(JComponent.java:475)
    at javax.swing.JOptionPane.setUI(JOptionPane.java:1725)
    at javax.swing.JOptionPane.updateUI(JOptionPane.java:1747)
    at javax.swing.JOptionPane.<init>(JOptionPane.java:1710)
    at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:832)
    at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:646)
    at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:617)
    at JTest.main(JTest.java:40)
    Source Code:
    import javax.swing.*;
    import java.awt.*;
    public class JTest extends JFrame{
    JPanel pnlMain = new JPanel();
    JLabel lblMsg=new JLabel("This is only a test.");
    Font font=new Font("Arial", Font.BOLD, 28);
    public JTest(){
    try{
    this.setTitle("Unix Frame Testing");
    this.setBounds(10,10,500,100);
    this.setVisible(true);
    this.setDefaultCloseOperation(this.EXIT_ON_CLOSE);
    lblMsg.setFont(font);
    lblMsg.setBounds(100,10,250,50);                    
    pnlMain.setLayout(null);
    pnlMain.add(lblMsg);
    this.setContentPane(pnlMain);
    }catch(Exception e)
    { System.out.println("Unable to Display Window.");
    JOptionPane.showMessageDialog(null,"Unable to Display Window.","Error",JOptionPane.INFORMATION_MESSAGE);
    System.exit(0);
    public static void main(String args[]){
    JTest test=new JTest();
    }

    "scripts" are entirely different from GUI applications. What do you expect to happen when you run a Swing application through telnet on another machine? Do you expect the Swing UI to be magically transported to the local Windows machine?
    Not gonna happen. Yes, like ejp hinted, you could run an X-environment on your local machine and have the Swing UI tunnel its output there, but are you sure you want GUI apps to run on a remote machine like that? It's not gonna be fun to work with, I'll tell you that.
    Why not create a Java WebStart app (or perhaps even an applet) out of your application, so your users can run the application locally?

  • I need a way to execute my progrm outside the ide (maybe without a batch?)

    im currently working on a server client based system, and my IDE(intellij idea) wont allow me to execute two projects at the same time. i did some search in this forum, and it seems the popular solution is to use a batch file. but im more comfortable with the idea of creating an exe file(as u can tell im a c++ programmer). anyhow, if batch file the best way to go, can u drop me a link of a good tutorial on writing batch scripts for this purpose. and by the way, i have some external libraries i need to include with my project. so it would be nice if the tutorial also shows me how to include those libraries
    also, one more question, is it a good idea to use ant for this purpose. cos i have no idea how to work with ant, i just read about it in the manual. and can u recommend a good deployment tool for my app.
    thanx in advance

    im sorry, just ignore this post. the server was a little slow when i was posting my message and i thought my first post was lost, so i posted again

  • Probl launch multiple swing app in the same vm

    Hello,
    I lauch multiple swing applications in the same vm ; my problem is that applications launched are not isolated :
    shared look and feel
    only one modal dialog box can be shown
    is there a way to isolate applications ?
    thanks.

    it make some work,but if you rename instances(or and classes) for the second appl. the second application doesnt know the first application
    not fine,but me work.

  • Running a JSP file from the IDE causes error

    When I try to run a JSP file from a list of project files, I'm getting the following error:
    - C:\jdev\jdev9.0.3.4\jdev\mywork\ei_SmartWS\JavaEdge.war!\JavaEdge\src\web\WEB-INF\jsp\searchFormContent.jsp
    X Error: JSP files must reside in the server root directory or a subdirectory beneath it
    Anyone knows why it's doing this?

    Or Web app root, of course:
    your-web-app ---> JSPs, HTML pages here
    WEB-INF ---> web.xml goes here
    classes ---> Loose .class files go here.
    lib ---> 3rd party JAR files go here.
    MOD

  • Cannot work with two Swing app. at the same time.

    Hi guys,
    I bring this problem here may somebody experienced that.
    I developed two client side applications(applets). Locate them on Apache/Tomcat. There is also a Index.html file with two links, so when user clicks on each link the associated application will downloaded on his/her PC and ready to work. (In index.html I used JavaScript function window.open(?) to load the applications)
    Now please see this scenario:
    1-I ran/loaded both application in two separate browsers(IE5.5). And tried to work with them(minimized one and work with another). Soon I faced unexpected frizzing/locking or very slow running on both applications.
    2-Then closed/killed one of them(killed IE). Then re-executed same application again. The application loaded with the last activated screen . Seems it never killed and it was still alive.
    3- The only way to successfully working is one by one. Means execute & work with one, then kill that, and then execute and work with another.
    To Debug:
    When both applications were running(each on it?s own IE), I opened the Task Manager and saw there was only one IEXPLORER.EXE was running, also there was only one Java VM (a little bird icon) on right-bottom of the screen.
    I believe this causes the problem. Seems they both running in the same session. Since I opened two applications in two IE I was expected to see two IEXPLORER.EXE with two JVM. Am I right? Do you think so?
    Note that the two app. have no Communication with each other.
    Any way, Now I am seeking to find the solution. My primary mind says probably I should not use window.open(..) in index.html to load the applications.
    Would appreciate any command on this.

    I am also facing the same problem !
    Since this may be a very late reply , if any body has a solution pls share!
    What I understand is that when we use javascript:window.open() it opens a new browser window
    but under same JVM. This is helpful if we need to have a 'Close window' button/link in the newly opened window and use javascript:window.close() there. Then browser will not show us the confirmation dialog box 'Webpage you are viewing is trying to close the window. Do you wish to Proceed?'
    But if we want a new JVM for each opened link and also donot want the popup dialog to be displayed when we close the browser from there..what do we do??

  • I need help running a Pandora app in the background while on the web

    I cannot run Pandora in the background while on the web

    If you create a console app and place it in a executable jar file, the program will run invisably, even if you have println statements. This is cos the jar file does not launch a console window, so no output will be displayed.
    Hope that is what you wanted

  • Running a Java app in the background on Windows

    I have a Java application that runs constantly on a users computer. (Checking for files to download from a server) I want to have this application run in the background instead of putting a short cut on the Windows task bar. Can anyone direct me to a code sample, tutorial or even just let me know if this is even possible using Java.
    Thanks in advance for your help,
    Jeff Morgan
    http://www.drugtalk.org

    If you create a console app and place it in a executable jar file, the program will run invisably, even if you have println statements. This is cos the jar file does not launch a console window, so no output will be displayed.
    Hope that is what you wanted

  • Window2000 crashed when I run my Swing App

    Hi All,
    This is the first time I have ever seen this but a Swing Application reboots a PC running Windows2000 for some reason. The JRE is 1.4.b28
    Any clues
    --J                                                                                                                                                                                                                                                                                                                                   

    reboots it? Like the same as if you hit start - shutdown? If so, yeah, I've heard of that. There is a Windows executable you can run to tell the PC to shutdown or reboot. There's some posts around here that mention how to do it.
    Or really crashes things and the OS restarts itself? No, never seen that.
    You might want to do a virus scan, though. It's a beta JRE version? Maybe time to upgrade?

Maybe you are looking for