Problem in webstart with show() statement

hi
I'm trying to use webstart for my application but i'm dealing with some problems. Most of them are solved, but one error is still bugging me.
When I use the statement show() for a JFrame, the application doesn't respond anymore, however it is still doing something according to the windows task manager.
Anyone who could help me?
Thx

What version Java Web Start are you using ?
There is a Known problem in 1.0.1 (1.2 too) where if no windows are showing, awt ends the EventQueue thread, then later when you show something it starts a new one without the right ContextClassLoader set.
this was fixed in 1.4.2

Similar Messages

  • Problem with "if" statement in Dreamweaver

    I have successfully used "if" statements in the past with Dreamweaver, but I'm having a problem using it with images (i.e.  <img src = ).
    What I'm trying to accomplish is to display a default.jpg image if there is no image file name stored in a MySQL database.
    For example, if a team has a photo image, show that photo; otherwise, show a default image.  (The default image tells people how to submit a photo to me.)
    If I can't get this to work, I'll have to store a large number of image files with different names for the same "default.jpg" image.
    Thanks in advance for any help that you can provide.

    I may have misunderstood your problem... why can't you just set the default value of the column in the table to the path of your default image? Then, when you call that variable into the page, if there has been one set, it will display that, if not, it will display the default.
    If there is some reason that you can't do that (if I'm missing your point), this should accomplish the same thing (though, I still think that the easiest way is to simply store the default image URL in the table by default.)
    Set the DEFAULT value of the column in the database to "-1" - so if there is nothing there, it returns "-1".  Then put the following in the page:
    <?php IF ($row_test['team_pic']=="-1")
    $image1=('<img src="images/default_pic.jpg">');
    ELSE $image1=('<img src="'.$row_test['team_pic'].'">');
    ?>
    <?php echo $image1; ?>
    Where your database column is "team_pic", and your default image is "default_pic.jpg" stored in the /images folder.
    Make sense?

  • My computer has some serious problems, my iphoto only shows thumb size pics when I try to open them, i tried to rebuild my files from folders that had the pics in them. originally all the photos has a large delta with a question mark. also I can't back up

    my computer has some serious problems, my iphoto only shows  only shows thumb size pics when I try to open them, i tried to rebuild my files from folders that had the pics in them. originally all the photos had a large delta with a question mark. also I can't back up the library file because its not there. I went to time machune and tried to find the file but I can't find it or I am looking in the wrong place. I also lost my Idvd file, only have broken chain showing.

    Details please
    What version of iPhoto and of the OS?
    i tried to rebuild my files from folders that had the pics in them.
    Exactly what did you do and how did you do it? this ay be the cause of your issue but without details we can n=ony guess
    my iphoto only shows  only shows thumb size pics when I try to open them,
    where do you see htis? In the iPhoto window? what does "try to pen them" exactly mean?
    originally all the photos had a large delta with a question mark.
    Ok - this usually has a simple solution - do you still have a copy of the library that has this problem?
    also I can't back up the library file because its not there.
    This makes no sense at all - all of your previous statements indicate that you do have an iPhoto library but have some problems with it
    By default your iPHoto library is located in your Pictures folder and is named iPhtoo library - if tha tis not the case the you have moved or renamed it and only you know what you did until you tell us the details
    I went to time machune and tried to find the file but I can't find it or I am looking in the wrong place.
    Again unless you actually share what and how you are doing thing but continue to simply state abstract problems it is no possible to assist you - details on using Time Machine are here  --  http://support.apple.com/kb/HT1427?viewlocale=en_US&locale=en_US   --     and   --    http://pondini.org/TM/FAQ.html   ---
    I also lost my Idvd file, only have broken chain showing.
    This would be better addressed in the iDVD forum - but again unlesss yu share detailed information no one can assist
    LN

  • Problem with READ Statement in the field routine of the Transformation

    Hi,
    I have problem with read statement with binary search in the field routine of the transformation.
    read statement is working well when i was checked in the debugging mode, it's not working properly for the bulk load in the background. below are the steps i have implemented in my requirement.
    1. I selected the record from the lookuo DSO into one internal table for all entried in source_packeage.
    2.i have read same internal table in the field routine for each source_package entry and i am setting the flag for that field .
    Code in the start routine
    select source accno end_dt acctp from zcam_o11
    into table it_zcam
    for all entries in source_package
    where source = source_package-source
         and accno = source_package-accno.
    if sy-subrc = 0.
    delete it_zcam where acctp <> 3.
    delete it_zcam where end_dt initial.
    sort it_zcam by surce accno.
    endif.
    field routine code:
    read table it_zcam with key source = source_package-source
                                                 accno  = source_package-accno
                                                 binary search
                                                 transportin no fields.
    if sy-subrc = 0.
    RESULT  = 'Y'.
    else.
    RESULT = 'N'.
    endif.
    this piece of code exist in the other model there its working fine.when comes to my code it's not working properly, but when i debug the transformation it's working fine for those accno.
    the problem is when i do full load the code is not working properly and populating the wrong value in the RESULT field.
    this field i am using in the report filter.
    please let me know if anybody has the soluton or reason for this strage behaviour.
    thanks,
    Rahim.

    i suppose the below is not the actual code. active table of dso would be /bic/azcam_o1100...
    1. is the key of zcam_o11 source and accno ?
    2. you need to get the sortout of if endif (see code below)
    select source accno end_dt acctp from zcam_o11
    into table it_zcam
    for all entries in source_package
    where source = source_package-source
    and accno = source_package-accno.
    if sy-subrc = 0.
    delete it_zcam where acctp 3.
    delete it_zcam where end_dt initial.
    endif.
    sort it_zcam by surce accno.
    field routine code:
    read table it_zcam with key source = source_package-source
    accno = source_package-accno
    binary search
    transportin no fields.
    if sy-subrc = 0.
    RESULT = 'Y'.
    else.
    RESULT = 'N'.
    endif.

  • How to show a data in Higher fonts with write statement

    Hi.
    how to show a data in Higher fonts with write statement
    I want to show a statement in large fonts with write statement.How can I do that.
    write : 'Company Address'.
    Regards
    Mave

    Mave,
      I would precribe you to use the FORMAT options available with the WRITE Statement.
    Because this allows us to differentitate between the HEADIngs and the LINEs in the report.
    Here u go dear:
      http://help.sap.com/saphelp_47x200/helpdata/en/9f/db9e7135c111d1829f0000e829fbfe/frameset.htm
    Thanks
    Kam

  • Hi! I´m having problems with showing video files in Qlab on my Macbook Air. A sound/video technician told me to "blow out" my Mac. Was told to use  cmd+ r  when restarting. Is this the right way?

    Hi! I´m having problems with showing video files in Qlab on my Macbook Air. It started suddenly. Consulted a sound/video technician who told me to "blow out" my Mac. Was told to use cmd+r  when restarting. Is this the right way to clean up my Mac? And is it likely that some kind of bug is causing problems for Qlab to show video files? I´ve already tried with a bunch of different video files and sometimes Qlab plays them and sometimes not. I need the Qlab playlist for a theatre show and only have a week until showtime so starting to really worry. Is there anyone out there who can help?

    Your Mac runs maintenance in the background for you.
    Command + R gives you access to restore, repair, or reformat the drive using OS X Recovery
    No idea why that was suggested.
    You may have a third party video player installed that's causing an incompatibility issue.
    Check these folders:
    /Library/Internet Plug-Ins/
    /Library/Input Methods/
    /Library/InputManagers/
    /Library/ScriptingAdditions
    ~/Library/Internet Plug-Ins/
    ~/Library/Input Methods/
    ~/Library/InputManagers/
    ~/Library/ScriptingAdditions
    The first four locations listed are in the root-level Library on your hard disk, not the user-level Library in your Home folder.The tilde (~) represents your Home folder.
    To access the Home folder in OS X Lion or Mountain Lion, open the Finder, hold the Option key, and chooseGo > Library.

  • Jar files download problems in Java Webstart with JRE 1.6

    We have encountered a few problems in Java Webstart with JRE 1.6
    In JRE 1.5, the jar files are getting downloaded onto the client
    machine with it's original names.
    Example :
    Server File Name : acm.jar
    Client File Name : RMacm.jar
    But in JRE 1.6, the jar files are getting downloaded with improper file names.
    Example :
    Server File Name : acm.jar
    Client File Name : 4fb074cc-66fc7407
    Moreover the path itself seems to be invalid.
    Example Path :
    JRE 1.5 path:
    C:\Documents and Settings\Administrator\Application
    Data\Sun\Java\Deployment\cache\javaws\https\D17.16.23.11\P443\DMtest\DMwebStart
    JRE 1.6 path:
    C:\Documents and Settings\Administrator\Application
    Data\Sun\Java\Deployment\cache\6.0\12
    Due to this, we are facing Classpath problems.
    What changes do we have to make to the code, for Java
    Webstart to work ?
    We are using JBoss 4.0.4 and JDK 1.5 in the Server
    On the client machine, we have IE 6 and JRE 1.6.01
    Help would be appreciated.

    Ask your Java Web Start question at:
    http://forum.java.sun.com/forum.jspa?forumID=38

  • Problem Using Multiple With Statements

    I'm having a problem using multiple WITH statements. Oracle seems to be expecting a SELECT statement after the first one. I need two in order to reference stuff from the second one in another query.
    Here's my code:
    <code>
    WITH calculate_terms AS (SELECT robinst_current_term_code,
    CASE
    WHEN robinst_current_term_code LIKE '%60' THEN robinst_current_term_code - '40'
    WHEN robinst_current_term_code LIKE '%20' THEN robinst_current_term_code - '100'
    END first_term,
    CASE
    WHEN robinst_current_term_code LIKE '%60' THEN robinst_current_term_code - '100'
    WHEN robinst_current_term_code LIKE '%20' THEN robinst_current_term_code - '160'
    END second_term
    FROM robinst
    WHERE robinst_aidy_code = :aidy)
    /*Use terms from calculate_terms to generate attendance periods*/
    WITH gen_attn_terms AS
    SELECT
    CASE
    WHEN first_term LIKE '%60' THEN 'Fall '||substr(first_term,0,4)
    WHEN first_term LIKE '%20' THEN 'Spring '||substr(first_term,0,4)
    END first_attn_period,
    CASE
    WHEN second_term LIKE '%60' THEN 'Fall '||substr(second_term,0,4)
    WHEN second_term LIKE '%20' THEN 'Spring '||substr(second_term,0,4)
    END second_attn_period
    FROM calculate_terms
    SELECT *
    FROM gen_attn_terms
    <code>
    I get ORA-00928: missing SELECT keyword error. What could be the problem?

    You can just separate them with a comma:
    WITH calculate_terms AS (SELECT robinst_current_term_code,
    CASE
    WHEN robinst_current_term_code LIKE '%60' THEN robinst_current_term_code - '40'
    WHEN robinst_current_term_code LIKE '%20' THEN robinst_current_term_code - '100'
    END first_term,
    CASE
    WHEN robinst_current_term_code LIKE '%60' THEN robinst_current_term_code - '100'
    WHEN robinst_current_term_code LIKE '%20' THEN robinst_current_term_code - '160'
    END second_term
    FROM robinst
    WHERE robinst_aidy_code = :aidy),
    /*Use terms from calculate_terms to generate attendance periods*/
    gen_attn_terms AS
    SELECT
    CASE
    WHEN first_term LIKE '%60' THEN 'Fall '||substr(first_term,0,4)
    WHEN first_term LIKE '%20' THEN 'Spring '||substr(first_term,0,4)
    END first_attn_period,
    CASE
    WHEN second_term LIKE '%60' THEN 'Fall '||substr(second_term,0,4)
    WHEN second_term LIKE '%20' THEN 'Spring '||substr(second_term,0,4)
    END second_attn_period
    FROM calculate_terms
    )Not tested because there are no scripts.

  • Ruge problem with bank statement

    Hello Gurus,
    Sorry for my bad english, i know i need to imrpove it. So if something sounds really odd, sorry.
    Let´s go, here's my problem.
    We have here a non-standard program wich establish a connection with the bank via Business Connector, and do the download of the bank statement to the SAP and process the bank statement automatically, do the entries in G/L account and other stuff of the process. This process was working perfectly, but a month ago, maybe more, the bank statement stopped to be automatically processed, and becomes avaible only for manual processing in FEBA.
    I think it could might be something envolving the KUKEY field of FEBKO table, i dont know. And something strange is happening sometimes the bank statement is processed automatically, so i was wondering if the KUKEY numbers are not repeating or something like that.
    So here is my question is there any standard TCODE wich i can manager this KUKEY numeration? Or any TCODE to manage the bank statements? Or see any diagnoses for this non automatic importation?
    I hope you have understood my scenario.
    Waiting for advices.
    Regards
    Rafael Valim

    Hi, I have the same problem when working with local Sap B1 client and DB on the local computer (and connecting as a superuser). Can anyone help?
    May be this additional info will help to determine the problem:
    when working with SAP-client on the terminal server via remote desktop (and DB is on another server) and when I try to update FormatFilePath (in File Formats Setup window), SAP-clinet hangs on (for approximately 10 minutes ) and then I see that no changes were saved (I see button "Update" again, while expect to see "OK", and no changes were saved to DB). There are no error or warning messages..
    When I am updating FileFormat without setting FormatFilePath-column - everything is ok. (info about FileFormat is updated)
    Regards,
    Katrine

  • Performance problem with MERGE statement

    Version : 11.1.0.7.0
    I have an insert statement like following which is taking less than 2 secs to complete and inserts around 4000 rows:
    INSERT INTO sch.tab1
              (c1,c2,c3)
    SELECT c1,c2,c3
       FROM sch1.tab1@dblink
      WHERE c1 IN (SELECT c1 FROM sch1.tab2@dblink);I wanted to change it to a MERGE statement just to avoid duplicate data. I changed it to following :
    MERGE INTO sch.tab1 t1
    USING (SELECT c1,c2,c3
       FROM sch1.tab1@dblink
      WHERE c1 IN (SELECT c1 FROM sch1.tab2@dblink) t2
    ON (t1.c1 = t2.c1)
    WHEN NOT MATCHED THEN
    INSERT (t1.c1,t1.c2,t1.c3)
    VALUES (t2.c1,t2.c2,t2.c3);The MERGE statement is taking more than 2 mins (and I stopped the execution after that). I removed the WHERE clause subquery inside the subquery of the USING section and it executed in 1 sec.
    If I execute the same select statement with the WHERE clause outside the MERGE statement, it takes just 1 sec to return the data.
    Is there any known issue with MERGE statement while implementing using above scenario?

    riedelme wrote:
    Are your join columns indexed?
    Yes, the join columns are indexed.
    You are doing a remote query inside the merge; remote queries can slow things down. Do you have to select all thr rows from the remote table? What if you copied them locally using a materialized view?Yes, I agree that remote queries will slow things down. But the same is not happening while select, insert and pl/sql. It happens only when we are using MERGE. I have to test what happens if we use a subquery refering to a local table or materialized view. Even if it works, I think there is still a problem with MERGE in case of remote subqueries (atleast till I test local queries). I wish some one can test similar scenarios so that we can know whether it is a genuine problem or some specific problem from my side.
    >
    BTW, I haven't had great luck with MERGE either :(. Last time I tried to use it I found it faster to use a loop with insert/update logic.
    Edited by: riedelme on Jul 28, 2009 12:12 PM:) I used the same to overcome this situation. I think MERGE needs to be still improved functionally from Oracle side. I personally feel that it is one of the robust features to grace SQL or PL/SQL.

  • We have problem with showing warnings "Inline with Field"s.

    We have problem with showing error messages "Inline with Field"s.
    1. We have a package ERROR, that collects all errors/warnings. It has a procedure PUT, that saves errors in the variables of the package.
    Package ERROR
    procedure put(ptable in varchar2, pcolumn in varchar2, pcode in varchar2, pmsg in varchar2);
    end;
    2. We have a database table. Its values are validated by a trigger (saving business rules).
    If an error occurs, then the trigger calls the procedure PUT ( to save an error message).
    For example ...
    CREATE TRIGGER ...
    --- Rule 21
    if substr(:new.ka_kood,1,1) != :new.s_kat then
    error.put('TABLE1','COLUMN1', -20167, ' MESSAGE 1 !');
    end if;
    END;
    3. I have a form of HTML DB that updates the table TABLE1
    I want to show this error message with the field COLUMN1 (Inline with Field) .
    I need same validations before and after updating values.
    Before update - to validate same input; after update - to show errors saved in the package ERROR.
    I also tried to use the global variables. For example ...
    WWV_FLOW.g_validation_ids_in_error(1):= 192645056564169139;
    WWV_FLOW.g_item_ids_in_error(1):= 192644674113169137 ;
    WWV_FLOW.g_validation_message(1):='MESSAGE1';
    And this did not help.
    To rise errors in programs - is there same API ?
    Or there is some other solutions ?
    How can I do this in HTML DB?

    Andres,
    I'm not sure exactly what you are trying to do. But perhaps this will help some. If your after-submit process runs DML that causes triggers to fire, which result in error messages to be accumulated in package variables, you could create a branch on the page that would be conditional on the existence of error messages in the package variables. The branch could be back to the same page or to a more customized error page. The page you branch to would use the error messages in the package variables to determine how to format the page with the error text. The key to doing this is to run it all in the same database session. The way to do that is to use a "direct" branch, i.e., one that does not do a URL redirect. You create this type of branch with the Create Branch wizard (Branch to Page) and do not check the "Branch to page using redirect" checkbox when you see it.
    Be sure to roll back any changes you do not want committed before the branch.
    Using HTML DB global package variables for anything like what you described is not supported.
    Scott

  • Problem with bank statement processing

    Hello,
    I have problem with BSP. When I try to add file formats to bank statement I have error - "You are not authorized to change the folder path [message 10003520-34]". I try to add file SAPBPESIB_CSB43.bfp from SAP portal. Path to file is C:\Program Files\SAP\SAP Business One\Attachments\. I have full permissions to group "Everyone" to that folder.
    Do you have any idea what can it be?
    Regards,
    Bartek
    Edited by: Darius Heydarian on Mar 28, 2008 11:22 AM.

    Hi, I have the same problem when working with local Sap B1 client and DB on the local computer (and connecting as a superuser). Can anyone help?
    May be this additional info will help to determine the problem:
    when working with SAP-client on the terminal server via remote desktop (and DB is on another server) and when I try to update FormatFilePath (in File Formats Setup window), SAP-clinet hangs on (for approximately 10 minutes ) and then I see that no changes were saved (I see button "Update" again, while expect to see "OK", and no changes were saved to DB). There are no error or warning messages..
    When I am updating FileFormat without setting FormatFilePath-column - everything is ok. (info about FileFormat is updated)
    Regards,
    Katrine

  • Im facing problem while trying to update my iphone 4 from version 4.3.1 to iOS 5. While processing the downloaded 774mb file, it comes with the statement that the network connection timed out. why???

    im facing problem while trying to update my iphone 4 from version 4.3.1 to iOS 5. While processing the downloaded 774mb file, it comes with the statement that the network connection timed out. why???

    i have been dealing with this same issue, tried to  turn off firewall and even turn of antivirud but still it gave me the same error.

  • Problem with showing page number

    Hi, need a little help please.
    I changed without intention some settings or something but I can not fix it. I have documents (book chapters) that do not start with page 1 but wit 230 or 130 or some other number, But in the pannel where you ca see the pages or master pages, I see the only pages starting with 1 (as in "the first page of that document and so on". On some other computer, no problem, the same file shows in that pannel the corect number of the page.
    Can somebody please help and tell me how to corect this?
    I almost forgot; I work under Windows and with InDesign CS3.
    Thank's for helping,
    IonP

    Hi Steve,
    Thank's for your help. You were right. My settings were on "Absolute Numbering" instead of "Section Numbering".
    I did search for different settings in the first place, it was the obvious thing to do, but I did it in the wrong place. I searched in "Layout > Numbering & Section Options" instead of "Edit > Preferences...".
    Thank's again, it was very annoying to work this way.
    ionP

  • Problem with showing caller information on E90

    I recently purchased an E90 and it appears to have a problem with showing the information of the caller (name) for those numbers that have been synchronized with Outlook 2003 or using Bluetooth from a Sony-Ericsson. The presentation of the caller information for the numbers that I have punched in manually works just fine.
    Does anybody have the same problem and if so what is the solution if it is a configuration issue as it sure sounds like a software bug..
    Regards,
    -mats-

    unfortunately the quick office solution bundled with the E90 is very much inferior to the ones found in the older communicators. you Must PAY to upgrade to a better version w/c to my mind is still inferior to the basic version found in the 9X00/i series communicators
    9110,9210,i,9500,9300,i,E90 I still miss my 9300i , E71, E72 But......

Maybe you are looking for

  • Collect and store a physical signature

    I have a customer who would like to collect a physical signature and save this on a sharepoint list. The form is a service report and at the end the customer physically has to sign the work off with his physical signature, digital signatures are no u

  • Changing the SAP SID

    Hi Gurus i need to build a dev system from PRD with a different SID on ERP6 ,sql2005 .What would be the best and easiest  method to use. Any ideas are most welcome

  • Any HH Firmware updates planned?

    Are there any HH fiirmware upgrades in the pipeline? I have been suffering with my hub needing a reboot every so often as it slows down, NAT issues with Xbox360 and other minor annoyances. Will these be getting fixed any time soon? Thanks

  • Interactive forms

    Hi Friends,      What is the advantage of using webdynpro interactive forms? Is there any tutorial available to create an interactive form and have it interact with the R/3? I tried to create a simple form by importing an existing pdf. But it termina

  • How can make the latest Adobe Presenter trial stop causing Powerpoint crash?

    I have downloaded the latest trial of Adobe Presenter, in the "About Presenter" feature it shows it to be Version 7.0.7 I am using Powerpoint 2007 on a Windows XP laptop. The trial downloaded well, it records voice well, it syncs well with animation,