JFileChooser slow to load the first time...

Is it possible to speed up the JFileChooser on it's initial load or should I just put a worker thread around it to "pretty up" the display?

Hi
I may have a workaround for you. Se my discussion on the topic in:
http://forum.java.sun.com/thread.jsp?forum=57&thread=307332
Enjoy!

Similar Messages

  • Calling a Flash object HTTPS (  only in IE, not loading the first time )

    Hi everyone !
    I'm trying to call a flash object from a bsp page, I've uploaded the flash into the mime repository (via the SE80). It works quiet well in Firefox, but with IE, i need to refresh the page, it won't load the first time i access the page.
    Does anyone has any idea ?? do i have to customize something within the SICF ?
    thx for the help
    merry Xmas
    Quentin

    Solved it, I created a page to call the flex from the MIME
    here it is :
    DATA: w_xstring TYPE xstring.
    DATA: w_mimetype TYPE string.
    * References
    DATA: w_url TYPE string.
    CONCATENATE 'sap/bc/bsp/sap/Z0008/' url  INTO w_url.
    CALL FUNCTION 'Z_FLEX_MIME'
      DESTINATION sy-sysid
      EXPORTING
        url        = w_url
      IMPORTING
        l_xstring  = w_xstring
        l_mimetype = w_mimetype.
    response->set_data( w_xstring ).
    navigation->response_complete( ).
    EventHandler Oninitialization :
    sap/bc/bsp/sap/Z0008/ is the url to my swf file in the SICF
    Module Function  Z_FLEX_MIME
    FUNCTION Z_FLEX_MIME.
    *"*"Interface locale :
    *"  IMPORTING
    *"     VALUE(URL) TYPE  STRING
    *"  EXPORTING
    *"     VALUE(L_XSTRING) TYPE  XSTRING
    *"     VALUE(L_MIMETYPE) TYPE  STRING
    * References
    DATA: lo_mr_api TYPE REF TO if_mr_api.
    * instantiate MIME API class
    CALL METHOD cl_mime_repository_api=>if_mr_api~get_api
      RECEIVING
        r_mr_api = lo_mr_api.
    * Get file from MIME repository
    CALL METHOD lo_mr_api->get
      EXPORTING
       i_url             = url
      IMPORTING
        e_content         = l_xstring
        e_mime_type       = l_mimetype
      EXCEPTIONS
        parameter_missing  = 1
        error_occured      = 2
        not_found          = 3
        permission_failure = 4
        OTHERS             = 5.
    ENDFUNCTION.
    If you have any questions please fell free to ask
    good day
    Quentin
    Edited by: Quentin Dubois on Feb 6, 2008 5:55 PM

  • QuickTime launches slow but only the first time

    QuickTime is slow in Mac OS 10.7, that's been widely discussed.
    In my case, QuickTime is slow to open up a video file (MP4, AVI, WMV, etc,), but only the first time.  After I've successfully opened up the one video file, all subsequent video files open up quickly, even after quitting QuickTime.
    However, after a restart it's the same old situation again.
    Is QuickTime installing something, then removing it when the computer shuts down?

    QuickTime is slow in Mac OS 10.7, that's been widely discussed.
    In my case, QuickTime is slow to open up a video file (MP4, AVI, WMV, etc,), but only the first time.  After I've successfully opened up the one video file, all subsequent video files open up quickly, even after quitting QuickTime.
    However, after a restart it's the same old situation again.
    Is QuickTime installing something, then removing it when the computer shuts down?

  • Firefox does not load the first time I click on it -- a script appears which ischrome://webvideodownloader/content/utils.js:131 -- when I stop this script running I can then load firefox -- how can I keep this script from running

    I can still load it with the script running or attempting to run in the background but it makes firefox tremendously slow. After I click on stop running the script then everything seems to be ok.
    how do I get the script not to run in the first place.

    In Firefox the use of the term chrome refers to the user interface and other elements that are not part of the web pages.
    See https://developer.mozilla.org/en/Chrome
    Your problems seems to be caused by the GreaseMonkey extension.<br />
    See [[Troubleshooting extensions and themes]]

  • Address Book is slow to pen the first time in online mode.

    Hello.
    Using Exchange 2013 with Outlook 2013 in online mode (not cached).  When I open Outlook and click on the address book icon, it can take upwards of 30 seconds for it to open.  It is find opening every time after that.  Our address book
    is not large by any means so why would it take so long?  What is the best way to troubleshoot?
    Thanks!
    Shawn

    Hello.
    Using Exchange 2013 with Outlook 2013 in online mode (not cached).  When I open Outlook and click on the address book icon, it can take upwards of 30 seconds for it to open.  It is find opening every time after that.  Our address book
    is not large by any means so why would it take so long?  What is the best way to troubleshoot?
    Thanks!
    Shawn
    What CU are you on? This is a known issue with CU5, fixed in CU6 ( This KB applies to the GAL slowness issue)
    http://support.microsoft.com/kb/2986779
    Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

  • Edge animate animation does not start the first time I load the page. But does the second time.

    Hi all,
    I am having trouble with an edge animation on a web page. It doesn't load the first time the page is loaded, but loads fine the second time or any time after that. To test I am clearing my cache, then reloading the page. It seams to work in IE the first time but not Firefox or chrome.
    I have a temporary copy of the page here ... http://emiwip.com/monique-mathieu/landing-page-wip.html
    Can anyone tell me what is going on?
    Thanks.
    Dan

    I found the answer here ... Publishing no longer works in latest Edge
    It appears that you need to load the latest jQuery in the head of the pag. That fixes it.
    Dan

  • VO got executed but is not showing the rows on the page the first time

    Hi, Below are my senario:
    I have one jspx which contain a panel tab and 2 tabs inside it: tab A and tab B, under each tab is its own taskflow, jsff page, and its own AM and datacontrol also.
    tab A have a table
    tab b have a table with search panel. The view criteria that used to generate the search panel is not check "Run Automatically"
    What I am trying to do is in tab A, user can select some rows and click one button, then below action happen:
    1. the id of the selected rows will be pass to a AM method of tab B as string that separated by comma, and this AM method will execute the VO that the table of Tab B is based on
    2. set tab b disclosure to be true to show tab B
    3. The row that selected in Tab a will be shown in the table of tab b
    Below are the code in the AM of tab b, it is exposed to client and it will be invoked by the button actionlistener of Tab A from the bean:
    public void applyDashbaordViewCriteria(String listOfPS) {
    if (listOfPS != null) {
    PullSequenceSetupVOImpl psvo = this.getPullSequenceSetupVO2();
    ViewCriteria vc = psvo.createViewCriteria();
    vc.setName("PSDashboardVC");
    ViewCriteriaRow vcRow = vc.createViewCriteriaRow();
    ViewCriteriaItem vcItem =
    vcRow.ensureCriteriaItem(PullSequenceSetupVORowImpl.PULLSEQUENCEID);
    vcItem.setOperator(JboCompOper.OPER_IN);
    vcItem.getValues().get(0).setValue(listOfPS);
    vc.add(vcRow);
    psvo.applyViewCriteria(vc);
    psvo.executeQuery();
    However my issue here is:
    Whenever the first time entering the page, which will show tab A, I select some rows in the table and click the button, AM got executed correctly and before it leave above code, VO executed and row count is correctly match with what user selected in Tab A. However, the rows in the vo is not showing in tab B. Table in tab B show no rows.
    Workaround for the issue:
    If first time entering the page, I go to tab B first, without doing anything then come back to tab A, select some rows and click the button again, then this time, the row I selected start showing in the table of Tab B.
    So my question is, how can I solved this issue to make the selected rows show in tab B without going to tab B to load the page first? Is that something to do with datacontrol scope?
    I am using Jdev 11.1.1.3.0
    Thanks.

    Hi, now I think i know what is the root cause:
    I overide executeQueryForCollection and executeQuery method in the VOImpl that table of Tab B is based on. And I notice the following:
    Even when select row in tab A and click the button to call AM method to apply the view criteria and execute the query to return some row, when tab b loading the first time, I notice executeQueryForCollection is being fired again and invoked by executeEmptyRowSet.
    It looks to me that even thought before the page load, VO already executed and have some row, somehow when ADF load the page, it will empty all the rows in the VO. And also since I have a query panel which I uncheck the Query Automatically. So even my applied view criteria still there, but VO will not get re executed again and show the result.
    I think that is why this issue is happening. And also, that is why if I navigate to tab B first and come back to Tab A, now perform the same action, the selected rows start showing on the page.
    Anybody can help me how can I resolved this issue? And also, I don't want to check the "Query Automatically" of the view criteria that I used to genreate the search panel because it may impact the performance.
    Edited by: user10867484 on Apr 21, 2011 2:48 PM

  • The query just run the first time, the second doesnt run

    The query just run the first time, the second doesnt run, i checked it in the SM50 and appear this msg:
    CL_RSR_CACHE_BO_FF============CP
    its not a problem of indexes, i repaired it but its really weird cause the first time the query run ok, the second doesnt, it seems that the cache is confused or i dont know, help guys, i'll really appreciate it

    I was watching the notes, its really weird when i load the cube and execute the query for the first time, its ok, to the second stay in cache, but i was watching that the cube doesnt allow me activat the BD statistics, i dont know if this is necesary to improve the performance of the query, what i know is this:
    1- before i create a Hierarchy for an infoobject thta is in the cube ,  the query used to run ok. Now when i load the first time and execute its ok, but the second stay in cache.
    2- now i can activate the statistics for the cube, the indexes are ok, i checked for the RSRV and all is ok less the statistics.
    what can i do help friends...

  • When I open FF4 for the first time after starting the computer it is very slow to load. From then on it loads normaly.

    I have an HP Pavilion DV9000.

    I had this problem too. Not just with FF 4 but also previous versions. For that and other reasons I decided to by an SSD and install windows and all the programs on there. That worked fine except for firefox. Boot time is much faster (2o secs) and programs (from the startup folder) are loaded almost immediately after the desktop comes up. However firefox still took 90 seconds to load. After some trial and error I disables in the registry prefetcher and superprefetch (I am running windows 7, no SP1). Then I restarted my computer twice. The first time firefox did not load any faster but at any subsequent startup firefox starts in a few seconds. In fact some times it is so fast it comes up before the wireless network connection is established. HTH
    HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/SessionManager/MemoryManagement/PrefetchParamaters/EnablePrefetcher --> 0
    HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/SessionManager/MemoryManagement/PrefetchParamaters/EnableSuperFetch --> 0

  • The first time I start Firefox it is very slow coming up but after it is up and I want another window it fast again. What do I need to do to clean out whatever is clogging it up.

    Question
    The first time I start Firefox it is very slow coming up but after it is up and I want another window it fast again. What do I need to do to clean out whatever is clogging it up. edit

    * The first time you start up any application after turning on your computer is called a cold start, which is why Firefox takes a while to load right away. (I've noticed that future versions of Firefox start up faster on a cold start then Firefox 5.0.1.) Also, a lower amount of RAM could be slowing its start-up down since Firefox is kind of memory hungry.
    * As for the second part of your question, press ctrl,Alt, and the delete keys on your keyboard. The Windows Task Manager should start. Go to the processes tab and look for 'firefox.exe'. Right click on the firefox.exe and click 'End Process'. Hit Yes and wait for a minute.
    * Then opening Firefox again.
    Hopefully this helped somewhat!

  • Hi can anyone please help me! My I phone is in recovery mode i lost it and it was returned to me fully working. I ran an update and it shut down. I have loads of pics and vids of my little girls including my youngest counting to ten for the first time.

    Hi can anyone please help. My I Phone is in recovery mode. I have loads of pics and vids including my little girl counting to ten for the first time.
    Can I recover these files or have I lost them? I lost the phone last week and it was returned working but with an update to install I did this and it shut down.
    If anyone can please help I would be eternally in your debt I have loads of sentimental pctures in here but cant get to them.

    Sorry, but if it's in recovery mode, anything on the phone is already gone. If you had PhotoStream turned on, hopefully the photos will still be out there.
    You have no choice at this point but to restore from your last backup.

  • Get error message that skype has problem loading when computer is turned on the first time every day. this started when the latest firefox v6.0 was downloaded.

    get error message that skype has problem loading when computer is turned on the first time every day. this started when the latest firefox v6.0 was downloaded.

    ''mbratlie [[#question-1055011|said]]''
    <blockquote>
    It was working fine and I had no problems, and then one day I tried opening a window and it froze. When I tried quiting the program my whole window went black. The x to the close the window doesn't work. The only option I have in my tool bar is Firefox and nothing happens when I try to quit firefox. Every time I try to shut down my computer Firefox prevents it. I haven't updated Firefox yet, so it's an older program, but only by a month or two. What's going on and how do I fix it?
    </blockquote>
    This is the first time it's ever happened. I downloaded the new operating system for Firefox but I can't install it until the Firefox currently running on my laptop quits, which it won't.

  • F4v wont load in firefox the first time.

    Hi all!
    Im not sure if this is the place to put this, but i have a problem.
    I have created a swf movie file that containes the movie playback panel & a f4v video & I have uploaded them to a subfolder on my server.
    The whole site has a secure connection (https), but the page that i will try to embed the movie will have a regualr connection (http).
    The problem arises when i do embed this flash video in a HTML file. in IE & Chrome it works and looks great, But in firefox it doesnt.
    If i clear my cache (as if i were a new visitor to the site) and enter the page, the movie isn't displayed at all...is shows "done" in the browser loading bar.
    After about a minute or so (which i assume is the amount of time it takes to load the full movie), i hit refresh, and the movie appears fully loaded.
    The movie is currently embeded in my homepage (via Iframe - for site protocol reasons), and if it wont load immidiatly from the first time a user enters the site, many users will miss the video (and get a blank white box in the middle of the site).
    The URL for the html file is http://www.globaloption.com/PartnerSites/globaloptions_en/vid/Global9.8/videosmall.html
    I really hope you can help me make sense of this problem...

    you should be using a local path to
    http://www.globaloption.com/partnersites/globaloptions_en/vid/global9.8/videosmall.f4v
    are you?

  • I've lost a load of notes, but dont know why or how to get them back. I cant find the folder that is in my Yahoo account that people have suggested might be the location for the messages.  I recently signed into iCloud for the first time.

    I've lost a load of notes, but dont know why or how to get them back. I cant find the folder that is in my Yahoo account that people have suggested might be the location for the messages.  I recently signed into iCloud for the first time.  Any idea how to get the notes back?   I really dont want to lose them.

    It should keep asking for the password, because it's trying to check for purchases... As soon as you login, it will see you have pending downloads and create the downloads section on the left below Purchases under the Store section. Then it will start the music downloads there, as they will be listed one below the other.
    You could just try to check your account balance or view your account and that will trigger a password request too. You can just click on that and say that now iTunes keeps asking for the password and ask him to help you with that. Trick would be to interrupt him so that he carries on with another task after, so he doesn't notice the download. Or you carry on with email or browsing which you were "busy" with when iTunes interrupted you for the password (stupid iTunes)

  • Can't change the label text for the first time of  loading

    I have some problem to change the label text in the prerender method.
    I put a label on the form and set the text value to "Customer" on the text properities , and I would like to change the lable text to "Supplier" in the prerender method, I found some strange behaviour.
    If I type nothing on the label text of the properties , I can change the lable text on the prerender method on the first time of the form load .
    If I put something on the label text of the properties , the text label can't be changed on the first time of form loaded, the lable can be changed if I refresh the form or reload the form.
    Could anyone help me to solve this kinds of problem ?
    Thanks

    This is a tough one to explain. Here is one explanation from the Delving Into Components tutorial:
    As with the JavaServer Pages implementation, when the server constructs a page from JSP source, the tag attribute settings in the JSP source take precedence over runtime settings. For example, if you set the text property for a Static Text component to "moon," the IDE adds text="moon" to the Static Text component's tag in the JSP file. Even if the page's prerender method has a staticText1.setText("sun") statement, the Static Text component shows "moon" when the application renders the page. If the page is rerendered, the staticText1.setText("sun") statement takes affect and the Static Text component shows "sun." If you visit another page and come back, the server once again constructs the page from the JSP source, the values set in the JSP tag attributes take precedence, and the page displays "moon."

Maybe you are looking for

  • Web Photo Gallery in CS4

    I know the Web Photo Gallery has been removed from PS CS4 and put into Bridge. However, I created a few templates I would like to keep. Is there any way besides using CS3 that I might do this in Bridge? Is there going to be a way in Bridge to create

  • Best way to update custom table

    Hello experts, Iu2019m writing a report program and after pulling data from a custom table Iu2019m modifying certain fields within internal table and then eventually update custom table. The way Iu2019m updating custom table is working fine. However

  • No muxer in java.library.path error

    I get this when I try to run server6.0 on win98. can someone help me understand what is wrong? Thanks! <Nov 17, 2001 4:17:16 PM CST> <Error> <Performance Pack> <Unable to load perform ance pack, using Java I/O. java.lang.UnsatisfiedLinkError: no muxe

  • Migrating Virtual Users

    OK, I have a feeling I can do this, but I'm having a bit of difficulty, so I thought I'd ask to see if it was just plain a silly thing to do Is it possible to make a user that can do nothing else besides receive/send email? i.e. I have a virtual doma

  • How to get the hierarchy in update rules

    i want to update the material hierarchy to the open hub data file i create a update rule(transformation) and i want to get the node name at the last level of the hierarchy tree above the material level how can i do this?