Speeding up loading of gui applications

Hi there I would like to optimise a gui application, is it posible to have all the required componants stored in a jar hence speeding up the gui construction time, or what othere techniques can one adopt to speed this up.
also I noticed that the system takes a substantial amount of time to load various fonts etc, I am running the app on solaris.
Any tips would be helpfull.
kind Regards

placing them into a jar just speeds up download times if you load resources from the web.

Similar Messages

  • Speeding up loading up guis

    Hi there I would like to optimise a gui application, is it posible to have all the required componants stored in a jar hence speeding up the gui construction time, or what othere techniques can one adopt to speed this up.
    also I noticed that the system takes a substantial amount of time to load various fonts etc, I am running the app on solaris.
    Any tips would be helpfull.
    kind Regards

    Search on "www.javaworld.com" for "lazy constructors". There is at least one tutorial there that shows how to initialize GUI components on demand, rather than all at once at start-up time. Not a huge improvement, but it helps.
    Try Java 1.4.2 - I noticed Swing load times improved with no other changes to my system (ie code changes, hardware upgrades etc).

  • Loading managment of GUI application

    Hi,
    Is there a known framework for managing the loading a GUI application? I mean that I would like to load all the windows in the application in the initialization part, have some configurable parameters like sizes etc...
    Thanks

    I'm not in a position to 100% verify this at the moment, but I'm pretty sure what is happening is that your thread is returned to an internal thread pool. For a variety of reasons, the thread must continue to pump messages while in the pool. This causes no overhead when there are no messages. However, it will allow your window to live on when you might have otherwise expected it to hang.

  • Error message unable to load a GUI

    HELLO THERE.  I AM TRYING TO READ A MANUAL BUT I MOST HAVE ADOBE READER WHEN INSTALLING I GET A MESSAGE UNABLE TO LOAD A GUI THEREFORE I HAVE NOT BEEN ABLE TO COMPLETE THE INSTALLATION PROCESS OF ADOBE NOR READ THE MANUALS THAT I NEED.  CAN ANYONE TELL ME WHAT TO DO. THANKS

    Thank you MerryMort, you've been a lifesaver! I checked out your last post, and the link you put up helped. It started up the download manager instantly. I tested out youtube and the videos there started up instead of giving me the message to install last version of flash player! Again thanks.

  • Running a GUI application without holding command prompt

    Hi there ,
    I have developed a GUI application using Swing. After compiling the same successfully , when I run the same , presently , I am running it like ,
    c:\> java xxx
    where c:\ is the general command prompt on a Windows machine where I can type in my commands like javac or java and xxx is the class file name . Now till I complete using my GUI application and exit from the same , the command prompt will also be there ( and probably displaying the output of my System.out.println ) . So , two sessions are running , one is just the command prompt and another is the actual GUI application.
    How can I avoide this ? e.g. when I type command "notepad" and press enter , notepad is started and the command prompt returns after starting notepad i.e. the notepad and the command prompt are not related now , I can close the command intrepreter and still notepad is running . What should I do to create such a Java GUI application ? Please advice .

    If I understand you correctly this is something that happens in linux also. And I believe that you can solve this by creating to shortcut to this program.
    And the shortcut or link to application will be the command line that you use to run the Java Application.
    i.e.
    java c:\javadir\subjavadir\application.class
    And I believe that this will allow it to run without the command prompt. Just showing the GUI and no additional command prompt window. Freeing the command prompt is something that I don't know how to do in either OS.
    I use the Link To Application method because I ultimately don't need to have multiple windows for one application. Even though it is nice to be able to kill the Application by destroying the command-prompt session (in case your app causes lock-ups during testing).
    Post your results . . . I'm not even sure that I'm being clear at all with my explanation to your question.

  • Error while loading data from application server

    Hi all,
    Am facing a problem while loading data from application server.
    The error i get is ....
    *" The argument ' Rental/Lease ' cannot be interpreted as a number while assigning character to application structure*.
    'Rental/Lease' is a value for a character infoobject length 30. I checked for the sequence of fields in data source and the sequnce of values am receiving in application server and the sequence match.
    when i copy these values into a CSV onto a desktop and load,load is successful.
    Please let me know your views.
    Thanks&Regards,
    Praveen

    It looks like the system is trying to convert Rental/Lease to a number format.   Is the info object type CHAR or NUMC or ???  I would look there.
    Also, make  sure / is in RSKC.
    Brian

  • Can I Open an HTMLHelp (*.CHM) File from Java GUI Application?

    I ussually use Delphi to develop my applications and I can open an HTMLHelp (*.CHM) file from my application. Can you show me the ways to do it from my Java GUI applications?
    Thanks for everyone.
    Budi Raharjo
    http://budiraharjo.blogspot.com

    http://www.google.com/search?q=java+chm
    Seems like there is some 3rd party software available for that.

  • [SOLVED] Unable to use GUI applications on any WM I tried except TWM

    I'm using Arch Linux at my work despite it's very risky because something may go wrong pretty often (rolling distro, latest packages, DIY for newbs like me etc.). Unfortunately, this is one of those times...
    I was using Xmonad. It all started w/ Chromium crashing a lot. I had a discussion about it here, but nobody found a solution. Chromium just got frozen and I could only kill it manually. Then I switched to Google Chrome and it get a little better. Today it was so bad that I couldn't do my daily work, so I switched to Opera; then Firefox... the same! After that I discovered that it happens w/ any GUI application. Good thing I'm using terminals for almost anything else I do. Anyway, I need GUI browser! So I thought that it may be something related to Xmonad itself. That's why I installed Xfce4 and... ...the same - GUI crashes. It's even worse actually because Xfce4 has a lot more GUI elements than Xmonad.
    Now I'm writing from TWM and it has crashed only twice in two hours. What should I do? I really have no idea what could broke the things here. I really need help, guys!
    Ohh, back home I have PC w/ almost the same conf -- everything works. Driver problems?
    P.S. Title says "wrong focus" because sometimes application just freezes, sometimes it loses focus and I'm unable to use it... weird stuff.
    P.S.S. Changed title.
    Last edited by daGrevis (2012-10-11 06:45:33)

    So, as I understand it.... Haskell somehow conflicted w/ X11 when I did system upgrade.
    Quick solution was to:
    1. Remove Xmonad (xmonad, xmonad-contrib),
    2. Try to remove Haskell (ghc),
    3. Remove all needed packages that disallows to remove Haskell,
    4. Remove Haskell,
    5. Check that system still works (I tried to do things w/ TWM and system upgrade),
    6. Put on any WM (I'm now using Awesome, but you can try to reinstall Xmonad as well (just follow all logs and stuff)).
    Also, this fixed problem /w browser crashing.
    P.S. Maybe this is just temporary solution, but for last 30 mins everything works /w problems.

  • How to load an Applet application for 1000cards?

    Hi Friends..
    I want to know How to load an Applet application for 1000cards?..
    Assume that, i have an Applet application that need to loaded into 1000cards..
    So, how to solve this?
    Do i must to load an application manually for each card?
    Is there any another way?
    Thanks in advance..

    for 1000 cards you can use a "small" printer like an evolis "dualis" or something like that
    we've produced thousands of cards with this method in my company.
    the pro is that you can also print the cards in the same time.
    they usually have simple APIS like get_new_card_from_loader(), put_card_on_contacts(), eject_card()
    you can connect any reader on the printer , the raw card contacts are available on a connector.
    some printers also have contactless couplers.
    but remember that deploying cards in the field is not just loading an applet.
    it's also a cryptographic challenge, you need to change the card keys or anyone will be able to play with your cards, adding and removing applets as they want.
    typically this is achieved by using an ultra secret mother key and whatever derivation algorithm you like using data from INIT UPDATE as diversifier. example, you can TDES cipher part of the INIT UPDATE data using the mother key as TDES key, or use something involving SHA1, using a HSM if you are serious, etc.
    for your entertainment here is a high volume card personnalization machine. That's amazing.
    http://www.youtube.com/watch?v=6ZBF_yKRF5w

  • Advantages of using a webserver inbetween a load balancer and application servers

    I am building out a new weblogic domain.
    I am wondering which one of these configuration to go with:
    1. Load balancer > weblogic servers
    2. Load balancer > web server > weblogic servers
    Could someone tell me what are the specific advantages of having web servers inbetween a load balancer and application servers (besides caching static data content and acting as a proxy)?
    Thanks in advance
    Srini

    Other than hosting the static content, nothing much really.   We have our load balancer go straight to WL for applications without static content and route to web server if there is static content.   Easy enough to do it both ways, best of both worlds.

  • [CUPS] GUI applications stuck on print command

    I have a running CUPS server on this machine (a bridged VBox VM, if somebody cares), from which I'm writing.
    I also have an amd64 arch box in the other room, which has an USB printer plugged in (with cups-usblp from aur), and everything works fine, if I try to print locally from the arch box it works, and also I can print through IPP from windows boxes.
    But I can't print anymore from this arch box; cups is up and running, and with the right drivers (I managed to print two weeks ago), and is configure to print through the other machine CUPS server (all permissions are correctly set).
    Every GUI application freezes for a really long time after pressing "print", and only a kill signal can close them.
    Any ideas? Looks quite weird.

    Did you by any chance create an evironment.plist file? It is located in ~/.MacOSX/ If you don't know about it or don't know to look (.MacOSX is normally invisible), try this:
    In Finder.app, in the "Go" menu select "Go to Folder..." (shift-command-G), type ~/MacOSX in the text field and hit OK, the finder should then open a window or complain.
    If it opens a window and you find in it a file named environment.plist move that file to the desktop and try your applications. Do they work as advertized? Try again after logging in/out if things don't work. Do they work now?
    Whatever hapens, tell us more...

  • How to load new planning application in EPM 11.1.1.2-DIM ESSBASE ADAPTER

    how to load new planning application in EPM 11.1.1.2-DIM ESSBASE ADAPTER

    If you trying load metadata into planning using DIM then have a look here :- http://www.oracle.com/technology/obe/hyp_fp/DIM_Planning/OBE_Dim_Planning.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Hi i am unable to load a web application on firefox, however it loads perfect in google chrome and IE7

    On loading the web application on firefox, it says the connection is not trusted... i tried treating it as an exceptiom, but it still doesnot allow to access it on firefox

    Hi.
    The internet is a big, wonderful source of knowledge.
    Here is a site that I found that will describe setting up a static IP.
    http://homepage.mac.com/car1son/staticport_fwdstaticip.html
    the pictures may be slightly different, and your Airport will be slightly different, but this is a concept that you can learn and adapt from these other sources.
    the entire article is here:
    http://homepage.mac.com/car1son/staticport_fwdintro.html
    Oh, look here's a specific OSX 10.4 page over at portforward.com
    http://portforward.com/networking/static-Mac10.4.htm

  • How can i load A gui JTable bean through jsp:useBean tag in a jsp page

    Hi,
    i am chiranjit , i am in a jsp project . i am desparately looking a solution for below stated problem:
    i want to make a jsp page for master entry , that why i want to load a GUI Java bean in my jsp page.This GUI Bean contaning a JTable in which allow grid type data entry in the jsp page. But i am unable load that bean in the jsp page through jsp:useBean tag in my page.So if you have any solution then send in the forum as early as possible.
    Thank you
    chiranjit

    No can do. JSPs can only output plain HTML (and javascript...) They are not used like normal Java classes.
    If you need a complex GUI then you might use an Applet instead. If you want to use a JSP then you are stuck using normal HTML components, like <table> <form...> <input type="text"> etc...

  • Images in the shared library not loaded in the application EAR

    The images in the shared library are not getting loaded in the application EAR deployed in the weblogic server.
    I have a portal web project, which is deployed in the server, as a shared library. I'm using this shared library in my application EAR. All the details like the portlets, look and feel elements are loaded. But the images are not displayed when I run my application. Please help!!
    Can it be a problem with the context path specified or something else?

    Hello,
    It is most likely an issue with how your portlets are creating the URLs to the images. What kind of portlets are you using (JPF, JSF, JSR168, Struts, JSP)? And how are you generating the URLs to the images?
    Kevin

Maybe you are looking for

  • Muvo TX/File Error Sys

    Hey people, I have a problem with my Muvo TX USB 2.0 : when i try to switch on my mp3, "File Error System" appears on the screen and the player switches off on its own. When I plug it in my laptop, i'm unable to access the hard dri've but I can see t

  • Cash and liquidity report FF7A and FF7B

    Hi all Here i am executing FF7A and FF7B report, for cahs and liquidity postion in that reports i am getting banks and persons items, when i double click on persons systme is showing only F1 level details, How to get defferent level in persons items

  • S_ALR_87013345 (profit centres Vendors): Balances are not showing

    Dear experts, We have done F.5D, 1KEK transaction and after that when we execute S_ALR_87013345 (profit centres Vendors): it is not showing any balances but balances are appearing  in S_ALR_87013344(open items-Profit centre payables) is showing corre

  • Why is iTunes repeatedly downloading deleted podcasts?

    I'm using 10.5.3 / Snow Leopard. I have podcasts from 2008 showing up in iTunes. They all started downloading again recently after updating iTunes. I canceled the downloads in progress, deleted the old podcasts, and checked my settings; that was two

  • Why has my itunes software become incompatible?

    In the past year, my itunes application has become incompatible with my Windows 7 software. When initiated, it reduces the display density setings on my laptop, and only returns to normal after closing itunes. Please bear in mind, i do not understand