Can you start a Java GUI without having a prompt??

Is it possible to start up a Java GUI without it having to be opened from a dos or unix prompt?

In windows you can use the WScript host to launch your apps.
var shell = WScript.CreateObject("WScript.shell");
shell.run("jdk.1.3.1\\bin\\javaw.exe YourClass");
shell.popup("Finished",0,"Launch YourClass",0);just copy this to a text file, save it with the extension ".js" and double-click it

Similar Messages

  • Can you replace a shattered screen without having to replace the phone?

    Can I replace a shattered screen without having to replace the phone?

    Step 1 go to amazon.com
    Step 2 type (" your idevice" screen & digitizer) make sure you get the tools and adhesive.
    Step 3 buy and youtube instructions on how to do it
    It will end up costing you around $40 plus about ten minutes of work.
    ONLY TAKE YOUR iDEVICES TO APPLE FOR REPAIR IF YOU HAVE NO OTHER CHOICE, or you don't care about money...

  • Can you start a iPhone 4S without a SIM card? Because mine is arriving next week.

    Can you start a iphone4s without a SIM card? Because mine is arriving next week.

    Turning an iPhone or any phone for that matter on has nothing to do with a SIM being installed.
    All iPhones require a SIM card for activation.  The SIM does not need to be active, but it must be from the carrier the device is locked to.

  • Can you allow others to blog without having to issue a user account to the site?

    We have a blog for sponsored athletes to post.  I was wondering if there was a way to allow them to contribute posts without having to set up a user account.  Is that possible? 

    Hi,
    Unfortunately not at this stage.  To post to a blog the person needs to be a user of the site. 
    Kind regards,
    -Sidney

  • How can I start/wake a Mac without having an XServe?

    Hey,
    I just bought Apple Remote Desktop and I saw this cool start fuction but when I tried it, it didn't work!
    Do you need a XServe for this?(I don't have one ).
    If not how can I do it?
    Thanks Roemer Bakker

    Hi
    You can wake any mac from Sleep using Apple Remote Desktop. You can also invoke Sleep as well as Shutting down. What you can't do - unless it's an XServe - is boot one up that has been shut down. This feature is usually referred to as Lights Out Management or LOM for short:
    http://support.apple.com/kb/TA24506
    If you're at all interested there is more on the subject here:
    http://support.apple.com/kb/HT2773
    Only the Intel XServes ever had this feature. No-one on these Forums will know whether Apple are going to or are ever likely to introduce LOM for the rest of their product line-up. AFAIK the recently released iMacs and MacBooks don't have this feature. One would have thought that if Apple were interested in adding LOM to their current product line-up they may have done so this time around?
    HTH?
    Tony

  • Can you insert into a table without having the table structure in place

    I have tried to use the import wizard insert data in a CSV file into a table;
    I have 7 column headers, however, where there are extra commas in a field the wizard just combines the 2 fields so that i get a total of 7 columns even though there should be more.
    any ideas how i can round this problem?
    should i use bulk copy?
    sukai

    Are you using correct text qualifiers in the CSV?
    Satheesh
    My Blog |
    How to ask questions in technical forum

  • Can you use the sports theme without having to use all the graphics??

    I want to just use the "card bio", "team A vs Team B", and "score" animation. Is that possible? For instance, i don't like the opening to the theme so can i take that off and just use the other animations?

    You can create all the parts you need in your trailer. Then you can select your trailer in the Project Library and click FILE/CONVERT TO PROJECT. You will now have an iMovie project that can be edited with all the capabilities of iMovie.

  • Can you buy a 3G service without a 3G iPad

    Can you buy a 3G service without having the 3G ipad2

    Most carriers have plans in which you purchase a 3G or 4G modem that lets any WiFi device connect, much like a wirless router at home. The data plans are more expensive but you can connect any Wifi enabled device to the 3G or 4G network through the portable modem.

  • How to run java application without having java environment in  a machine

    can i run java application without having java environment(JVM) in a machine.I mean i dont have installed j2se or jdk in my machine.And i have an j2ee application running on another host which is built in swings.I want to access that application in my machine
    can any one help regarding my problem

    If you only need to access the program from one machine and you are running a Unix-like operating system (e.g., Linux, Solaris), you can use the remote display capabilities of X11. In this case you have to choose the host where the app will be displayed when you start it:
    $ DISPLAY=<hostname>:0.0
    $ export DISPLAY
    $ java ...
    If you want to be able to display it on both machines at the same time, or if you are using windows, then try something like VNC (http;//www.realvnc.com). Or if you are running windows and your version supports it, you can use windows remote desktop.

  • Can i start only Java Instance

    HI,
    I installed both JAVA+ABAP stack in Nw2004s.can i start only Java STACK(java instance) with out starting the ABAP instance from SAP MMC

    Hi Surya,
                Under normal circumstances the persistence store for an ABAP+JAVA stack is the ABAP system, therefore, your system may not work without the ABAP stack. If you need just the java stack, I would recommend that you install a JAVA only system.
    Sajit

  • HT201272 how can i change my icloud address without having to set up a new account?

    How can I change my icloud address without having to set up a new account?

    Hello MeaganJ
    Check out the article below for further information on changing the email address for your Apple ID. Note that if it is an email address ending in @icloud.com you cannot change it.
    Apple ID: Changing your Apple ID
    http://support.apple.com/kb/HT5621
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • 0 down vote favorite        I would like to ask the following question. I am using mac os x 10.9 maverics me quicktime player version 10.3. Can I trim a video recording without having to press the pause or save it as a file? Or can I add a new recording t

    0 down vote  favorite  
    I would like to ask the following question. I am using mac os x 10.9 maverics me quicktime player version 10.3. Can I trim a video recording without having to press the pause or save it as a file? Or can I add a new recording to a video file? Thanks in advance

    Well,
    I tried the "Internet Recovery" option and finally saw Mac OS X Mountain Lion's install page but after waiting 7 hours when I just thought its going to start installing, I got another progress bar with 36 hours remining time to download "Additional Components" then after progressing 2-3 hours, it shows "Unable to write installation something..., Contact Apple Care"
    Then I accidently rebooted the machine and now it seems Internet Recovery don't work anymore, it shows "support.apple.com - 40 something!" error, and finally when I tried to reboot using Recovery HD, I found it's gone as-well!
    To be honest, I don't know what to do now, I am and dissapointed... also I do not have any Apple Store nearby, there is an authorized country reseller almost 650/km far away from my residents and they even charges too high (like $250) for doing such repairs (as per phone conversation)
    If anyone have any idea or anything to help me with, please do share- I'd be eternally grateful!

  • JAVA Importer: ORA-105100 can't start the java virtual machine

    Hi,
    i am having trouble to make a work interaction between forms and java.
    My PL/SQL code is calling a java code situated in an imported class.
    the error i get says : can't start the java virtual machine
    I modified the CLASSPATH to add some jar files.
    What else should i do ?
    should i modify LIBPATH ?
    any idea ?
    Thanks
    Dan

    i just found this documentation Oracle Forms Developer and Forms Server 6i (Patch 4) at this adress
    http://download.oracle.com/otn_hosted_doc/forms/forms/p4_relnotef.pdf
    which says that i need jdk 1.2.2 to make it work but the documentation was published in 2001...
    Is there an earlier doc ? or an earlier doc of the java importer ?
    http://www.oracle.com/technology/products/forms/pdf/javaimporter.pdf
    any help would be appreciated

  • Can I copy an entire page without having to format it all over again?

    Can I copy an entire page without having format it all over again? Can I basically do a copy and paste onto a new page?

    Yes, you can Copy/Paste a group of fields (or entire page with Select All), formatting is retained. 
    If you want a new form with the same fields the easiest/best method is to "Duplicate" the form from the "My Forms" tab, click on the form to select and click "Duplicate" on the top toolbar (also available in the context menu when you right click on a file).
    With "Duplicate" any "Show/Hide" logic is also retained and you have the option to copy responses as well.
    Thanks,
    Josh

  • How do you reconnect to wireless printer without having to restart mbp?

    How do you reconnect to wireless printer without having to restart mbp?

    I thought the word "reconnect" would have triggered an answer.
    Epson PX730WD on home network, SKY UK Sagem Router
    After switching printer back on iPhone 4s can still print, MBP says printer idle.
    When send print, queue says printer not connected.
    Hence question on how to "reconnect"

Maybe you are looking for

  • Help required in building OBIEE Report

    Hi, Can anyone help me to below OBIEE issues as I am very new to this field. 1. The requirement is to create one Oracle Apps Projects OBIEE report which was previously in discoverer. The discoverer report has 6 worksheet and many custom folders and m

  • RFC Error during call from IBM WebSphere adapter to SAP R/3

    We recently saw an issue arise on on one of our RFC interfaces.  We dropped 15 messages onto the request queue of the BAPI adapter, 11 processed successfully, and 4 failed with the following statement: [Thread: EAI.SAP_BAPIJmsThreadPool.thread5 (#167

  • Saving data in database using textbox and save button

    Hello. I just want a help about my code because when i close the application the data that i add is not been saved. Here is my code of save: function saveData(event:MouseEvent):void   status.text = "Saving data";   insertStmt = new SQLStatement();  

  • Bug in Flex

    TypeError: Error #1007: Instantiation attempted on a non-constructor. at mx.managers::CursorManagerImpl/::showCurrentCursor() at mx.managers::CursorManagerImpl/removeCursor() at mx.managers::CursorManager$/removeCursor() at mx.containers::DividedBox/

  • Preview Application Frustration

    I just upgraded from 10.3.4 to Tiger and found some major (for me, anyway) downgrades to the Preview App. Two points, so far... 1. I can no longer option-drag thumbnails from the drawer into new locations. This was a great feature for organizing imag