How can I create a shortcut to my application?

Hello
I have just created my first application, and I would like to start it from a shortcut in my winXP desktop. But how can I since it is not an .exe file? I am using the NetBeans IDE 3.5.1 that comes with the java bundle, and I have tried unsuccsessfully to find some solution there. I have also scanned both of my Java books (for beginners...:) without luck. I appreciate any help you can provide.
Jens

hi,
just download FreeJava or JCreator and save ur application as a project and then convert that project to an executable jar file. make a shortcut to this executable .jar file which will start ur project from the desktop.

Similar Messages

  • How can I create a shortcut to a tools menu option?

    I use the clone stamp and the brush tool regularly. Each of these tools provides a Mode: dropdown list to select from in their menu bar.
    The drop down options I use most frequently are Lighten and Darken. I would like to create short cuts to Lighten and Darken, such as Ctrl+Shift+L (Lighten) and Ctrl+Shift+D (Darken).
    The tools panel menu bar does not appear to have a selection list in the Keyboard Shortcuts dialog box.
    How do I create these shortcuts.
    Thank you in advance,
    Jim

    They are already there.  The same shortcuts that affect layer blend modes when other tools are selected, do exactly the same thing when the Brush; Clone, Healing Brush, Blur, Sharpen and Smudge tools are selected.  (I forgot the gradient tool)
    So with the Move tool or a Marquee selected
    Shift Alt + scrolls down through the selected blend modes
    Shift Alt - scrolls up through the selected blend modes
    Your can go directly to specific Blend modes with first letters
    Shift Alt n = Normal
    Shift Alt m = Multiply
    Shift Alt s = Screen
    Now select the brush, or one of the tools that have blend modes, and the same keys will do the same job for that tool's blend mode.

  • How can I create JScrollPane in my swing application with scroll bars movin

    Hi,
    How can we create scrollpanes moving with scrollbars.I tried many times with custom layout.but it does not work if i set custom layout.I hope that I will get my problem solved.
    Thanks and Regards,
    Rameh RK

    This means it is not possible to create a pure unicode file without the byte order mark?
    You wouldn't happen to know how a file with byte order mark should read on a Linux system?
    Or if this possible or not?
    Regards
    Christian

  • How can I create a shortcut to launch an external application?

    Hello, I'm developing app in Swing where I want to create a shortcut for any external application, I'm able to get the .exe path, and an icon path (in .png format), is there a way to create a "shortcut" or button and assign the icon and the .exe path to run it? This is what I have to get the .exe path:
    Process p = Runtime.getRuntime().exec("\"" + jTextField2.getText() + "\"");
    Where jTextField takes the value from a JFileChooser value, doing the same for the icon, then I could do this for a button to assign the icon:
    ImageIcon img1 = new ImageIcon("C:\\image.png");
    jButton7.setSize(64, 64);
    jButton7.setIcon(img1);
    But I havent' found any way to make the button (or any kind of shortcut) to execute the program, I could go and create a method to do it on click or ActionPerformed, but the idea is to do all this when I finish the create the shortcut, I hope you can understand me, I'm kinda confused, so far, I can launch the app but I want to create a new button/shortcut everytime I need to add an external app, thanks in advanced!!!

    user3538005 wrote:
    Hello, I'm developing app in Swing where I want to create a shortcut for any external application,.. For what end purpose? If it is to show documents in the default consumer for that document type (e.g. a .doc might be MS Word), then look to the <tt>java.awt.Desktop</tt> class.
    ..I'm able to get the .exe path, and an icon path (in .png format), is there a way to create a "shortcut" or button and assign the icon and the .exe path to run it? This is what I have to get the .exe path:You do realize that is disgustingly Windows specific, right? What about users of Mac and *nix?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Can you create keyboard shortcuts to open applications?

    Hi everyone,
    I have been trying to create some keyboard shortcuts to open individual applications but they haven't been working. For example, to open up iTunes, I assigned Command+i. But I'm starting to think this isn't possible in OS X. Is this true? Any suggestions on how to accomplish this?
    Thanks,
    Dustin

    The Apple Help for Keyboard Shortcuts in "System Preferences" (the Question Mark "?" down at the bottom) says the following: "Note: You can create keyboard shortcuts only for existing menu commands. You cannot define keyboard shortcuts for general purpose tasks such as opening an application or switching between applications."
    I use a program called "Quicksilver" from blacktree.com . It is not easy to get used to, but it is quite powerful. To open a program (once Quicksilver is installed properly), you can either set a keyboard shortcut such as "Control-i" (or whatever you want), or use their universal opener "Control-space" and type the first letter or two of the application you want to open and then hit or type open.
    My favorite feature of Quicksilver so far is the ability to recover easily any number of previous copies to your clipboard. How many times have I copied something and then before pasting it copied something else by mistake and lost the first thing I copied?!? Quicksilver lets me hit "Control-space" and then open a clipboard history window and scroll down to whatever I want to paste (I have it set for 100 items, pretty excessive, I know!). Cheers!

  • How can i  create and access resource file(with .res ext) in j2me

    hi,
    i am developing an mobile international application using jsr-238 an optional api to implement the idea of internationalizationand localization.
    please tell me how can i create .res files in my application to store strings of different languages.thanks inadvance.

    Hello GG RA,
    which fileformat do you want to use (binary or ASCII)?
    There are some LabVIEW shipping examples for File I/O
    You could use the LabVIEW NI Example Finder (Help --> Find Examples..(search item "file")) to get an overview about the different file-formats in LabVIEW.
    Hope this helped out and feel free to reply if you have more questions about File I/O in LabVIEW
    Best regards
    Benjamin

  • How can I create a slideshow that depicts only a version of a photo rather than the original? Since the original and new versions are saved together, the aperture slideshow often choices the original rather than the desired version to display/

    How can I create a slideshow that depicts only a version of a photo rather than the original?   Since the original and new versions are saved together, the aperture slideshow often choices the original rather than the desired version to display.

    There are two things we use the name "Slideshow" for in Aperture:  a Slideshow Album, used for making Slideshows, and the Slideshow that is made.  (Imho, it is a design mistake to not call the containers used to create Slideshows, Books, etc., "Albums".)
    The Slideshow will use the Album Pick from any Stack.  A good way to use Aperture is to promote the Image you want to regularly use (such as, for example, a Version with adjustments) to the top of the Stack.  This makes it the Stack Pick, and will be the default Album Pick.  If you haven't done that, you can still change the Album Pick for any Stack in a Slideshow Album.  Expand your Stack(s), select the Image in each Stack that you want to be the Album Pick (and thus shown in the Slideshow), and "Stacks➞Set Album Pick".  (Note the keyboard shortcut; there is also a Toolbar icon for this.)  The change is immediate.  The Slideshow will always show the Album Pick (or, if there is not one, the Stack Pick) for every Stack in your Slideshow Album.

  • How can I create the recovery discs for my AIO computer? (For Windows 7 systems)

    Q.: How can I create the recovery discs for my MSI laptop/AIO computer? (For Windows 7 systems)
    A.:
    1. Locate the "MSI BurnRecovery" shortcut on your desktop or start menu. Run this program. (Note: If UAC is enabled, press "Yes" to allow the program to run.
    2. MSI BurnRecovery will prepare the files. This process may take a few minutes.
    3. Click on "Next" to continue.
    4. Click on "Advanced".
    5. Click on "Create an ISO file for the recovery disc".
    6. Select the destination where you want to create the ISO files. (Default is the D: drive)
    7. The program will now create the ISO files. This process may take up to 20 minutes.
    8. Click on "Finish". Make sure the box is unchecked.
    9. Browse to the location of the ISO files. Double-click the recovery_dvd file. (Note: Depending on your system, you will have 1-3 recovery_dvd files)
    10. Insert a blank DVD (If the AutoPlay window pops-up, close it). Click on "Burn". It is also recommended to check the box to verify disc after burning.
    11. After burn is complete, click on "Close".
    12. Double-click the recovery_dvd2 file.
    13. Insert a blank DVD (If the AutoPlay window pops-up, close it). Click on "Burn". It is also recommended to check the box to verify disc after burning.
    14. After burn is complete, click on "Close". Recovery disc creation is now complete. (You can also delete the ISO files, but it is recommended to keep them)

    Hi,
    You can order a replacement set of Recovery Discs using the link below.
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c00810334&cc=us&lc=en&dlc=en
    If you have any problem with this link, order them directly from HP.
    If you live in the US, contact HP Here.
    If you are in another part of the world, start Here.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • I would like to know how do you create a shortcut for a webpage for your desktop?

    I would like to how if possible, how do you put a "shortcut" on your desktop when using Firefox?
    Thank you for your time.

    ''how do you create a shortcut for a webpage for your desktop?:''
    Drag the favicon at the left side of the location bar to the desktop
    Reference: (you can also do from bookmarks)
    * https://support.mozilla.com/kb/Creating+a+desktop+shortcut+to+a+web+page

  • Can we create a shortcut key like ctr1+1 to cal a new form from the existin

    can we create a shortcut key like ctr1+1 to cal a new form from the existing form,i created using alt key by alloting a letter in access key of a button so it worked with alt button(alt+1) ,but i want a shortcut key which works with control button, i mean the shortcut key must be like ctrl+1 or ctrl+anyletter. On pressing ctrl+1 BUTTON or CTRL+ANY LETTER A NEW FORM must be called from the existing form.so please guide me how this can be achieved..
    i AM USING FORMS 5i

    EdStevens Wrote:
    And what is wrong with using a remote connection?
    Ideally I would like to implement it in an API tool that would create Oracle Databases for an API with specific prescriptions once give DBName and Password .
    Thus I think for an API tool to create remote shell connection maybe is an anti-pattern from Software Architecture
    e.g. I already red from Microsoft Doc that PSEXEC is sometime blocked from antiviruses
    But it was just a question, I may not do it, as informed, that companies having Oracle DB, usually have an Oracle DBA, and an Oracle DBA some times may not let anyone touch the Databases on the Server. Also Oracle DB Server might be on different Operating Systems while the API tool will always be Windows
    The method you use will necessarily be somewhat dependent on the OS of the server.  If Windows, what's wrong with using Windows Remote Desktop?  If *nix, as explained in your several other threads swirling around this question, use a putty session to connect ... then, if needed for a GUI utility like dbca, runInstaller, etc, just set up an x-server on your local machine and enable x-11 port forwarding in your putty session.
    You really are trying to make all of this much more difficult than it need be.
    Hmm... so in Windows a remote seems the only solution, except the one RichardHarisson proposed if you already have a Database set up. For Unix I can promote the port forwarding method you recomended. Thank you.
    Sorry I just finished my University and make my 1st internship on the Oracle DB Layer of Applications in Western Europe.
    P.S.
    There is no such a need but I would find it a personal good exercise in understanind these connections-administration issues under different OS to try create an API tool that creates DB on other PC of different OS once you chosen the OS of the Server.
    + I promess not to follow it with a flood of threads agains : P I already became better in finding what I need through docs, lol

  • TS2756 How can i create a new usb connection (service)  on my iMac for sharing internet from my iPhone5 ( i seem have to deleted it )

    How can i create a new usb connection (service)  on my iMac for sharing internet from my iPhone5 ( i seem have to deleted it )
    i know its not a problem whit my carrier o data plan or sharing preferences on the ipone because when i use it un my laptop it works perfectly through
    the usb and even works on the Imac through wifi and bluethood tethering but NOT through usb!!.
    the problem is that trying to make it work i deleted the "profile" usb iphone on the network prefereces panel. Now i only have 3 options: ethernet / wifi / bluetooth
    but not the usb iPhone i used to have.
    And when i try to add a new one i dont get a USB option.
    can some one help me please??
    this is how it looks (after the bluetooth PAN i used to have USB iPhone option)

    The question would be more appropriate in the Mac forums as it is not really related to the iPhone.

  • How can I create a new ring tone for my iPhone 4?

    How can I create a new ring tone for my iPhone 4? I followed the Garage Band process and ended up with the ring tone I want as a AAC audio file. It got stored in my iTunes a a song rather than a ring tone. How do I make it a ring tone vs. a song? I tried dragging it t the Ring Tone category at the bottom of the ITunes list, but it won't alloow me to move it?

    There's also an easy to use Applescript over at Doug's Applescripts for iTunes. It automates the whole thing. All you do is set the start and stop time on a file in iTuens and run the script. It will do everything else.
    Make Ringable v1.1
    http://dougscripts.com/475

  • How can I create a text pop up window in my Pages document? I want text to pop up when the reader hovers his/her cursor over a certain word.

    How can I create a text pop up window in my Pages document? I want text to pop up when the reader hovers his/her cursor over a certain word in the document. I am teacher. So for example when a student came to word he/she did not know, if he/she hovered the cursor over the word, a defintion or other information would appear.  You can do this in Word using bookmarks/hyperlinks but I can't figure this out in Pages. I can link it to another point in my Pages document but I just need the text to pop up - not take the reader to another location.  THANK YOU!!!!!!

    Have you tried Word for Mac?
    You will need to test if links survive export or printing to .pdf
    Peter

  • How can I create an csv/excel file using pl/sql and then sending that file

    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.

    968776 wrote:
    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.You are trying to do it at a wrong place..
    Whay do you want database (pl/sql) code to do these things?
    Anyhow, you may be interested in :
    {message:id=9360007}
    {message:id=9984244}

  • How can i create datasource on apache server for ADF application?

    Hi All,
    i my use case i have created simple adf application using ADF BC and want to deploy on Apache server 6.x.
    So my question is that  how can i create Data Source i have goggling and find  two different way to do this.
    1. write following line of code on apache server conf/Context.xml file.
    <Resource name="jdbc/TestDB" auth="Container"
                  type="javax.sql.DataSource"
                   driverClassName="oracle.jdbc.OracleDriver"
                  url="jdbc:oracle:thin:@localhost:dst"
                  username="jagrandb" password="jagrantest" maxActive="20" maxIdle="10"
                  maxWait="-1"/>
    but when i have used this way i got following exception.
    org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnection
    check link-
    https://forums.oracle.com/thread/2564233
    2. write following line of code apache conf/Server.xml file
    <GlobalNamingResources>
        <!-- Editable user database that can also be used by
             UserDatabaseRealm to authenticate users
        -->
        <Resource name="UserDatabase" auth="Container"
                  type="org.apache.catalina.UserDatabase"
                  description="User database that can be updated and saved"
                  factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
                  pathname="conf/tomcat-users.xml" />
    <Resource name="jdbc/TestDB" auth="Container"
                  type="oracle.jdbc.pool.OracleDataSource"
                  description="User database that can be updated and saved"
                  driverClassName="oracle.jdbc.driver.OracleDriver"
                  factory="oracle.jdbc.pool.OracleDataSourceFactory"
                  url="jdbc:oracle:thin:@//172.31.43.207:1521:dst"
                  username="jagrandb" password="jagrantest" maxActive="20" maxIdle="10"
                  maxWait="-1"   />
      </GlobalNamingResources>
    and add this line in context.xml file inside <context> tag
    <ResourceLink global="jdbc/TestDB" name="jdbc/TestDB" type="oracle.jdbc.pool.OracleDataSource"/>
    but when i have run application i have got following error
    log-
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: invalid arguments in call"
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:298)
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:181)
      at org.apache.jsp.test_jsp._jspx_meth_sql_005fquery_005f0(test_jsp.java:110)
      at org.apache.jsp.test_jsp._jspService(test_jsp.java:63)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
      at java.lang.Thread.run(Thread.java:662)
    Aug 2, 2013 5:17:21 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: invalid arguments in call"
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:298)
      at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:181)
      at org.apache.jsp.test_jsp._jspx_meth_sql_005fquery_005f0(test_jsp.java:110)
      at org.apache.jsp.test_jsp._jspService(test_jsp.java:63)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
      at java.lang.Thread.run(Thread.java:662)
    so what is the solution how to create datasource on apche server which suitable for adf application?
    when i test data source using  following code used 1. way as i mentioned above  its running fine bt not for second.
    <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <sql:query var="rs" dataSource="jdbc/TestDB">
    select empname from pay_emphdr where empcd='JK1306'
    </sql:query>
    <html>
      <head>
        <title>DB Test</title>
      </head>
      <body>
      <h2>Results</h2>
    <c:forEach var="row" items="${rs.rows}">
        Foo ${row.empname}<br/>
    </c:forEach>
      </body>
    </html>
    please help me. it is very urgent.
    thanks in Advance
    Manish

    Hi Lindalnci
    i have already tried  this tutorial and in my post i have defined first way to do using this procedure.
    in that case i have got following exception as i have mentioned above
    org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to oracle.jdbc.OracleConnection

Maybe you are looking for

  • Batteries for Power Mac G3 Beige Minitower

    Where can I get batteries for Power Mac G3 Beige Minitower? I think they're Lithium batteries 3.6V 200W 922-4542.

  • Analytic Functions with GROUP-BY Clause?

    I'm just getting acquainted with analytical functions. I like them. I'm having a problem, though. I want to sum up the results, but either I'm running into a limitation or I'm writing the SQL wrong. Any hints for me? Hypothetical Table SALES consisti

  • What's the best way to share my Aperture and FCPX projects between an iMac and MacBook Pro?

    Greetings, I own both an iMac and MacBook Pro and I'm interested in figuring out the best way to have access to my iTunes, Aperture and Final Cut Pro X files not only when I'm at home using the iMac, but when I'm out and about with the MBP. I'm sure

  • Big Content Access Performance Challenge

    Partitioning solution: GPT + Window 8.1 is capable to process 64-bit GPT partitions - even those created by parted-program under Linux OS + big disks available with full capacity Formatting solution (at the time being): 1) Window 8.1: NTFS    + works

  • About status display on CSL page in E-recruiting

    On the candidate short list page, is the status of each candidate referring to candidacy status or application status defaultly.  Also, what are default activities for changing status of candidacy? thanks.