Problem with SwingUtilities.UpdateComponentTreeUI(component c)

I have a Action class and I wrote swingutilities.updatecomponenttreeui in its actonperformed method.
I passed a panel class as its argument but it dose not do anything!
any clue?

the code is at http://forums.java.sun.com/thread.jsp?forum=54&thread=178648

Similar Messages

  • Problem with FLVPlayback and component

    First of all I had problem with control component. they are not working so i just named that ppo and change the visibility to false to get rid of problem!
    ppo.visible=false;
    Question1
    (is there anyway to solve the problem? I mean to match the controlbar with screen of FLVplayer.)
    Question2
    what is the difference btw Flvplayback and FLVplayback 2.5 ?
    Question3
    whenever I click in btn1 it plays the flv.but sometimes it has no action so i click again and suddenly it plays the 001.flv twice and simultanously(even more than twice!)
    how can I solve my problem ?
    ___________________Frame 1______________
    import fl.video.*;
    import flash.events.MouseEvent;
    var myVideo:FLVPlayback = new FLVPlayback();
    control.visible=false;
    myVideo.x = 115;
    myVideo.y = -10;
    myVideo.skinBackgroundColor = 0x333333;
    myVideo.skinAutoHide=true;
    myVideo.skinFadeTime=300;
    addChild(myVideo);
    btn1.addEventListener(MouseEvent.CLICK , c1);
    function c1(e:MouseEvent):void
    myVideo.source = '001.flv';   
    Question 4 : I want to jump to another frame and start another flv but I want to stop previous flv. and again add myVideo2 to stage like frame 1 pattern. Is it true ? is there any better way to do this ?
    ---------------------------frame5-----------------------
    import fl.video.*;
    import flash.events.MouseEvent;
    var myVideo2:FLVPlayback = new FLVPlayback();
    control2.visible=false;
    myVideo2.x = 115;
    myVideo2.y = -10;
    myVideo2.skinBackgroundColor = 0x333333;
    myVideo2.skinAutoHide=true;
    myVideo2.skinFadeTime=300;
    addChild(myVideo2);
    btn2.addEventListener(MouseEvent.CLICK , c2);
    function c2(e:MouseEvent):void
    myVideo2.source = '002.flv';   
    thank you in advanced..

    Question1
    (is there anyway to solve the problem? I mean to match the controlbar with screen of FLVplayer.)
    what are you calling the '..controlbar' and what are you calling the '...control component'?
    Question2
    what is the difference btw Flvplayback and FLVplayback 2.5 ?
    2.5 has more features, http://blogs.adobe.com/ktowes/2009/05/announcing_dvrcast_and_flvplay.html
    Question3
    whenever I click in btn1 it plays the flv.but sometimes it has no action so i click again and suddenly it plays the 001.flv twice and simultanously(even more than twice!)
    how can I solve my problem ?
    remove the click listener so you can only click once.  then you may need to wait if testing online.
    ___________________Frame 1______________
    import fl.video.*;
    import flash.events.MouseEvent;
    var myVideo:FLVPlayback = new FLVPlayback();
    control.visible=false;
    myVideo.x = 115;
    myVideo.y = -10;
    myVideo.skinBackgroundColor = 0x333333;
    myVideo.skinAutoHide=true;
    myVideo.skinFadeTime=300;
    addChild(myVideo);
    btn1.addEventListener(MouseEvent.CLICK , c1);
    function c1(e:MouseEvent):void
    myVideo.source = '001.flv';   
    Question 4 : I want to jump to another frame and start another flv but I want to stop previous flv. and again add myVideo2 to stage like frame 1 pattern. Is it true ? is there any better way to do this ?
    ---------------------------frame5-----------------------
    import fl.video.*;
    import flash.events.MouseEvent;
    myVideo.stop();
    removeChild(myVideo);
    myVideo=null;
    var myVideo2:FLVPlayback = new FLVPlayback();
    control2.visible=false;
    myVideo2.x = 115;
    myVideo2.y = -10;
    myVideo2.skinBackgroundColor = 0x333333;
    myVideo2.skinAutoHide=true;
    myVideo2.skinFadeTime=300;
    addChild(myVideo2);
    btn2.addEventListener(MouseEvent.CLICK , c2);
    function c2(e:MouseEvent):void
    myVideo2.source = '002.flv';   

  • Problem with showing palette component which contains swing components

    hello, I have found a simple problem with jdeveloper IDE but this simple problem delays my project and it make late a big project so help me please. I want to add somes swing components to a JFrame
    but when I try to show the palette component as usual I didn't find the swing components like habit.
    Best Regards

    duplicate
    Frank

  • Problem with updating Time component of an Oracle Date field in ALBPM

    Hi.
    I'm new to ALBPM and am experiencing the following problem I hope someone can take the time to help out with.
    I'm using a Date and Time Picker element in a Form to enter the date and time information. Within ALBPM the date and time representation appears correct as it prints out what I've entered. The logMessage displays this information in the form "YYYY-MM-DD HH24:mm:ss+TimezoneOffset". The BPM Object that stores this value is referencing an Oracle table that has an equivalent Date field. My problem is that it appears to only update the Date component.
    I've also tried using the native Time variable type within ALBPM be adding an variable of type Time to the BPM Object and setting the result Database object equal to this Time variable with the same result. The Time variable was declared with Timestamp precision (take this to mean both Date and Time components).
    Has anyone come across this problem? I'm using ALBPM Studio 6.0 M3 as my release.
    Thanks.

    I must have deselected the "Use Timestamp for Date columns" in the Advanced tab within the External Resource definition for my database at some point in time. Enabling this option fixed my problem - silly me.

  • Problem with importing software component versions from SLD to I.R

    Hi Guys,
    I have some problem in importing my software component versions from SLD to IR. While connecting to SLD it is using the port 50100. Instead of 50000. We are manually correcting it while connecting to SLD. but when we try to import the Software Component Versions from the SLD to IR. It is saying no objects available in 50100. It is not connecting to port 50000. Pls any body help me with some solution. Thanks in advance.
    Regard's
    Kiran.B

    In the Integration Builder page, Click on the Administration and check the following parameters to make sure they are pointing to right SLD system and port.
    com.sap.aii.connect.cr.httpport,com.sap.aii.connect.cr.name,com.sap.aii.connect.landscape.httpport,com.sap.aii.connect.landscape.name
    Also check with Tcode SLDCHECK too

  • Problems with Exporting Tabs - Component Export

    Hi,
    i'm having the following problem.
    i have two applications in the same workspace. application 630 and 640.
    now i try to export the tabs from app 640 in "Component Export".
    in the export file i search for
    wwv_flow.g_flow_id := nvl(wwv_flow_application_install.get_application_id,640);
    and replace it with
    wwv_flow.g_flow_id := 630;
    now i'm going to application 630 and import the file. everything is fine and the tabs are here.
    but in App 640 the tabs are all deleted!?
    what is going wrong?
    thx
    Dila
    Edited by: Dila on 28.09.2012 04:13

    Thanks for that - unfortunately I have lost disk number 1 and can only find disk number 2. Honestly, I never thought I'd need them, and they've been packed and unpacked at least 4 times since I bought the computer.
    I am trying to get the disk from mac friends - I'll see what happens. If anyone knows how to get hold of these old disks, or another work-around, I'd be very grateful...
    cheers and thanks again,
    Kerry

  • Problem with synchronisation of component settings

    Dear All,
    We have newly installed a new enviroment with Siebel 8.1.1.2 Public sector.
    Everything is running fine but I see one strange thing.
    Of the object managers the parameters differ from what I see in the GUI and in SRVRMGR. The values in the SRVRMGR are correct and working.
    For example for the component EAIObjMgr_nld the Security Adapter Mode shows AD in the GUI and LDAP in SRVRMGR. I know for sure the it is using LDAP for this parameter.
    I tried al Synchronisation buttons in the GUI with out any change.
    Who can help me?
    Greetings,
    Frank

    Would need to look into this to advise. We normally use command line for everything and just don’t use the GUI anymore.
    The synchronize button is not the issue. This button updates s_srm_action with the info from siebns.dat.
    R
    Robert Ponder
    Lead Architect and Director
    Ponder Pro Serve
    cell: 770.490.2767
    fax: 770.412.8259
    email: [email protected]
    web: www.ponderproserve.com

  • Tomahawk for jsf 1.2 problem with customizing treetable component

    hi,
    i've tried many times bu i've got no clue how to set custom icons in the tree. what i want to achieve is to display the server's local file system. however this component doesn't allow to explicit specify what the node type is (a directory or a file). as a result when it finds an empty directory entry, no icon is displayed. i googled a bit and i guess the project's documentation is not sufficient. any help appreciated. ofc if someone knows a better method (or a framework) to do the job, please let me know. thanks
    cheers

    r035198x wrote:
    You could store the value in the session and remove it when you need to use it.Thanks, r035198x. I tried that before and users from other Java forums suggest that I shouldn't do it this way as I am adding more codes than necessary to pass technically a value from one bean to another. Hence, I decided to follow their advice and went and created a generic bean that can be referenced by other beans for pages calculation. Some users also suggest using Dependency Injection (available for JSF 1.2) to try to accomplish the result I want. I've also read about this method in JSF 1.2 spec - but without much example, I'm pretty much in the dark as to how this work. Unfortunately, I've only been on JSF for the last 4 weeks so I'm still a newbie - please excuse any "dumb" questions I have asked on this forum so far...
    What I currently has working for me is moving the method to calculate the pages from mybean1 to mybean2. This means all I have to do now for the other beans (11 remaining) is passed a few parameters to mybean2's method that calculate pages.
    Edited by: icepax on 12/11/2009 18:27

  • Video component problem with "stage.displayState = StageDisplayState.FULL_SCREEN"

    I’m creating the full screen project but facing problem with the video component. All other project scenes is working properly but when I come in my video scene my project is crashing. Giving error with black screen. Please give the solution.
    I use in my first scene first keyframe
    stage.displayState = StageDisplayState.FULL_SCREEN

    i don't have any idea
    after using the ( stage.displayState = StageDisplayState.FULL_SCREEN ) code my video component is not working and project is showing the black screen. i try to find but i didn't get any solution of this problem. can you please help me

  • Problems with AS 10g and OID

    Hello everyone,
    we got problems with starting OC4J_bi_forms component in AS control.
    database: 10g R2 (10.2.0.1)
    forms and reports: 10g (10.1.2.0.2.)
    designer: 10g (10.1.2.0.2.)
    1. we tried to start component in AS control but we get this error:
    The following components were not started:
    OC4J : home - time out while waiting for a managed process to start
    OC4J : OC4J_BI_Forms - time out while waiting for a managed process to start
    OC4J : OC4J_Portal - time out while waiting for a managed process to start
    For more information, look at the logs using the related link below.
    Related Link Error Logs
    2. then we check the error file that describes problems with OID:
    Error displaying Log Files page. Failed to initialize configuration management user session.. The OracleAS Repository API threw an exception when obtaining the connect string to the Metadata Repository
    Resolution:
    Check the exception thrown by the Repository API for resolution information.
    Some common causes of this problem are as follows:
    OID is not running or unavailable
    the ias.properties file is misconfigured with incorrect OID connection information
    OID permissions are incorrectly defined
    Base Exception:
    oracle.ias.repository.schema.SchemaException
    Unable to establish connection to the Oracle Internet Directory Server ldap://server_xy:389/. Base Exception : javax.naming.CommunicationException: server_xy:389 [Root exception is java.net.ConnectException: Connection refused: connect]. Unable to establish connection to the Oracle Internet Directory Server ldap://server_xy:389/. Base Exception : javax.naming.CommunicationException: server_xy:389 [Root exception is java.net.ConnectException: Connection refused: connect]
    3. we check the status with opmnctl status, all components are down
    4. then we tried to start components manually with opmnctl stopall/startall
    but the problem isn't solved.
    Any help?

    hello Jacco,
    thank you very much for your help, we are now able to start oc4j_bi_forms.
    We follow your advice, at the end we had to change ODS password with oidpasswd to ias_admin password.
    Now all components are started.
    We now must solve only one problem:
    All AS components are started, but when in Application Server Control we click link for
    J2EE Applications we get this error:
    An error was encountered while loading page. Failed to initialize configuration management user session.. The OracleAS Repository API threw an exception when obtaining the connect string to the Metadata Repository
    Resolution:
    Check the exception thrown by the Repository API for resolution information.
    Some common causes of this problem are as follows:
    OID is not running or unavailable
    the ias.properties file is misconfigured with incorrect OID connection information
    OID permissions are incorrectly defined
    Base Exception:
    oracle.ias.repository.schema.SchemaException
    Unable to establish connection to the Oracle Internet Directory Server ldap://server_xy:389/. Base Exception : javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]. Unable to establish connection to the Oracle Internet Directory Server ldap://server_xy:389/. Base Exception : javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
    Thanks for your help one more time.

  • Problem with iMac quality

    I  own a 27" iMac that is just less than 4 years old, and where after sending it for repair with Apple in Denmark was told that it needed a new graphics card for DKK 2899 - approx. USD 490.00.
    I found out that the iMac is produced at a factory in Shanghai called W8 where Apple have had problems with exact same issue in the past, and it seems had agreed to extended warranty replacement to fix these problems.
    Nevertheless I do  believe that Apple customers buy Apple products because we expect superior quality and no Apple customer would expect to have problems with a major component especially on such an expensive products and certainly not within 4 years.
    And if there were a seldom problem with a unit that Apple would rather step up to the plate and stand behind their products quality.
    In my case it seems Apple - or at least Apple in Denmark - is unwilling to do so even though they acknowledge that it very seldom happen

    Do you have a support system in Denmark to protect customers from problems with products and services.  If so advance your complaint there.  Irrespective of the warranty, here in the UK you can get official help against any supplier of goods that are faulty up to six years from purchase.  But you must be reasonable in your approach.  Apple's warranty promise specifically allows for this  when it says ... 
    Coverage is estimated. Learn about Apple’s coverage information for your product. Your warranty is the same whether or not you register. 
