Deploying swing based programs

Howdy
Im just wondering how you would go about launching a GUI java program without having the usual command prompt window launching and being present for the duration of execution.
So basically the only window that opens is the JPane of your application.
Oh, and im running Windows as I guess that is relevant!
Any ideas?

I think thats where I have been going wrong - I haven't been making them executable jar files. All I have done is created a short cut that runs java with the jar file as it's source. Hence the console session rearing it's ugly head. I didn't realise you could actually double click on the jars and have it do something!
Thanks for the input guys. I will give it a go.

Similar Messages

  • Packaging executable jars for my Swings based Desktop application

    I have developed a swings based desktop application for which we used third party JDIC jar inorder to incorporate the tray icon functionality for our application.
    The problem is i need to provide a distributable for this application and the application's executable jar file gets automatically created as a part of build from IDE [Am using NetBeans6.0]. The Application's exec.jar is not able to locate the jdic.jar and hence am unable to get the tray icon functionality, when i run the application's exec jar.
    i.I tried packaging the jdic lib jar with in the application's jar but got to know that tht can't solve the issue.
    ii.I also tried editing the manifest file to provide the class path to the thrid party jar [jdic] ... but of no use
    Any Help regarding this would be thoroughly appreciated.

    can anyone pls let me know how would i be able to package my application as distributable so that others can deploy and run.

  • Running the Swing based applet in html

    Hi
    I am getting problem while runing a swing based applet in html. If i am using eclips and run my file as java applet it is working fine.
    For testing purpose, my html and all jars are in the same folder where my applet class is reside.
    Also i am not getting any error in html..
    Please help

    http://java.sun.com/docs/books/tutorial/deployment/applet/index.html

  • How can i run a windows based program on mac book pro

    Can I run a windows based program on mac book pro mountain lion 10.8.4

    You can use bootcamp to install windows natively on the hard drive.  You then choose which OS you wish to use at startup - OS X or Windows.
    You can also install Windows in a virtual machine - Parallels or VMWare Fusion - and run it simultaneously with OS X (a virtual machine is just a PC emulated in software, and you install and run windows in the emulated machine hardware).

  • JRE1.6 in Windows Vista for Swing based application

    Hi,
    I am running a Swing based and applet based application in Windows VISTA using JRE 1.6_U13. The text font is appearing bold in JRE 1.6_U13 whereas it is appearing normal while using JRE 1.5, though the style of the Font
    is "SansSerif", PLAIN and size 12 for both JRE 1.6 and JRE 1.5.
    Reason for the Issue:
    Swings follows the concept of taking the display values from the Windows UIManager(). The UIManager consists of keys and values. The values for the keys change from OS to OS. As a result, if the UIManager key values are not overridden with the customized values, the display will change from OS to OS. Hence the issue has occurred.
    Analysis:
    Case-1:
    1.     CALM is setting the font style to “Font("SansSerif", Font.PLAIN, 12)”.
    2.     This font is being set to the Label and Text components in swings.
    3.     The font class consists of Font.PLAIN argument whose value is 0 as per the java API.
    4.     This value can’t be changed.
    5.     Hence we couldn’t solve.
    Case-2:
    1.     We tried to get the key value for the key “Label.font” and tried to override its value.
    2.     But then the issue is with the Font.Plain which is one of the arguments in Font object.
    3.     Hence couldn’t achieve it.
    Case-3:
    1.     We thought of creating a new font where in we can have control over the weight and width of the text. Then set this font to respective key of the UIManager.
    2.     Here the weight indicates the bold thickness. As a result of which we thought of changing the weight.
    3.     But then the options that we have in the API are less and the least weight value is “TextAttribute.WEIGHT_EXTRA_LIGHT” which is equal to “0.5”.
    4.     This value is not sufficient as the boldness of the text is comparatively more than the text that is appearing in jre-1.5.
    5.     Then we tried to give the value manually, instead of using the API. But then, it was mentioned in the API that any values mentioned other than the ones specified in the API will be rounded to the nearest integer.
    6.     By doing this we have customized the boldness of the Label, but could not achieve the required boldness of the Label.
    Please need a urgent solution.

    Hi,
    The reason of the problem is Antialiasing effect of the graphics. In Control Panel -> Performance Information and tools -> Adjust visual effect, if the 'Smooth edges of screen font' is unchecked then the boldiness of the font or the Antialiasing effect is not there.
    But this effect is reflecting not only on my swing based and applet based application but also on the whole system.
    I tried to call the renderingHint method and change default value of the key KEY_TEXT_ANTIALIASING to VALUE_TEXT_ANTIALIASING_OFF, to make the antialiasing effect off for the application.
    I implemented the below code:
    Graphics g= new Graphics();
    Graphics2D g2d = (Graphics2D)g;
    g2d.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING,
    RenderingHints.VALUE_TEXT_ANTIALIAS_OFF);
    But I am not able to create an object of Graphics.

  • I am working on a windows based program thru Chrome on my Mac. It asked me to cont/alt/delete - how do I get the Mac to respond?

    I am working on a windows based program thru chrome on my mac - how do I control/alt/delete on the mac?

    Control key - Alt (also known as the Option key) and Delete key. However remember Chrome is not an Apple product so if that doesn't work you also might want to seek help on a Google forum that supports Chrome.

  • How large a partition for Win-based programs?

    I have a 500 GB hard-drive, and plan on creating a partition to run Win XP or Win 7 and the following Win-based programs: QuickBooks Pro, Quicken '09, Family Tree Maker, Dragon Naturally Speaking, and Business Plan Pro. Any suggestions as to how large I should make this partition? It seems to me that the largest files I create on my notebook are with the OSX-based programs, suggesting a smaller partition might be adequate. Thanks.

    Gerald Regan wrote:
    I have a 500 GB hard-drive, and plan on creating a partition to run Win XP or Win 7 and the following Win-based programs: QuickBooks Pro, Quicken '09, Family Tree Maker, Dragon Naturally Speaking, and Business Plan Pro. Any suggestions as to how large I should make this partition? It seems to me that the largest files I create on my notebook are with the OSX-based programs, suggesting a smaller partition might be adequate. Thanks.
    I think it depends on your usage of those programs and the programs running under OSX. How much data will you create and store within each partition? It will be very deficult for us to guess your usage.
    I have a 500GB drive that I partitioned half and half after reviewing what my usage would be. Do an analysis of your usage and storage requirements.

  • Jdeveloper Version for MSCA development with MWA server based programming

    Any one Please provide the Oracle Jdeveloper version for Mobile Supply Chain Applications with MWA server based programming. This application basically runs on Whse mgmt responsibility. Any body who is developing this type application, please provide the Oracle Jdeveloper VERSION using for programming.
    Thanks,
    Deepak

    my issue is resolved. i'm getting this problem when i add just java class file to the project. but when i also add the business componets and page component and generate controller class to the project , i can see that import is recognized by the java class file. So i guess i have to delete all the unwanted business components that i have created at the end.
    Thanks
    Sunny
    Edited by: user13369509 on Mar 16, 2011 12:44 PM

  • Our software vendor tells to use FF 3.5.1. because of some printer issues with their web based program. How safe is it to work with FF 3.5.1 in 2012?

    Our software vendor tells to use FF 3.5.1. because of some printer issues with their web based program. How safe is it to work with FF 3.5.1 in 2012?

    Thanks for the reply. I'll have a look at your solution.

  • Plug a Swing-based development tool into Eclipse

    This article teaches you how to integrate a stand-alone Swing-based editor into the Eclipse Platform as a plug-in. Using simple techniques, you can share resources between the Swing tool, the Eclipse Platform, and various SWT widgets -- and these resources can communicate through mutual awareness. Tool vendors who want to bring Eclipse-based development tools to market with a minimal amount of re-coding will also find this article helpful.
    Learn how to integrate a Swing editor into the Eclipse Platform
    http://www-106.ibm.com/developerworks/java/library/os-swing/?t=gr,JavaW03=EclipseSwing

    Originally posted by: martin.brenda.martinbrenda.de
    > Anybody is welcomed to share any first-hand expreience, links, opinions,
    > plz!
    I am working since a few months on this topic. We have a Swing Application
    which we want to integrate in Eclipse. We decided to do this in little
    steps. One of the first is to integrate the application as far as possible
    over the Swing Bridge. And the results are really good. We integrated our
    editor, some views, resources and the most actions so far. We hope to
    release our Alpha version in February.
    The really nice thing is, that we could take allmost all our existing Swing
    Wizards and so on from the old application. Only some wizards for Project
    and new Resource creation had be made new. The communication between AWT /
    Swing and SWT is also runnig well. All events (Mouse, Keys..) are being
    transfered from one toolkit to the other. The only problem is the
    synchronization of the Swing and SWT thread. You often get "Invalid thread
    access" messages. But this is solvable.
    Gentleware also integrated their modelling tool Poseidon in Eclipse over the
    Swing-Bridge. If you wanna see how it looks like, here the download page:
    http://gentleware.com/downloadcenter.0.html
    You need the Professional version. Their integration is not so nice (I think
    they did it really fast). But I think they work on it in the future. But
    here you can see that it works ;-)
    Here are also some links:
    http://eclipsewiki.editme.com/CallingSwingFromSWT
    http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet135.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup&only_with_tag=H EAD
    http://www.logemann.org/day/archives/000008.html
    Bye,
    Martin Brenda

  • HT3986 I initially alotted 20gb for the windows 7 operaig system, as I install additional PC based programs (just a few), will i need to increase the size of the 20 GB partition, or is this done automatically by the system?

    I initally alotted 20GB for a Windows 7 operating system using Boot Camp. As I intend to add a few more PC based programs will the size if the partition that I set up be expanded, or is this something I need to do manually.  Or is the sapce required by the programs and thier data based sit out side of the 20 B partition that I choose in the Boot Camp set-up process?

    20G is far too small (think minimum 60G) and it will not automatically resize.
    Either remove it now and make a larger space or purchase Paragon Camptune, you can resize the installation safely with it.

  • Handle a pdf using using the Java-based programming

    Could I handle a PDF document created by LiveCycle using the Java-based programming?
    I want to say, don't use the LiveCycle server-based application.
    I'm developing a small desktop application. This application read from the database and populate a PDF document. The PDF document has many forms and they use a button to increment the field in the subform or duplicate the subform.

    Could I handle a PDF document created by LiveCycle using the Java-based programming?
    I want to say, don't use the LiveCycle server-based application.
    I'm developing a small desktop application. This application read from the database and populate a PDF document. The PDF document has many forms and they use a button to increment the field in the subform or duplicate the subform.

  • Is it possible to use the microphone dictation in windows based program?

    Is it possible to use the microphone dictation in windows based program? I have tried dictating into Pages and copying and pasting, but the Windows based (Allscripts EHR) recognizes only the first attempt to copy and paste. Any future copying results on the first pasted dictation to show up in the Allscripts EHR.

    Hi,
    >>>configuration instead of coding etc
    currenly it is not possible to achive it without any coding
    >>>repeat messages with RSNAST00
    RSNAST00 is not used to repeat messages (idocs) but to send them
    try using standard IDOC in your sd invoice scenario
    if you don't want to do any coding
    Regards,
    michal

  • How to run a swing based client server application in web?

    hi ,
    wat hav 2 do to run a swing based client server application in web?

    Swing applications run on the client only. You have two basic options:
    1) turn the app into an applet so it can run inside the browser (but still on the client)
    2) use webstart to allow the swing application to automatically install on the client from your server.

  • Java 7 to remote in a windows based program

    I am running OS X 10.9.3.  I installed Java 7 yesterday to set up my remote access to a windows based program at my work.  I cannot access all of my work because one program says I need to have Java 1.6.0_31 but I installed Java 7.  I'm not sure if I was given that option to install that Java version on my OS version

    what program used to gain remote access ?

Maybe you are looking for

  • How to open and view an app in itunes

    I have an app called daily diary how can I open and view my entries in itunes, and retrieve my pics

  • Export op results in  error "EXP.EXE has encountered a problem and needs to

    I have been working with Oracle Designer on an old computer (running Windows 2000 and an Oracle 10.2 database) and I am attempting to get it to run on a newer computer (running Windows XP and an Oracle 11g database (release 11.1.0.6)). Regarding the

  • Using list in where clause

    I found that the following query would not work in my report region SELECT col1, col2 from table1 where col1 in (:ITEM1) My page provided the values of :ITEM1 to be 22,23,24 The error I receved was ORA-01722: invalid number Any ideas?????

  • HT201364 I can't update to OsX mavericks.

    My Macbook pro was bought in april 2007. 2.16 GHz Intel Core 2 Duo, 2 GB 667 MHz RAM and Lion 10.7.5   I have 30Gb free memory in my hard disk. Were is the problem?

  • How to remove the parent-child software update point in sccm 2012 sp1

    I have a CAS , Primary site server(1) and secondary site servers (7). I have software update point installed on CAS, Primary server and Secondary site servers as well. I have a situation to reinstall the software update point which is in primary site