How to refer between JInternalFrames

Hi,
I'm new at this forum.
I'm trying to open a JinternalFrame when pressing a button in another JinternalFrame. In order to accomplish this I need to add a JDesktopPane to the JinternalFrame which opens the other JInternalFrame.
To start I set the visibility of this JDesktopPane to false. And when I press the Edit button to open the JInternalFrame I set the visibilty to true and add the other JInternalFrame to this JDesktopPane.
But how do I set the visibility of this JDesktopPane to false when I close or dispose the JInternalFrame I opened in order to edit the data?
How do I refer to the parent JinternalFrame from the child JInternalFrame?
Thanx in advance.

you can use the getDesktopPane() method of the JInternalFrame.
yourJInternalFrame.getDesktopPane().setVisible(false);

Similar Messages

  • How to refer the BPM objects in Project to Project.

    Hi,
    I have created some BPM obejects in Project A, i want to use the same Obejct in Project B.
    How to refer the Objects across the Project.
    Could pls some one help me on this.
    Regards,
    Anandh P

    Here are a couple ways to share BPM Objects across projects.
    You can right mouse click a BPM Object in a project and then export it. This will create a zip file that can then be imported into a Module in another project.
    There is a new feature in 10g that allows you to create a dependency between projects. If you define one project to be dependent on another then it can use the BPM Objects found in the other one. To do this, right mouse click the project's name in the Project Navigator tab -> Project Preferences -> Dependency -> select the project you want to be dependent on from the dropdown. This is based on the project's currently visible in the Workspace directory (the directory you are prompted for when Studio first starts up).
    Dan

  • AS: how to switch between screen modes?

    hi @ all,
    does anybody know how to switch between the 4 screen modes in ps cs3?
    - standard
    - maximized
    - full screen with menubar
    - full screen
    I looked around but could not find anything discribing a way doing this by applescript.
    the only thread I found
    http://www.adobeforums.com/webx/.3bc85cba/0
    refers to javascript but I was not able to adopt it.
    thanks for any help
    Claus

    To do it with AS only, you need to simulate the "f" key with System Events:
    tell application "System Events"
      tell process "Adobe Photoshop CS3" to keystroke "f"
    end tell
    That will loop thought the screen modes as if you did it manually.
    To run the JS from the other thread, you need to use the "do javascript" command. Remember to escape all the quotes in the JS:
    tell application "Adobe Photoshop CS3"
      do javascript "var screenModeOptions = new Array(4);
         screenModeOptions[0] = \"screenModeStandard\";
         screenModeOptions[1] = \"screenModeMaximized\";
         screenModeOptions[2] = \"screenModeFullScreenWithMenubar\";
         screenModeOptions[3] = \"screenModeFullScreen\";
         applyScreenMode(screenModeOptions[0]);
         function applyScreenMode(mode){
          var desc = new ActionDescriptor();
          var ref = new ActionReference();
          var menuID = stringIDToTypeID( mode );
          ref.putEnumerated( charIDToTypeID( \"Mn  \" ), charIDToTypeID( \"MnIt\" ), menuID );
          desc.putReference( charIDToTypeID( \"null\" ), ref) ;
          executeAction( charIDToTypeID( \"slct\" ), desc, DialogModes.NO );
    end tell
    The JS is the better solution if you wanted to skip directly to the desired screen mode without looping through the others.
    Carl.

  • How to refer to BDOCS

    can abybody tell me ,
    how to refer to BDOCS or TCode used to BDOCS\
    how different it is from IDOCS ??
    points guaranteed
    Aryan.

    Use tcode SBDM.
    For different between bdocs & idocs, have a look at these:
    Difference between IDOC and Bdoc
    http://help.sap.com/saphelp_crm50/helpdata/en/71/2b253b38f61261e10000000a114084/content.htm
    Hope this helps.
    Regards,
    Kaushal

  • How to refer report items?

    Hi,
    How to refer the report items?
    I have standard sql report region contains 3 columns.
    doc_id,doc_name and No_units.all three items are apex item.
    below is my sql query for report.
    APEX_ITEM.SELECT_LIST_FROM_QUERY(17,doc_id,'select s_id from         
    sales')"doc id",
    apex_item.text(18, doc_name) "doc name",
    apex_item.text(19,  No_units) " No units",null
    from sale_docMy intention is to fire a dynamic action when event change in doc_id. So in when tab what i have to assign in item(s) fields for doc_id. i gave *#doc_id#* in items(s) field it doesnt work.
    how to resolve this?

    any help?

  • How to refer one view from another view?

    Hi,
    I have 2 views in my Adobe Flash Builder mobile app. I need to refer the first view in my second view.
    How to refer one view from another view? Or how to create a reference to a view wherever needed?

    I don't need any data from my first view. In a certain flow, I need to make my first view to be invisible.
    for eg., My First view is in portrait mode. I change the device to Landscape. In the landscape mode, I want to show a completely different view (second view).
    In this case, what happens is, I see my first view in Landscape mode for a second. Then the second view appears. When I change to Landscape mode, only the second view should be seen. I need to make my first view to be completely invisible in the OnOrientationChanging event of
    StageOrientationEvent
    As stage object and StageOrientationEvent works at application level, I need to know how to refer my first view object in the application level.
    private function onOrientationChanging(soe:StageOrientationEvent):void
          MyFirstView.Visible = False; ====> don't know how to refer MyFirstView here
    Is my question clear now?

  • How to refer a column value of a single row in conditional column display?

    Hello,
    does anybody have an idea, how i can refer a column value of a single row in conditional display of a column?
    So my idea is, that a report has a column, which value is only displayed, when another column value of this row has a specific value.
    I want to solve this problem with condition type: PL/SQL Function Body returning a boolean.
    But I do not know how to refer the column value of each single row!
    Thank you,
    Tim

    Here's a solution that, to me, seems easier to implement but, that's, of course, in the eye of the implementer.
    Rather than using APEX to generate a link column for you, actually create the link as part of your SQL.
    select '<a href="f?p=102:3:491847682940364::::P3_CONTACT_ID:' || CONTACT_ID || "><img src="/i/themes/theme_1/ed-item.gif" alt="Edit"></a>' CONTACT_LINK, ...
    etc.
    Test this out. You'll see that it works just like making a column a link using the column attributes.
    Next, we'll change the SQL to use a DECODE statement to either display the link or nothing depending on what your criteria is. For example, let's assume you only want a link for active contacts.
    select Decode( CONTACT_STATUS, 'A', '<a href="f?p=102:3:491847682940364::::P3_CONTACT_ID:' || CONTACT_ID || "><img src="/i/themes/theme_1/ed-item.gif" alt="Edit"></a>', NULL ) CONTACT_LINK, ...
    etc.
    This will not display the link in any rows in which the CONTACT_STATUS is not active, i.e. "A"
    -Joe

  • How to switch between messages in the BlackBerry Hub

    With the release of BlackBerry 10 version 10.1, we’ve added a new gesture to the BlackBerry Hub that allows you to quickly switch between your next and previous messages. It’s simple: while viewing a message drag your finger from the left to the right and in one continuous motion swipe up or down.
    For example, in the following screenshot you’ll notice I am viewing ‘Test 08”. To get to the next message, “Test 09”, all I need to do is swipe from left to right (red arrow) followed by swiping up (green arrow) in a single motion. To switch to the previous message, “Test 07”, I complete the same gesture, but swipe down instead (blue arrow).
    Tip: Using a BlackBerry Q10 or Q5? On top of using this gesture to switch between messages, you also have the option of pressing the N key to view your next message, or the P key to view a previous message.
    If this gesture doesn’t appear to be working on your device, verify you are using BlackBerry 10.1.0.4181 or later by going to Settings > About and reviewing the OS Version field. If the OS Version is lower than 10.1.0.4181, check for updates by going to Settings > Software Updates.
    For more details about the availability of BlackBerry 10.1, check out Inside BlackBerry’s post on BlackBerry 10 Software Updates.
    VIA | helpblog.blackberry.com
    http://helpblog.blackberry.com/2013/10/how-to-switch-between-messages-in-the-blackberry-hub/
    Please thank those who help you by clicking the button.
    If your issue has been solved, please resolve it by marking "Accept as Solution"

    I would set up a variable before you get to that node, lets call it $EmpID and assign to it the value of the prompt you want to play lets say 12345 which would be the library promptID. It will then play prompt, get digits, and once you validate if it goes through the expression that flags it as invalid, in that node re-declare the variable, but this time give it the value of the new prompt you want to play, then sent it back to the node which will then play the new prompt and collect the digits.

  • How to refer a .jar file in the code.

    How to refer a .jar file in the code.
    I want to use a library dnsjava.jar, which I download from the internet. I want to know how to refer it
         If I am compiling the code on Solaris
         If I compiling the code on windows using eclipse.
    I added the following line in my code to refer to this library. But it always complains of not found the class
    import org.xbill.DNS.*;
    I tried the following to add this library but did not work
    On eclipse/windows: Went to window-> preferences -> BuildPath _> class path Variable.
    On Solaris: Could not add this library /opt/java_reference/v1.6.0_04/jre/lib. Although I am logged in as root, but not able to add the library there. Complains of Permission denied.

    Set the classpath option when compiling.
    javac -classpath /path/to/lib/dnsjava.jar YourProgram.java
    I don't use Eclipse, but it probably has a library list on your project preferences. Add it there.
    Regards,
    Henrique Abreu

  • HT5295 How to sync between iPhone and iPad?

    How to sync between iPhone and iPad at Podcasts app?

    Please elaborate - share what?
    Just guessing here...
    Any sharing is probably a result of being logged in with the same Apple ID on both devices.
    For apps/music: Settings > iTunes & App Stores > Automatic Downloads OFF.
    For iCloud: Settings > iCloud > Delete Account.
    For iMessage: Settings > Messages > Send & Receive.

  • How to refer field of DataSource in transfer rule for DSO object  in BI 7.0

    hello Gurus,
    I am new to BI 7.
    pls tellme how to refer field of DataSource in transfer rule for DSO object.
    I will assign points to proper answer.
    Praveen.

    hi praveen,
    when u create the transformation for the DSO, it asks for the source. in that you enter your datasource, then you get the datasource fields on one side and the rules in the middle and the DSO objects on the other side. whichever field of DataSource you want to refer in tranformation rule, just connect that field to the rule for the required object of the DSO.
    hope this will help you.
    regards
    vaibhav

  • How to refer to Excel tables (ListObjects) in PowerPivot

    I am trying to figure out how to import ListObjects in PP.
    As far as I can tell PP does not seem to "see" range names that refer to entire ListObjects i.e. =T_DTL[#All], while it "sees" ranges that refer to direct cells i.e. =Dtl!$O$3:$V$46.
    Is that correct and is there a way to work around it?
    The reason I am asking is that the tables I want to work with do not necessarily start on line 1 and PP references entire worksheets i.e. Dtl$, as per my example above.I tried different approaches with dynamic ranges but PP refuses to present them as choices
    while Selecting Tables and Views. The only way to achieve what I need is by creating named ranges with hardcoded start and end, which is a bit odd since Tables (ListObjects) are a powerful tool since Excel 2007 and I would expect a stronger integration with
    other powerful tools such as PowerPivot.Apart from the overhead of having to go through each workbook and define a range for every Table I wish to use.
    Am I missing something here?

    My PowerPivot attempt was abruptly broken about a month ago, hence my very late reply.
    Peter is quoting VBA statements on how to refer to a Table (ListObject), which is familiar to me as I am also writing VBA code. Unfortunately my problem is in interactive mode, not in code execution.
    When we open a file's PowerPivot window from within Excel we are prompted to select the tables we want to work with. That is where I cannot see my ListObjects / Tables. I am presented with all ranges that PowerPivot sees as declared in the file that I am
    opening (as in Formulas / Names Manager) EXCEPT for the ListObjects. Those are missing.
    Try it if you will and let me know if this behavior is relevant only to my installation or to yours as well.
    George Thalassinos

  • How to refer to a protected class outside the enclosing package

    Hi all,
    At the page 357 of the book Java Language Specification(Second Edition), when saying about checking accessibility of Type and Method, they concern Let C be the class containing the method invovation T.m, if T is in a different package than C, and T is protected then T is accessible if and only if C is a subclass of T. I just wonder how to refer a protected type outside the package it declared.
    For example,
    package test;
    public class test {
    static protected class protectedTest {
    public void foo() {..}
    in another package
    import test.*;
    class subtest extends test.protectedTest {  <- error
    Anyone can give me an example showing an invocation directly to foo() declared in class test.protectedTest ? The invocation should appear outside package test.
    Thanks,
    Ha Chau

    The protected inner class would be accesible only within a class which extends test, where you could either use or extend it as in:
    class subtest extends test {
        private static class sub2 extends protectedTest {
               }

  • How to Refer Application item in the html region

    Hi All,
    I have region which says 'Data was refereshed on 12-Apr-2010'. This is displayed in many pages. I want to reduce the manual work of going into each and every page and editing the date.
    I have created an Application Item in shared components. Can anyone help me how to refer this application item in the html region?
    Thanks,
    Vikas

    You can use the syntax of : &<ITEM_NAME>.
    i.e. say I have an application item MY_NAME , I would then have a html region which has the following
    <p>My name is &MY_NAME.</p>see: http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/concept.htm#BEICHBBG
    Trent

  • How to refer standard component to create customize component?

    Dear experts,
    Can any one guide me how to refer a standard component to understand the flow of the event of with in the views and there are various methods are present to change properties of a field property. How can we refer the standard code for changing our field property?
    with regards
    crmfresher.

    Hi,
        The CRM 2007 Webclient cookbook is available if you have a marketplace ID.
    Refer to this thread.
    [CRM 2007 WebClient Cookcook available!;
    Regards,
    Arun Prakash

Maybe you are looking for

  • I was part my macintosh hd in four volumes ..how can i re-arrange those parts in one macintosh hd volume

    i was part my macintosh hd in four volumes ..how can i re-arrange those parts in one macintosh hd volume

  • Oracle's recommended Swap Size for Solaris 10 Oracle 11gR2 (11.2.0.2)

    I have a solaris server with 16gb of RAM that will subsequently be zoned into three zones to support three separate database instances, one for each zone. Given that physically there is only 16Gb of ram, It is my understanding and experience that I s

  • FB60 - Payment Terms

    Hi, I got a requirement; user should not have authorization to change the automatically populated Payment Terms from Vendor Master. This particular field, Payment Terms should be only in display mode at time posting FI vendor invoice through FB60 or

  • Trouble joining network

    I have two systems: One is an older powerbook G4 running 10.4 and the other is a new MacBook Pro running 10.6. The older one can't join the network. The newer one - no problem.  I get an error on the Powerbook "There was an error joining the Airport

  • Use view transtions issue

    On the wiki page about flex hero sdk , I find some view transtions fire on view changed. But I can't use these classes in flash builder burrito. Can't find the namespaces in the sdk. I only install the flash builder burrito. What else should I do to