Important: Apple’s 1-year limited warranty and AppleCare Protection Plan benefits are in addition to rights provided by consumer law (see details). If you believe you have a valid consumer law claim, please contact us.

  • Problem with checkbox and Event.stop(event)

    Hello,
    I cannot change the checkbox in a row, if the Event.stop(event) is fired on checkbox. My aim is, that the event OnRowClick is stoped, if I change the checkbox in the row.
    <rich:extendedDataTable id="requestTable" value="#{requestListHandler.normalisedRawRequestList}" var="req"
                             rows="#{requestListHandler.limitRows}" selectionMode="single">
                             <a4j:support event="onRowClick" action="#{requestListHandler.viewRequest}">
                                  <f:setPropertyActionListener value="#{req}"
                                       target="#{requestHandler.selectedRequest}" />
                                  </a4j:support>
                            <rich:column>
                                       <h:outputText value="#{req.offerListSize}">
                                            <f:convertNumber type="number" />
                                       </h:outputText>
                         </rich:column>
                             <rich:column id="checkBoxColumns">
                                       <h:selectBooleanCheckbox onclick="Event.stop(event);"
                                            value="#{req.firstInterpreterTimeChecked}"/>
                         </rich:column>
    </rich:extendedDataTable>I know I am using richfaces, but I have problem with sun-ri component <h:selectBooleanCheckbox..../>.
    Have you any idea?
    Manu
    Edited by: Argonist on Jun 16, 2009 8:27 AM
    Edited by: Argonist on Jun 16, 2009 12:25 PM

    I had the same problem. I read you post and was so disappointed that no one had answered you. But I have a good news for you :) My team leader managed to solve this awkward problem.Add to h:selectBooleanCheckbox style="z-index: 20;" so that it is "above" the table row that fires its own onclick event.

  • Problem with File Uploading.

    Hi,
    I have one problem with File Upload component.
    JSP
    <ui:upload binding="#{NewProblem.fileUpload1}" columns="#{SessionBean1.uploadedFile}" id="fileUpload1" labelLevel="3"
    style="left: 24px; top: 24px; position: absolute" validator="#{NewProblem.fileUpload1_validate}"/>
    Java
    UploadedFile uploadedFile = getSessionBean1().getUploadedFile();
    Variable uploadedFile is NULL :(((((((((((
    web.xml
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <filter>
    <filter-name>UploadFilter</filter-name>
    <filter-class>com.sun.web.ui.util.UploadFilter</filter-class>
    <init-param>
    <param-name>maxSize</param-name>
    <param-value>10000000</param-value>
    </init-param>
    <init-param>
    <param-name>sizeThreshold</param-name>
    <param-value>10024</param-value>
    </init-param>
    </filter>
    Thanks.

    check out the fileUpload article
    Using the File Upload Component
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/file_upload.html

  • Problem with JFileChoosers

    I have a problem with JFileChooser.showOpenDialogBox(Component c). When I select a directory and click the Open button,the program goes wacky. Same is the case if I click Cancel button without selecting any file. How to solve this problem. I want the directory be opened and all subdirectories and files be shown just as in MS Word for example.

    Try and modify the following function:
         * Loads the FileChooser Object if not present.
         *@return Instance of File chooser
         private JFileChooser getFileChooser()
              if (mFlChooser == null)
                   mFlChooser = new JFileChooser();
                   mFlChooser.setFileFilter(
                        new javax.swing.filechooser.FileFilter()
                             public String getDescription()
                                  return sRes.getString("Text Documents (*.txt)");
                             * See Parent for Doc
                             *@param f See Parent for Doc
                             *@return See Parent for Doc
                             public boolean accept(File f)
                                  // Adapted
                                  if (f.isDirectory())
                                       return true;
                                  String extension = null;
                                  String s = f.getName();
                                  int i = s.lastIndexOf('.');
                                  if (i > 0 && i < s.length() - 1)
                                       extension = s.substring(i + 1).toLowerCase();
                                  if (extension != null)
                                       return extension.equals(".");
                                  return false;
              return mFlChooser;
         }

  • Problem with JFileChooser

    I have a problem with JFileChooser.showOpenDialogBox(Component c). When I select a directory and click the Open button,the program goes wacky. Same is the case if I click Cancel button without selecting any file. How to solve this problem. I want the directory be opened and all subdirectories and files be shown just as in MS Word for example.

    I have a problem with JFileChooser.showOpenDialogBox(Component c). When I select a directory and click the Open button,the program goes wacky. Same is the case if I click Cancel button without selecting any file. How to solve this problem. I want the directory be opened and all subdirectories and files be shown just as in MS Word for example.

Maybe you are looking for

  • How to Fix Encore "No Disk Error"?

    When trying to start Encore CS5.0 I get an "Encore.exe - No Disk" error box.  The box says "There is no disk in the drive.  Please insert a disk into drive\Device\Harddisk8\DR8".  There are 3 buttons: "cancel", "try again", and "continue", none of th

  • Acrobat 9 Standard missing paper sizes.

    I recently had Acrobat 9 Standard installed on my work computer.  Previously I had CS4 with Acrobat Pro installed but had to transfer the license to a coworker.  I'm now frustrated because all of the page sizes that I typically use are gone.  All fo

  • Checkin originals in background

    Hello, I am an ABAPer, and I am using 'BAPI_DOCUMENT_CREATE2' to create document and checkin original files. BAPI is working fine in R/3 (via SE37) with the file on my PC (C:\temp\file.doc). But, when I call call this BAPI from portal (frontend), doc

  • Genereting JSTL tags with an XSLT transformation question

    Hi there! I have some XML datas to display in a jsp file. XML content is of this type: <message> <title>A message</title> </message> The most elegent way to present them is to transform XML via xslt into xhtml. (that way I can externally change with

  • How can I avoid so many errors that stop a move?

    I searched and searched. Although there are lots of complaints about the number of "Couldn't move because of an unknown error" I found no suggestions. I once found out that the presence of video fies in folders topped a move... but have read no other