Actions and Input frame

I need some help on how I can implement the following:
I have a GUI with a toolbar and menu. The toolbar buttons and JMenuItems are implemented using Actions. I want one of these actions to pop up an internal frame in a desktop pane below the toolbar to collect data from the user (similar to a JFileChooser). I'm not sure how to have the frame appear. My problem is the event handling in the actions. I'm not sure how to get the action to recognize that it needs to put the frame in the desktop pane. Any help would be appreciated
Thanks in advance

In the actionPerformed(ActionEvent) method of the Action, create your JInternalFrame, set it's bounds (i.e. size and position) by calling setBounds(int, int, int, int), add it to the desktop pane with the add(JInternalFrame) method and call setVisible(true) on the internal frame.

Similar Messages

  • How do you print a scrollable input frame?

    Hello,
    I am working on a mac and using InDesign CC 2014 and Acrobat XI Pro.
    I have created an interactive form in InDesign and exported it as a interactive PDF. I have created scrollable input frames. Great for input, and on the screen in general, but when printing, only the visible window gets printed.
    Is there an action I can add to the scrollable input frame that will tell acrobat to print all content in this frame. For instance is there an action that tells the field to grow in length only in the printout? I don't want to make the field bigger or the font smaller in the pdf form itself.
    Thank you for your advice,
    Kristy

    Presumably you have created a text frame and ticked the scrollable box so that the form user can add more text than appears in the size of the frame.
    I don't think it can me made so that the user can print out all the text as you describe.

  • Can acrobat print the entire contents of a scrollable input frames?

    Hello,
    I am working on a mac and using InDesign CC 2014 and Acrobat XI Pro.
    I have created an interactive form in InDesign and exported it as a interactive PDF. I have created scrollable input frames. Great for input, and on the screen in general, but when printing, only the visible window gets printed.
    Is there a way to print from acrobat and for acrobat to make the field bigger in the printout? I don't want to make the field bigger or the font smaller in the pdf form itself.
    Thank you for your advice,
    Kristy

    No, form fields don't behave that way.

  • Dynamic actions and PA-PD integration a problem

    Are you aware of an update problem with MSS and PA-PD integration?  This information was made available in a presentation to us last year.  Was this issue resolved in mySAP ERP 2004?
    Dynamic actions and PA-PD integration a problem
    Dynamic actions and PA-PD integration are not
    processed on updates made from the web (but in the
    background through a batch or call transaction session)
    That’s why most standard PCRs require HR to process
    the transaction using the SAP GUI in the foreground
    This normally affects changes to infotypes 0000 &
    0001
    Then the next slide states:
    Workaround for dynamic actions
    Review dynamic actions in table T588Z (use SE16 to
    display) and document the infotypes and values that
    trigger dynamic actions
    Incorporate those infotypes into your background
    processing and web forms (if necessary)
    Workaround for PA-PD integration
    Include the integration steps for these infotypes in your
    background processing (just as in conversions)

    Hi John,
    Not sure if it is fixed.. or can be fixed.. we are still in 47  & Use custom code to account for Dynamic Actions.. the PCR processes use the function module HR_MAINTAIN_MASTERDATA to update the infotypes. This function mimics a BDC & hence cannot handle Dynamic Actions... Basically, the issue is not with MSS but it is the way Dynamic Actions work.. to quote SAP  "Dynamic actions are not correctly processed in batch input sessions since in batch input the sequence of the screens needs to be predefined correctly. To be able to process dynamic actions in batch input, the checks of the dynamic actions need to be programmed when creating the batch input session. To avoid errors when programming and running the session, the static actions  only are processed in batch input. Calls of infotypes that are triggered by dynamic actions should be realized by separate Transaction calls.
    Please take a look at OSS Note #386027 for additional info about Dynamic Actions.
    Regards,
    Suresh Datti

  • Actions and Templates CS2 to CS3

    Looking for pointer to a resource that will explain how to migrate important resources from Photoshop CS2 to CS3. Principally interested in actions and metadata templates, but there may be others.

    Renee,
    Since CS, PS has the ability to easily handle most common PARs, because of its interface with video, where PARs are a big deal. If you're going to Web, or going to print, then square pixels, are what you need, and what PS was originally designed to work with.
    Are you opening frame-captures from video? These could be almost any file format, TIFF, TGA, JPG, BMP, PSD, etc. If so, then they may well have a different PAR. Are you adding these TIFFs to a New Image, created with, say, the NTSC 4:3 .9 PAR setting?
    If all you do is square pixel work, and all of your Assets are square pixel images, AND PS is still telling you about the PAR, then a pref. is likely messed up for you. Try restting your prefs.
    Hunt

  • Run button's method action without input text's validation raise

    Hi
    My English isn't very good
    I use jdeveloper 11.1.1.3.0
    I have a button and an inputText(with validation) on the page. I defined a method action for the button.
    when I click the button, the input Text's validation raise and the button's method doesn't run.
    If I set immediate=true for the button then the validation doesn't raise but in this case also button's method doesn't run.
    How can I run button's method action without input text's validation raise?
    Habib

    If I set immediate=true for the button then the validation doesn't raise but in this case also button's method doesn't run.This should have worked . Run your application in debug mdoe and put a debug pointer in your actionListener to see if the control goes there.
    Also put partialSubmit="true" for your button.

  • CRC errors and input errors on Te 1/2 of Cisco WS-C3560X-48 switch

    Hi All,
    I am observing CRC errors and input errors on one of the Te1/2 interface of WS-C3560X-48 Cisco switch. I have not observed any CRC errors or input errors on the connected interface at other end. Can you please let us know whether the issue is with cable or SFP module.
     Effected interface:
    TenGigabitEthernet1/2 is up, line protocol is up (connected)
      Hardware is Ten Gigabit Ethernet, address is f866.f243.e6b6 (bia f866.f243.e6b6)
      Description: *** MAN-SW1B***
      MTU 1500 bytes, BW 10000000 Kbit, DLY 10 usec,
         reliability 254/255, txload 1/255, rxload 1/255
      Encapsulation ARPA, loopback not set
      Keepalive not set
      Full-duplex, 10Gb/s, link type is auto, media type is SFP-10GBase-SR
      input flow-control is off, output flow-control is unsupported
      ARP type: ARPA, ARP Timeout 04:00:00
      Last input 00:00:00, output 00:00:00, output hang never
      Last clearing of "show interface" counters 3w5d
      Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
      Queueing strategy: fifo
      Output queue: 0/40 (size/max)
      5 minute input rate 29000 bits/sec, 30 packets/sec
      5 minute output rate 45000 bits/sec, 37 packets/sec
         68905128 packets input, 8272036576 bytes, 0 no buffer
         Received 68904979 broadcasts (68812046 multicasts)
         0 runts, 0 giants, 0 throttles
         146170 input errors, 130065 CRC, 0 frame, 0 overrun, 0 ignored
         0 watchdog, 68812046 multicast, 0 pause input
         0 input packets with dribble condition detected
         83524620 packets output, 12642123488 bytes, 0 underruns
         0 output errors, 0 collisions, 1 interface resets
         0 babbles, 0 late collision, 0 deferred
         0 lost carrier, 0 no carrier, 0 PAUSE output
         0 output buffer failures, 0 output buffers swapped out
    Other end.
    TenGigabitEthernet1/4 is up, line protocol is up (connected)
      Hardware is Ten Gigabit Ethernet Port, address is 503d.e53b.9703 (bia 503d.e53                                                                                        b.9703)
      Description: *** DMZ-SW1B ***
      MTU 1500 bytes, BW 10000000 Kbit, DLY 10 usec,
         reliability 255/255, txload 1/255, rxload 1/255
      Encapsulation ARPA, loopback not set
      Keepalive set (10 sec)
      Full-duplex, 10Gb/s, link type is auto, media type is 10GBase-SR
      input flow-control is on, output flow-control is off
      ARP type: ARPA, ARP Timeout 04:00:00
      Last input 00:00:00, output never, output hang never
      Last clearing of "show interface" counters never
      Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0
      Queueing strategy: fifo
      Output queue: 0/40 (size/max)
      5 minute input rate 32000 bits/sec, 27 packets/sec
      5 minute output rate 21000 bits/sec, 22 packets/sec
         918379921 packets input, 312586470396 bytes, 0 no buffer
         Received 881142868 broadcasts (875016400 multicasts)
         0 runts, 0 giants, 0 throttles
         0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
         0 input packets with dribble condition detected
         463132111 packets output, 240865283601 bytes, 0 underruns
         0 output errors, 0 collisions, 1 interface resets
         0 babbles, 0 late collision, 0 deferred
         0 lost carrier, 0 no carrier
         0 output buffer failures, 0 output buffers swapped out

    When there are more than two members in a cluster (stack), the Gigabit interface operates at half-duplex. Since collisions can result at half-duplex, some CRCs errors are normal.

  • Remove Advanced Pulldown and Duplicate Frames

    I've been researching this but still have not figured it out:
    When I import Canon XF100 footage shot in 24fps from my CF card into FCP 7, in the "Log and Transfer" window under "Preferences", should I check or uncheck "Remove Advanced Pulldown and Duplicate Frames"?  My thought was to uncheck the box since it is a function specific to P2 cards and that it wouldn't make a difference either way for my footage.  Also (and I could be wrong), I didn't think any pulldown was necessary since I was shooting in 24fps.  However, when I examined 2 test clips taken through both paths, there was one noticeable difference: the unchecked clip is larger (644.8MB) than the checked (582.8MB).   Hmmmm....
    Does this mean the footage changes based on if that box is checked or not? 
    And in my shooting/import scenario, should I check or uncheck that box?
    Thank you.

    23.98 and 23.98
    > I have a few different cameras and some need pulldown and some don't but I've always left it checked under the > assumption that if there's nothing to pulldown it can't/won't and everything has been fine.
    good to know.  i agree.  based on my conversations with the canon xf software folks, they were not entirely sure whether or not to check the box, so it doesn't seem to be a significant impact on the work flow.
    thanks all for your input.

  • I'm having an issue displaying a button using advanced actions and rollover slidelets.

    I'm having an issue getting a button to display after the learner places his mouse over three different rollover slidelets which are all on the same slide. I created three variables and assigned each to the rollover slidelets. I also created a conditional action that I assigned to the slide. The variables are set to zero and then the action is to assign the variable with 1 after it's rolled over. The conditional action says that once all three variables are equal to 1, show the button and continue. Unfortunately the button is not displaying after the three rollovers have been viewed. Any insight?

    I can only suspect what is going wrong, it would have been a lot easier if you did show those actions.
    My suspicion is due to this sentence '... a conditional action that I assigned to the slide'? There are two slide events: On Enter, and On Exit. Read more about those events:
    http://blog.lilybiri.com/events-and-advanced-actions
    Those events can trigger an advanced action but only at that frame: first frame (On enter), last frame of the slide. But you expect the button to appear when the three rollover events have occurred? That means the condition has to be checked by each action triggered by the rollover events. Have multiple examples on my blog for such use cases, latest one was:
    http://blog.lilybiri.com/blog-after-posterous-clickclick
    Shortly:
    Use the On Enter event of the slide to reset the three variables to zero, that will be a standard advanced action with three Assign statements (this is not necessary if you never expect the user to return to that slide)
    Use each Rollover event to trigger a conditional advanced action with two decisions:
    First decision 'Always' will be a mimicked standard action, and toggles that variable to 1
    Second decision 'Checkit' will have your condition to see if the three variables are equal to 1, if Yes show the button, if No, nothing has to happen (or maybe Continue, depends on setup)
    Lilybiri

  • Need OID for rxload and input rate

    Hi all,
    I want to monitor the rxload and input rate on interfaces but I can't find the correct OID can someone help me with this please.
    Can someone also provideme a good document for this
    GigabitEthernet4/8 is up, line protocol is up (connected)
      Hardware is Gigabit Ethernet Port, address is 000d.657d.3387 (bia 000d.657d.3387)
      Description: --- 2924_MAIN ---
      MTU 1500 bytes, BW 100000 Kbit, DLY 10 usec,
         reliability 255/255, txload 1/255, rxload 1/255
      Encapsulation ARPA, loopback not set
      Keepalive set (10 sec)
      Half-duplex, 100Mb/s, link type is auto, media type is 10/100/1000-TX
      input flow-control is off, output flow-control is off
      ARP type: ARPA, ARP Timeout 04:00:00
      Last input 00:00:47, output never, output hang never
      Last clearing of "show interface" counters 20w1d
      Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0
      Queueing strategy: fifo
      Output queue: 0/40 (size/max)
      5 minute input rate 5000 bits/sec, 4 packets/sec
      5 minute output rate 153000 bits/sec, 26 packets/sec
         143271178 packets input, 34567505950 bytes, 0 no buffer
         Received 2731549 broadcasts (295416 multicast)
         0 runts, 0 giants, 0 throttles
         0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
         0 input packets with dribble condition detected
         253476590 packets output, 117220536494 bytes, 0 underruns
         1341644 output errors, 542074 collisions, 0 interface resets
         0 babbles, 259071 late collision, 0 deferred
         0 lost carrier, 0 no carrier
         0 output buffer failures, 0 output buffers swapped out

    Hi,
         I haven't been able to find any documentation on CCo regarding this, but in my searching, I have come across the following MIb Object, which will tell you the input rate on the interface :
    .1.3.6.1.4.1.9.2.2.1.1.6
    locIfInBitsSec OBJECT-TYPE
        -- FROM     OLD-CISCO-INTERFACES-MIB
        SYNTAX          Integer
        MAX-ACCESS     read-only
        STATUS          Mandatory
        DESCRIPTION    "Five minute exponentially-decayed moving                            average of input bits per second."
         There is a similar object  locIfOutBitsSec (.1.3.6.1.4.1.9.2.2.1.1.8) for the output rate.
         To so rxload = 255 * locIfInBitsSec / (1000000 * ifHighSpeed )
    Regards
    Derek

  • Assigning Action to a Frame

    confused;
    OK I admit this should be easy, but I can't seem to do it. I
    want to assign simple stop and start actions to frames in a main
    movie. I would like the movie to wait for a click to start (managed
    this much) and to stop at select frames when clicked and then
    restart on a click. The problem seems to be I can't assign more
    than one action to a frame.
    Any ideas?
    Thanks

    That really works!
    One more quick question: I was hoping there was a simple
    basic action script method for doing this (invisible buttons?) so
    that I could pick other frames further along to click a stop and
    then restart action. (My movie is a book that turns pages. I hope
    to be able to click on pages to stop them and then click to move
    on.)
    Any ideas?
    Thanks

  • Photoshop and picture frames

    Hello, I found some picture frames online that I tried to download into Photoshop to use in action however i cannt find them.  the frame is called gold.psd, my question is "am I dlowding the frame in the correct place and if so, why cant i use it.  The only frame that i see in action is the frame that came with the software which is called wood frame.  Thanks

    The file in question- Gold.psd is probably not an action file,
    but rather an image file intended to be used in an action.
    You could easily verify this by going to File>Open and selecting the
    gold.psd and then click open. If it were an action, doing this would
    open the action in the actions panel.
    Action files have a .atn extension.
    Perhaps the place you downloaded this file from has some instructions
    on the intended use of this file within an action.
    MTSTUNER

  • What is the difference between action and workflow? How do I decide that I need an action in a transaction and not a workflow and vice versa?

    Dear Experts,
    I have few doubts and request your expert inputs to clarify my doubts.
    What is the difference between action and workflow? How do I decide that I need an action in a transaction and not a workflow and vice versa?
    Your earliest response is highly appreciated.
    Thanks,
    SMTP

    Hi SMTP,
    First of all, as I mentioned action is nothing but an executable work item which is designed in the workflow itself. In other words, Workflow is like your OOPS class. At run time, workflow instances are created just like objects of classes. Now, the steps designed in the workflow are called TASKS and the instances of tasks are called WORKITEMS. Now, the work items where any user action is required are called executable work items. ANd the work items where no user action is required (for example, sending an email in background) are called non-executable work items.
    Whether to go with development of workflow or not depends upon your business scenario. If your requirement is only to send an email and you find any BAdi or exit where in you can write your logic then there is no need of creating a workflow. If there is a defined business process with defined users and time lines, then you can go with the development of workflows.
    Rest, the below link will help you in understanding basic concepts of workflow :
    Why use SAP Workflow? | Insight Consulting Partners
    Regards,
    Richa

  • Automation plugin as action and via File/Automate

    Hi,
    I have an Automation plugin that is scriptable (it has a number of exposed scriptable parameters and can be recorded and run from Actions palette). The plugin displayes the UI when it is called interactively (from File/Automate).
    I am however having troubles distinguishing when it is called from an Action palette as a playback of recorded action and when it actually was called interactively from File/Automate (testing it in Photoshop CS6). On plugin invocation I check passed action descriptor and if not empty, read parameters from it and don't show the UI. On the call end, I write script parameters back to a descriptor to be able to use them in recorded action. With this in mind, after PS start first time selecting File/Automate works as expected - no descriptor/parameters passed into the plugin. But after a first call, Photoshop seems to keep the descriptor/parameters written at the end of the plugin and passes it on subsequent user invoked File/Automate. The same happens if plugin is getting called from a recorded action playback (and its expected). Basically after a first invocaction, the plugin will always receive action descriptor whether it called from an action playback or invoked by user.
    I need to distinguish these two cases and basically present UI/start from scratch when user invokes it and use the passed action parameters when action plays it. I have not found anything in SDK to point me to the solution so I'd appreciate the help.
    In filter plugins I can at least get selector start when invoked from UI and use that to free/ignore the action descriptor data.

    I don't think you should care. The option you do care about is this one:
    PIDialogPlayOptions playInfo
    That is part of  PIActionParameters *actionParameters
    That is part of your PSActionsPlugInMessage that comes into your automation plugin entrypoint.
    This parameter has three options:
    a) always display the dialog,
    b) only display the dialog if you don't like the parameters you are given,
    c) never display a dialog (either return an error or proceed with best options but don't stop with a dialog)
    From the file menu, user selected, you should get option a (always). From the actions panel you should get option a or b. From scripting you can get all three options.
    There is also a property in PIProperties.h called propPlayInProgress but the above information should be what you need to do the correct thing with dialogs.

  • I delete some emails ,there are moved to trash . I delete them from trash folder too and they still appear in a folder called 'all messages". I repeat the same actions and after a while they appear again!what should i do to delete them permanently??

    I delete some emails ,there are moved to trash . I delete them from trash folder too and they still appear in a folder called 'all messages". I repeat the same actions and after a while they appear again!what should i do to delete them permanently??

    If you are using Apple's Mail app 6.5 is the latest version irrespective of what a previous poster says. It does sound though that you are using a gmail account online via a web browser. Please confirm and fill in missing information.

Maybe you are looking for

  • Disable Acrobat plug-in so

    Is it possible to disable the Acrobat plug-in for Safari without uninstalling Adobe Acrobat Reader? Acrobat Reader is much slower for viewing PDFs so I use Preview to view PDFs that I download but I would prefer to use it in Safari too. The problem i

  • Creation of push buttons in report program

    hi guys, I have rquirement like  in selection screen i need  one paramenter  like vbeln  and  i need two push buttons ?  can we create pushbuttons in selection screen? if possible can anyone please help me on these? thank you

  • GRC AC 10.0 Maintain Master User ID Mapping

    Hi, I try to configure "Maintain Master User ID Mapping" in the transaction SPRO->GRC->Access Control Example: SYSTEM: A USER ID: B MASTER USER ID: C If i try to launch the PSS for the C user, also change the password of the B user? This, not working

  • I want to delete ALL of the Contacts, and start fresh.

    I want to delete ALL of the Contacts transfered from my iMac shortly after setting up my new iPad 4th Gen, so I can start a new Contact list that is better scaled down for my Face Time and eMail usage (without the other 900 business contacts). I cann

  • XSRF error when returning to SRM from external catalog

    Hello, We recently applied support package stack 19 to our SRM 5.0 development system, and after doing so found that some of our configured catalogs began producing an XSRF error when attempting to populate the SRM shopping cart with items from the c