"Exit" button used in multiple sequence frames

I am hoping there is a more elegant way to do this...
See the attached VI for a vastly-simplified program that typifies what I am trying to accomplish.  Basically, I've got one button that I want available in multiple sequence frames.  In this case, I have used an "Exit" button.  When pressed, the program passes through any remaining sequence frames until it ends.  The final frame "unclicks" the "Exit" button.  This final frame is necessary because I had to set the mechanical action of the Exit button to "Switch When Released" because I used local variables in all sequence frames after the first one.
Is there a way I can accomplish the same functionalities of this program without using local variables and/or while setting the mechanical action of the "Exit" switch to "Latch When Released?"  I am specifically looking for solutions which will work in multiple frames of a stacked sequence structure (I realized there are ways to turn the three lights on without using a stacked sequence structure, but I am not interested in doing so).
Any help would be greatly appreciated!  Thanks!
Solved!
Go to Solution.
Attachments:
Stop Button Demo.vi ‏14 KB

hi dia,
So many discussion was finished regarding this multiple Event structure. In your code totally 3 event structures you are using. But in a program only one Event structure is enough to operate properly. Because in LabVIEW only one event queue is there in built. So if you use more than one event structure LabVIEW will got confused and it will get queued up, even though there is no state and it will be masked some time. That's why your code taking so much of time to exit. Some times it seems like hang...
Try this VI...
<<Kudos are welcome>>
ELECTRO SAM
For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life.
- John 3:16
Attachments:
Event Handle.vi ‏11 KB

Similar Messages

  • How to hide the "EXIT" button on the ESS Personal inf. iViews

    Hello,
        We are using SAP ECC 6.0 + SAP EP 7.0 + ESS 1.0 (latest Releases).
        In the ESS iViews (Java WD) for Personal information (Adresse, Bank, Family, etc. there is the Button "Exit"..
      Does any have any Idea where and how to hide this "Exit" Button in the iView/Java-WD?
    Many Thanks,
    Nazih

    Hi Chris,
      thanks for your reply.
      If you mean to hide the button using the iView/WD Personalisation by rightclick on the iView in PCD and then Review, well yes i know this and i have tried this already before and we were able to hide some not required input fields in the Webdynpro, but we were not able to find and to hide the "EXIT" Button using the personalisation..!!?? you know why?
    Why to hide the Exit button, i will tell you why, in the iView for maintainig the ESS Personal Information -> e.g. Adresse --> Edit Adresse View (Roadmap view No. 2) --> when User click on the Exit Button --> This will open new browser Window with ESS... ---> This second Browser Window (Pop up) would confuse the User, since he already have an opened window, so the Customer mean why open new window, since the user can simply click the Button Back and so his data are also saved..
    How can we manage to control the behaviour of the Button, so the iView is closed safety without that new Pop-up windows are opened...
    Many Thanks,
    Nazih

  • Exit button on ESS iViews

    Hi,
    We have ESS deployed on EP7.0, so we are using the WebDynpro version of ESS. Now we want to redirect the navigation to our own customized iView when click "Exit" button on any of the ESS iView, for example , address iView. I guess this should be controlled in the pcui_gp xssutil component, am I right? Can anyone give me some hints on where I can make this modification? Thanks a lot

    Hi Chris,
      thanks for your reply.
      If you mean to hide the button using the iView/WD Personalisation by rightclick on the iView in PCD and then Review, well yes i know this and i have tried this already before and we were able to hide some not required input fields in the Webdynpro, but we were not able to find and to hide the "EXIT" Button using the personalisation..!!?? you know why?
    Why to hide the Exit button, i will tell you why, in the iView for maintainig the ESS Personal Information -> e.g. Adresse --> Edit Adresse View (Roadmap view No. 2) --> when User click on the Exit Button --> This will open new browser Window with ESS... ---> This second Browser Window (Pop up) would confuse the User, since he already have an opened window, so the Customer mean why open new window, since the user can simply click the Button Back and so his data are also saved..
    How can we manage to control the behaviour of the Button, so the iView is closed safety without that new Pop-up windows are opened...
    Many Thanks,
    Nazih

  • Trying to create multiple sequence window

    I'm new to swing, and I have a project in which I need to create multiple sequence frame swing program.
    To give you a better idea, I'm trying to create something that's similar to a self checkout shopping cart expect there is a frame where I need users to login. I already have a MySQL database setup for that.
    Once the user passes the login frame, I need another frame that will show up to displace information, and multiple other frames to come and go.
    I learn really well by examples, so are there any place I can find example of this. Thank you

    What I need is a transition between different layout. I need a layout say a login layout to finish (run successfully) and it transition to a different layout.
    I looked through the totorials and didn't see anything about transitions.
    I don't need need something like a desktop with multiple frames being displated at the same time. I need a sequence of frames
    Ah never mind.. cardmanager is what I need
    Message was edited by:
    d1sturbanc3

  • Exit button is not popping Quit/cancel options in application (.exe)

    Hi,
    I have created a VI with Exit button using run time menu option
    When I run same VI and click on Exit button, it popups a message with Quit or cancel options
    Then I created .exe for the same VI and executed, when i click on exit button it is directly quitting labview with out any popup message
    Can some one help me in creating .exe with quit/cancel popup message
    Thanks in advance

    Oh, you are calling the LabVIEW IDE's Exit.  Do not do that.  With that you are aborting any running VIs (ie, not letting them stop on their own) and shutting down LabVIEW.
    I recommend you use an Event Structure to handle the pressing of the exit menu item and doing whatever you need to inside that event case.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Is there a way to select multiple sequences and batch export them using the same settings in CS6?

    I am a current Final Cut Pro7 user and looking to switch over to Premiere Pro CS6.  We edit approx. 100 short (15 sec.) videos daily, and then select them all at the end of the day and batch export them over night using the same export recipe for all. I have having trouble finding an easy way to do this in Premiere pro CS6, as command +E is grayed out if i select more than one sequence at a time. 
    so far, it appears that i have to select each video individually and manually set encoding recipe and export location for each....  Not only would this be terribly time consuming, but it leaves a lot of room for error and missed videos.  I thought i would be able to send all of the sequences to Adobe Media Encoder,  but i dont see that option either.
    Any suggestions/
    thanks!

    Open Media Encoder and add your Sequences:
    File > Add Premiere Pro Sequence
    Navigate to your Premiere Project and select it in the list.
    You can then select multiple Sequences from the Project (Ctrl+Click)
    and load them all at once into Media Encoder and apply
    the same encoding preset to all Sequences at the same time.

  • Problem activating the back and exit button with the ALV using OO

    I have wrote my first alv using Methods.My problem is that i can't activete the BACK and  EXIT button in the standart toolbar .
    Look my code please .....
    Without PF-STATUS can i do it ?
    *& Report  YDP_DOUBLE_ALV
    REPORT  YDP_DOUBLE_ALV.
    TABLES : YQM_CERT , MARA , YOUTPUT_APPL.
    DATA : ALV_GRID TYPE REF TO CL_GUI_ALV_GRID,
           CUSTOM_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
           FIELD_CAT TYPE LVC_T_FCAT,
           LAYOUT TYPE LVC_S_LAYO.
    DATA : ALV_GRID2 TYPE REF TO CL_GUI_ALV_GRID,
           CUSTOM_CONTAINER2 TYPE REF TO CL_GUI_CUSTOM_CONTAINER.
    *       FIELD_CAT TYPE LVC_T_FCAT,
    *       LAYOUT TYPE LVC_S_LAYO.
    DATA: DYNNR TYPE SY-DYNNR,
          REPID TYPE SY-REPID.
    DATA: OK_CODE TYPE SY-UCOMM.
    DATA : BEGIN OF ITAB OCCURS 0.
            INCLUDE STRUCTURE YQM_CERT.
    DATA   END OF ITAB.
    DATA : BEGIN OF ITAB1 OCCURS 0.
            INCLUDE STRUCTURE YOUTPUT_APPL.
    DATA   END OF ITAB1.
    *  MODULE DISPLAY_ALV OUTPUT
    MODULE DISPLAY_ALV OUTPUT.
      SET PF-STATUS 'ZST9'.
      PERFORM DISPLAY_ALV.
    ENDMODULE.                    "DISPLAY_ALV OUTPUT
                       "DISPLAY_ALV OUTPUT
    *& Module USER_COMMAND_0100 INPUT
    * text
    MODULE USER_COMMAND_0100 INPUT.
      CASE OK_CODE.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
        WHEN 'EXIT'.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE. " USER_COMMAND_0100 INPUT
    START-OF-SELECTION.
      LAYOUT-ZEBRA = 'X'.
      LAYOUT-GRID_TITLE = 'YQM_CERT'.
      LAYOUT-CWIDTH_OPT = 'X'.
      LAYOUT-SMALLTITLE = 'X'.
      SELECT  * FROM  YQM_CERT INTO ITAB.
        APPEND ITAB.
      ENDSELECT.
      SELECT  * FROM  YOUTPUT_APPL INTO ITAB1.
        APPEND ITAB1.
      ENDSELECT.
      CALL SCREEN 100.
    END-OF-SELECTION.
    *&      Form  DISPLAY_ALV
    *       text
    FORM DISPLAY_ALV.
      IF ALV_GRID IS INITIAL.
        CREATE OBJECT CUSTOM_CONTAINER
          EXPORTING
    *      PARENT                      =
            CONTAINER_NAME              = 'CC_ALV'
    *       style                        =
    *      LIFETIME                    = lifetime_default
          REPID                       = REPID
          DYNNR                       = DYNNR
    *      NO_AUTODEF_PROGID_DYNNR     =
    *    EXCEPTIONS
    *      CNTL_ERROR                  = 1
    *      CNTL_SYSTEM_ERROR           = 2
    *      CREATE_ERROR                = 3
    *      LIFETIME_ERROR              = 4
    *      LIFETIME_DYNPRO_DYNPRO_LINK = 5
    *      others                      = 6
        IF SY-SUBRC <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        CREATE OBJECT ALV_GRID
          EXPORTING
    *    I_SHELLSTYLE      = 0
    *    I_LIFETIME        =
            I_PARENT          = CUSTOM_CONTAINER
    *    I_APPL_EVENTS     = space
    *    I_PARENTDBG       =
    *    I_APPLOGPARENT    =
    *    I_GRAPHICSPARENT  =
    *    I_NAME            =
    *    I_FCAT_COMPLETE   = SPACE
    *  EXCEPTIONS
    *    ERROR_CNTL_CREATE = 1
    *    ERROR_CNTL_INIT   = 2
    *    ERROR_CNTL_LINK   = 3
    *    ERROR_DP_CREATE   = 4
    *    others            = 5
        IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        CALL METHOD ALV_GRID->SET_TABLE_FOR_FIRST_DISPLAY
          EXPORTING
    *      I_BUFFER_ACTIVE               =
    *      I_BYPASSING_BUFFER            =
    *      I_CONSISTENCY_CHECK           =
             I_STRUCTURE_NAME              = 'YQM_CERT'
    *      IS_VARIANT                    =
    *      I_SAVE                        =
    *      I_DEFAULT                     = 'X'
           IS_LAYOUT                     = LAYOUT
    *      IS_PRINT                      =
    *      IT_SPECIAL_GROUPS             =
    *      IT_TOOLBAR_EXCLUDING          =
    *      IT_HYPERLINK                  =
    *      IT_ALV_GRAPHICS               =
    *      IT_EXCEPT_QINFO               =
    *      IR_SALV_ADAPTER               =
          CHANGING
            IT_OUTTAB                     = ITAB[]
    *      IT_FIELDCATALOG               =
    *      IT_SORT                       =
    *      IT_FILTER                     =
    *    EXCEPTIONS
    *      INVALID_PARAMETER_COMBINATION = 1
    *      PROGRAM_ERROR                 = 2
    *      TOO_MANY_LINES                = 3
    *      others                        = 4
        IF SY-SUBRC <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ELSE.
        CALL METHOD ALV_GRID->REFRESH_TABLE_DISPLAY
    *       EXPORTING
    *         IS_STABLE      =
    *         I_SOFT_REFRESH =
    *       EXCEPTIONS
    *         FINISHED       = 1
    *         others         = 2
        IF SY-SUBRC <> 0.
    *      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.
    ENDFORM.                    "DISPLAY_ALV

    Hi
    U need  to active them in your status ZST9.
    Max

  • Can't uninstall and can't use minmise/maximise/exit buttons

    I can't use the minmise/maximise/exit buttons top right, so I reset FF on the Troubleshooting page. That hasn't worked so I thought I'd try a new fresh download. I figure it's best to uninstall the exisiting version first so I went to control panel/add & remove but when I hit remove it flashes briefly and does nothing else i.e. no uninstall. I tried going through My Computer/Programs but clicking on the uninstall helper does nothing. Grateful for any help.
    Troubleshooting info:
    Application Basics
    Name
    Firefox
    Version
    19.0.2
    User Agent
    Mozilla/5.0 (Windows NT 5.1; rv:19.0) Gecko/20100101 Firefox/19.0
    Build Configuration
    about:buildconfig
    Extensions
    Name
    Version
    Enabled
    ID
    Microsoft .NET Framework Assistant
    0.0.0
    false
    {20a82645-c095-46ed-80e3-08825760534b}
    Important Modified Preferences
    Name
    Value
    browser.cache.disk.capacity
    358400
    browser.cache.disk.smart_size.first_run
    false
    browser.cache.disk.smart_size.use_old_max
    false
    browser.cache.disk.smart_size_cached_value
    358400
    browser.places.smartBookmarksVersion
    4
    browser.startup.homepage_override.buildID
    20130307023931
    browser.startup.homepage_override.mstone
    19.0.2
    extensions.lastAppVersion
    19.0.2
    network.cookie.prefsMigrated
    true
    places.history.expiration.transient_current_max_pages
    13396
    plugin.disable_full_page_plugin_for_types
    application/pdf
    privacy.sanitize.migrateFx3Prefs
    true
    Graphics
    Adapter Description
    NVIDIA GeForce4 MX 440 with AGP8X (Microsoft Corporation)
    Adapter Drivers
    nv4_disp
    Adapter RAM
    Unknown
    Device ID
    0x0181
    Direct2D Enabled
    Blocked for your graphics driver version. Try updating your graphics driver to version 182.65 or newer.
    DirectWrite Enabled
    false (0.0.0.0)
    Driver Date
    4-7-2004
    Driver Version
    5.6.7.3
    GPU #2 Active
    false
    GPU Accelerated Windows
    0/1 Basic Blocked for your graphics driver version. Try updating your graphics driver to version 182.65 or newer.
    Vendor ID
    0x10de
    WebGL Renderer
    Blocked for your graphics driver version. Try updating your graphics driver to version 182.65 or newer.
    AzureCanvasBackend
    cairo
    AzureContentBackend
    none
    AzureFallbackCanvasBackend
    none
    JavaScript
    Incremental GC
    true
    Accessibility
    Activated
    false
    Prevent Accessibility
    0
    Library Versions
    Expected minimum version
    Version in use
    NSPR
    4.9.4
    4.9.4
    NSS
    3.14.1.0 Basic ECC
    3.14.1.0 Basic ECC
    NSSSMIME
    3.14.1.0 Basic ECC
    3.14.1.0 Basic ECC
    NSSSSL
    3.14.1.0 Basic ECC
    3.14.1.0 Basic ECC
    NSSUTIL
    3.14.1.0
    3.14.1.0

    Try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *https://hacks.mozilla.org/2010/09/hardware-acceleration/
    Try a clean reinstall and delete the Firefox program folder before reinstalling a fresh copy of Firefox.
    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 19.0.x: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible, to cleanup the Windows registry and settings in security software.
    *Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you will also lose your personal data like bookmarks and passwords from profiles of other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other profile data are stored in the Firefox Profile Folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.
    If you keep having problems then also create a new profile.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Using onPress multiple times on different frames

    Hi,
    I have a menu file (cs3) for navigation on a web site. It's
    pretty basic, as I am new to using flash extensively. I always try
    to do it all with JS.
    There is a list of 5 "sections" (buttons), and when one is
    clicked a sub-menu fades in beside it. These new buttons, however,
    do not work. All buttons use a onPress function . I have studied
    this some and read something about parent and child movieclips, but
    there aren't any mc's in my file. Not sure if this can apply to
    buttons as well...
    Basically, I just need the second sets of buttons to work. I
    will attach code for them. The AS is in a separate keyframe from
    all of the buttons but on the same timeline frame number. All links
    are opened within an iframe on the same page.
    Any help would be appreciated!

    It is most likely (I'm not certain from the description) that
    the 'sub-buttons' are a 'child' MC of the main button? if so, the
    'on' handler for the 'main' button will override any handlers
    attached to 'child' buttons within it. the only solution is to use
    a hitTest method for either the 'parent' button or the 'child'
    buttons, OR separate the two MCs and use the 'main' button to bring
    a MC of the 'sub' buttons to the Stage.

  • A frame failed to render while using Render Multiple Frames Simultaneously

    Hello fellow AE users:
    I've read other threads which deal with this issue, however they don't seem to be exactly what I'm experiencing so I'm starting a new thread. I did do several hours of due diligence by research others' handling of this issue, so I'm not just blindly reposting this question without having done some legwork.
    I'm getting this message when rendering one of my compositions:
    "After Effects warning: A frame failed to render while using Render Multiple Frames Simultaneously. Allocating more memory to the background processes in Memory & Multiprocessing Preferences may fix this problem. (26  ::  142)"
    First, some background on what led up to this. I've built an entirely new system from scratch based on the new Intel 5960X 8-Core processor, with 64GB of RAM on an Asus X99-Deluxe Mobo.Brand new install of Windows 8.1, and brand new install of After Effects CC (latest versions as of this posting) and all of my plug-ins (mostly Red Giant, also all updated to current versions.) I have a new video card in this system (Gigabyte GTX 980 G1 Gaming) however this issue also happened with my old 4GB GTX 680 as well, which was in the original i7-950 system (see below.)
    I've set up Multiprocessing preferences for 6GB reserved for system, 8 CPUs reserved for other applications which leaves "Actual CPUs that will be used: 8", with each CPU having a 6GB RAM allocation. That's 8x6=46G, leaving 18GB free for the operating system, which should be more than enough.
    One could speculate that there is some plug-in that is using too much memory, or something weird with QuickTime or H.264 decoding (the source is one Canon 5D mk II H.264 .mov and one jpeg file). However, this issue did *NOT* happen on my old system, which was 4-core Intel i7-950, 24GB RAM, running the same version of After Effects CC and my plug-ins, and with only 3GB/Thread of ram allocated instead of the 6GB/Thread i'm using here.
    I've simply loaded the old project on the new install and attempted to render. I have not changed any settings. I DID do the thing where you hold CTRL-SHIFT-ALT (or something like that) to reset all of the preferences when loading AE just in case that was the issue.
    So, why would this be able to render using multiple processes on my old box with only 3GB/thread, while it will NOT render on this new system with double that, 6GB/thread allocated?
    Please let me know if there is any other information I can provide that would be helpful to debug this.
    Many thanks in advance for your help!

    Thank you very much for the quick reply, Todd. I'll give that a shot. There also seems to be a problem with the Red Giant Cosmo plug-in. I get Cosmo engine initialization failures, but it's intermittent.

  • Using FCP server to batch export multiple sequences from a FCP file

    Hi... I am researching to see if FCP Server will be useful for our work flow.
    We are creating multiple sequences in one FCP project file, and I want to be able to drop that .fcp project file into a folder and have a "watch and respond" action on the folder that takes all the sequences in that project file and applies a compressor preset to each sequence inside the project file without me having to open the file and select all sequences and batch them through compressor manually.
    If this is possible then FCPS is going to save us a lot of man hours... does anyone know from experience if this is possible? I know you can take a QT file and do this, but I am not sure if you can do this with a project file!
    Thank you
    Barry

    We work with FCP projects that have 7 - 10 sequences. When the day is done we do a quick export current settings and drag them into the production that contains the fcp project. W also flag them "ready for review" and "send to the web app". Works great for me and costs about 2 minutes. Just about the time it takes to put on your coat and say goodbye to everybody in our little editshop.

  • How can I use TrueSequenceFactory with multiple sequences

    In the post "How to use existing Oracle sequences using KODO" answered
    by Marc Prud'hommeaux a "sample code" was given. But seems to me that
    example will only work with a single Oracle sequence for the entire
    system. Is this right?
    How can I use TrueSequenceFactory with primary-keys and their
    respective existing sequences? Can you (SolarMetric guys) provide me a
    sample code?

    The problem is that you are using application-identity. When you
    specify an objectid-class, we treat is automatically as application
    identity. To resolve this, I would recommend removing both the
    objectid-class and identity-type atributes from your class. With
    "objectid-class" in place, we asssume that you wil take care of identity.
    Eduardo Bobsin Machado wrote:
    I'm using Kodo 2.4.0, Oracle 9i, JBoss 3.0.4, the Kodo jars are in the
    JBoss' lib/ext.
    Well, I'll show what I have...
    This is the script of my table:
    CREATE TABLE LINEUP_VOYAGE (
    VOYAGEID NUMBER (10) NOT NULL,
    VESSEL_NAME VARCHAR2 (1000) NOT NULL,
    CONSTRAINT PK_LINEUP_VOYAGE
    PRIMARY KEY ( VOYAGEID ) ) ;
    This is an excerpt of my .jdo file:
    <class name="LineupVoyage" objectid-class="LineupVoyageId"
    identity-type="datastore">
    <extension vendor-name="kodo" key="table" value="LINEUP_VOYAGE"/>
    <extension vendor-name="kodo" key="sequence"
    value="LINEUP_VOYAGEID_SEQ"/>
    <extension vendor-name="kodo" key="pk-column" value="VOYAGEID"/>
    <extension vendor-name="kodo" key="lock-column" value="none"/>
    <extension vendor-name="kodo" key="class-column" value="none"/>
    <field name="vesselName">
    <extension vendor-name="kodo" key="data-column"
    value="VESSEL_NAME"/>
    </field>
    <!--field name="id" primary-key="true">
    <extension vendor-name="kodo" key="data-column"
    value="VOYAGEID"/>
    </field-->
    </class>
    As you can see, the "id" field is commented.
    And this is my class:
    package br.com.fertimport.entity;
    import java.util.*;
    public class LineupVoyage {
         private String vesselName;
    //     private long id;
    //     public LineupVoyage(long id) { this.id = id; }
    //     public long getId() { return id; }
    //     public void setId(long id) { this.id = id; }
         public String getVesselName() { return vesselName; }
         public void setVesselName (String vesselName) { this.vesselName =
    vesselName; }
    The "id" attribute is commented.
    Now the questions...
    To use ClassSequenceFactory must the identity-type of my entities be
    application or datastore?
    Is the "objectid-class" parameter required in this case?
    As you see, all references to the "id" property are commented. Can I
    use this property to represent my object id?
    If not, how can I identify my object with something like a long?
    The last question is related to my architecture: one VM with the EJBs
    (entity and session) and another VM with the web classes and JSPs,
    connected by a session facade. I don't want to use any Kodo or JDO stuff
    in the web tier. Is this possible?
    Stephen Kim
    [email protected]
    SolarMetric, Inc.
    http://www.solarmetric.com

  • How can I see the information about a file used in a sequence?

    How can I see the information about a file used in a sequence?

    You can use pretty much any two or multiple button mouse on a Mac, right out of the box.
    I use this one: http://www.apple.com/mightymouse/

  • How do i trigger a button using keyboardstrokes

    hello,
    im trying to trigger my button using keyboard strokes. For example pressing ALT + S would trigger my addbutton.
    and like A would trigger my exit. I tried using some keylisteners to my Jbuttons but cant seem to get it to work.
    Am i heading in the right direction using keylisteners to try to activate my buttons or should i be using some else?
    Any tips on how to use keyboardstrikes to trigger my buttons would be much appreciated.
    this is some of my code. i excluded some parts such as my JLIST
    if you would rather see the whole code let me know
    public class Class
             public static void main(String[] args)
                 JFrame frame = new FutureValueFrame();
                 frame.setVisible(true);
         class FutureValueFrame extends JFrame
             public FutureValueFrame()
                 setTitle("Task assignment");
                 setResizable(false);
                 setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                 JPanel panel = new FutureValuePanel();
                 this.add(panel);
                 this.pack();
                 centerWindow(this);
             private void centerWindow(Window w)
                 Toolkit tk = Toolkit.getDefaultToolkit();
                 Dimension d = tk.getScreenSize();
                 setLocation((d.width-w.getWidth())/2, (d.height-w.getHeight())/2);
    class FutureValuePanel extends JPanel implements ActionListener,KeyListener
             private JButton   
                                 addButton,
                                 exitButton,
                                 assignButton,
                                 reportButton,
                                 deleteButton;
             public FutureValuePanel()
       JPanel comboBoxButtonPanel = new JPanel();
                 comboBoxButtonPanel.setLayout(new GridBagLayout());
    assignButton = new JButton("Assign");
                 addButton=new JButton("Add");
                 addButton.addActionListener(this);
                 addButton.addKeyListener(this);
                 comboBoxButtonPanel.add(addButton, getConstraints(0,4,1,1, GridBagConstraints.WEST));
                 exitButton=new JButton("Exit");
                 exitButton.addActionListener(this);
                 exitButton.addKeyListener(this);
                 comboBoxButtonPanel.add( exitButton, getConstraints(0,6,1,1, GridBagConstraints.WEST));
                 add(comboBoxButtonPanel,getConstraints(2,0,1,1, GridBagConstraints.WEST));
    private GridBagConstraints getConstraints(int gridx, int gridy,
             int gridwidth, int gridheight, int anchor)
                 GridBagConstraints c = new GridBagConstraints();
                 c.insets = new Insets(5, 5, 5, 5);
                 c.ipadx = 5;
                 c.gridx = gridx;
                 c.gridy = gridy;
                 c.gridwidth = gridwidth;
                 c.gridheight = gridheight;
                 c.anchor = anchor;
                 return c;
      public void actionPerformed(ActionEvent e)
                 Object source = e.getSource();
                 if (source == exitButton)
                     System.exit(0);
                 else if (source == addButton)
                      Object[] options = {"Employee",
                    "Project"};
                      int n = JOptionPane.showOptionDialog(null,
                                "Add a new Employee Project?",
                                "Add Record",
                                     JOptionPane.YES_NO_OPTION,
                                     JOptionPane.QUESTION_MESSAGE,
                                     null,    
                                     options, 
                                     options[0]);
                      if (n == JOptionPane.YES_OPTION)
                           String k;
                           k=  JOptionPane.showInputDialog("Enter the name of the employee(name cant be duplicated).");
                           JOptionPane.showMessageDialog(null,k+" has been sucessfully added");
                           employeeListModel.addElement(k);
                       if (n==JOptionPane.NO_OPTION)
                             String j;
                            j=  JOptionPane.showInputDialog("Enter the name of the project(name cant be duplicated).");
                            JOptionPane.showMessageDialog(null,j+" has been sucessfully added");
                            projectListModel.addElement(j);

    thank u so much. I put Mnemonics on nearly all my Jbuttons but when i press a key. It does not trigger the actionPerformed event.
    i changed my code to this
    i still have issues when pressing e the gui does not close.
    any tips on how to fix this?
    exitButton=new JButton("Exit");
                exitButton.setMnemonic(KeyEvent.VK_E);
                 exitButton.addActionListener(this);
             public void actionPerformed(ActionEvent e)
                 Object source = e.getSource();
                 if (source == exitButton)
                     System.exit(0);
                

  • Horizntal Gallery with Multiple viewable frames

    I want to have a section in the body of the website that scrolls left to right but has multiple image frames revealed at the same time.
    I'm trying to emulate something similar to this website:
    Cultural » Helix
    I know that you can create a slide show with one image that scrolls with a click-able button, is there a way to edit that widget to get closer to the look I'm going for?
    Thanks!

    A workaround:
    1 - set each gallery to be hidden from your primary gallery.
    2 - create an iWeb site with a welcome page to your galleries.
    3 - create a separate iWeb site for each user and password protect that site.
    4 - in each protected site add a blank page and use one of the methods in this demo page, iPhoto/MobileMe Galleries, to add the hidden sites you want that user to have access to. You won't be able to use the widget method however since the galleries will be hidden.
    5 - on your welcome page put a hyperlink for each user pointed to the protected site for that user.
    Granted it's a hassle but it's one way you can give particular users access to specific galleries. Being hidden a viewer cannot go to any other gallery.

Maybe you are looking for