Regarding swing package

hi Java Friends
iam Easu Babu.
how to write Actions for buttons using SWING package
regards.,
Easu

[http://java.sun.com/docs/books/tutorial/uiswing/components/button.html]

Similar Messages

  • Download swing package and plugin?

    Hi everybody!
    I have a question. Is there anyone who knows a nice place for downloading the javax.swing package only? Or maybe a place for finding nice swing plugins?
    Best regards and Thanks!
    jenny

    If you use Java 2 or higher, you do not need download Swing separately, because it's already included in Java 2.

  • Swing package

    I just downloaded JDK1.1.8. I tried using some methods from the swing package, so I can display output in a simple GUI.
    When I compiled the program, I got the following error:
    Welcome2.java:3: Package javax.swing not found in
    import.
    import javax.swing.*;
    ^
    1 error
    I'm not having this problem with other packages I try to import. Does anyone know why the compiler won't let me import the swing package?
    Thanks,
    RM

    I'm sorry, but that did not work. Swing doesn't come with 1.1.8.
    Did you download another component that claimed to be swing and install it? Did you adjust your classpath to include it? Until you do that then nothing you do in your java program will allow you to use it.

  • Missing classes from the javax.swing package?

    Can anyone throw any light on what appears to be a missing class from the javax.swing package?
    When CelsiusConverter.java from The Swing Tutorial (code fragment shown below) is compiled the JFrame class can't be found.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class CelsiusConverter implements ActionListener {
        JFrame converterFrame;Despite the package javax.swing being imported, the compiler does not seem to be be able to find the JFrame class.
    CelsiusConverter.java:14: Class JFrame not found in type declaration.
        JFrame converterFrame;To attempt to solve this issue all the files in jdk1.5.0_02\lib were added to CLASSPATH.
    CLASSPATH was set to C:\Program Files\Java\jdk1.5.0_02\lib\dt.jar;C:\Program Files\Java\jdk1.5.0_02\lib\htmlconverter.jar;C:\Program Files\Java\jdk1.5.0_02\lib\jconsole.jar;C:\Program Files\Java\jdk1.5.0_02\lib\tools.jar;C:\Program Files\Java\jdk1.5.0_02\lib;C:\Program Files\Java\jdk1.5.0_02\lib\ir.idl;C:\Program Files\Java\jdk1.5.0_02\lib\jawt.lib;C:\Program Files\Java\jdk1.5.0_02\lib\jvm.lib;C:\Program Files\Java\jdk1.5.0_02\lib\orb.idl;C:\Program Files\Java\jdk1.5.0_02\demo\jfc\SwingApplet\SwingApplet.jar;.;c:\CoreJavaBook

    This is extremely strange... If you're sure it's not a problem in your code or with your classpath, the only other thing I can think to suggest is re-downloading / installing java

  • Is the Swing Package in Java obsolete?

    hey guys,
    i'm just a newbie java enthusiast here and all the while i've been learning to manipulate data in minimal ways using the Swing package especially the JOptionPane class.
    is this class/package already obsolete? a person here in school told me so? well?

    Your friend probably confused it with AWT, -which was used for doing gui stuff back in the dark ages before Swing came along.
    Nowdays people use Swing instead of AWT for doing gui stuff in Java, so awt could in some ways be considered obsolete (except of course that Swing uses quite a bit of awt stuff behind the scenes!)
    If you dont use Swing what will you use for gui?

  • 1.Swing package in J2ME ? 2. Profile choice ?

    Is Swing package integrated in J2ME ?
    I actually search for tools in order to develop a java application for Sharp Zaurus.
    I heared talk about AWT which is completely integrated in Personal Profile but concerning Swing I don't know.
    What is the best choice between Personal Profile or PersonalJava to develop on such a device ?
    Thank You
    --::(Excuse my english...)::--

    Swiming is too heavy for J2ME, that's why so limited support for graphic/UI in J2ME/MIDP. However, you may have a look at LWT from Motorola which is a extension for MIDP to add more UI element such as check box etc. But I am not sure if it could be deployed in other non-MOto mobile like Nokia.
    use the lightweight AWT for PersonalJava environment if you have to finish something urgent. Though PersonalJava will be merged into PP in J2ME in the future, but it's much more mature than PP at this time. As well as too few mobileset support PP.
    Jeode(Insignia's implementation of PersonalJava) is the official partner for PPC device as initial installed on HP/Compaq iPAQ, Dell Axim as well as preinstalled on Zaurus from Sharp.
    best choice, at this time to me

  • NM7.1: Regarding Software Package Silent Installation Issue

    Dear Experts,
    I am working on NM7.1, & I tried of creating a Software Package which will include MI client installation, JRE, MaxDB, MCD all in one. For this I zipped MaxDB folder which I downloaded from SMP & uploaded it to NWA, created a software package from NWA 7.1, downloaded it & tried installing it. It executed properly.
    Now I wish to create a Software Package which can be installed in Silent mode.
    For this, I went through NM71 help documentation & maintained JRE components  Silent Command Line Parameter field value as - /qn ADDLOCAL=ALL IEXPLORER=1 INSTALLDIR=<Drive:>\java\jre.
    Other components like MaxDB doesn't allow to maintain this parameter field value in NWA, neither MCD nor SETUP_WIN32.
    So I downloaded this Software package & clicked on MassDeviceSetup_Silent.bat file for silent installation.
    It started of & installed JRE but later it didn't proceeded further. I kept it running for almost 2 days, but then too nothing happened further.
    I have attached the StandardMDSLog file at below link for your reference, please analyze it.
    http://www.4shared.com/file/258992320/317aef7c/StandardMDSLog.html
    I feel that I am missing something.
    Please guide me further....
    Thanks in advance.
    Regards,
    Saptak

    Hi Stephan,
    Thank you very much for your notes.
    This issue has already been fixed in AccAD 2.2.
    Best regards,
    Yael

  • Regarding /SMB40/ package

    Hi abapers,
    In development client i need to work on Purchase order print ,but in my client there is no /SMB40/ package ,
    i am not finding the corresponding smartform .
    how to download and access the /SMB40/ package.
    Regards,
    MOHD.

    Basic note is [Note 843193 - SAP Best Practices for Preconfigured SmartForms|https://service.sap.com/sap/support/notes/843193]
    - Check also [Note 852250 - updated /SMB40/ preconfigured form for 470 and 640|https://service.sap.com/sap/support/notes/852250] for an updated version in older versions.
    - For US and Canada, check [Note 968332 - SAP Best Practices Baseline Package (US) V1.600|https://service.sap.com/sap/support/notes/968332] or [Note 969524 - SAP Best Practices Baseline Package (CANADA) V1.600|https://service.sap.com/sap/support/notes/969524]
    For best practices informations check [SAP Best Practices Packages|http://service.sap.com/bestpractices]
    Regards,
    Raymond

  • Regarding support package

    hi everyone,
    what is the support package for bi 7.0 . plz tell me clearly
    thanks in advance.
    Regards,
    V.Vijay

    Check it in
    https://www.sdn.sap.com/irj/sdn/nw-bi?rid=/webcontent/uuid/c0994772-53d7-2a10-7eb3-a8cee3cf5c35
    Thanks
    Reddy

  • Documentation regarding dtsx packages

    Hi,
    Does there exist any documentation regarding the creation of dtsx packages.
    Apart from on the forum, we have been unable to locate any documentation regarding the creation of dtsx packages.
    We would like to know things such as what DataTransferMode and ProcessMode controls, and what the various tasks that you can use within dtsx packages are.
    We are using SAP BPC 7.0 SP6 on SQL Server 2005.  We plan to upgrade to BOPC 7.5 on SQL Server 2008 R2 next year.
    Regards,
    Mark

    Hi Mark,
    You can have a look at following link, where lots of How-to Guides are accessible:
    http://wiki.sdn.sap.com/wiki/display/BPX/EnterprisePerformanceManagement%28EPM%29How-to+Guides
    There is particularly one speaking about the creation of SSIS packages (for BPC 5.x and SQL 2005). But there is nothing really new in BPC 7.5 an SQL 2008, except that the dll used for BPC tasks are now called for example "OsoftTaskAdmin2008.dll" for SQL 2008, instead of "OsoftTaskAdmin.dll" for SQL 2005.
    Hope this information will help you.
    Kind Regards,
    Patrick

  • Querry regarding service packages

    hi
    1. what are service packages and process flow for creating service packages and assigning to operation.
    2.what is the difference between revision and task lists.
    regards
    pushpa

    hi pushpa
    first you have to create the service using AC03 and assing this service to Model serive spec in ML10 and specify this category as INST (plant maintenance), then you create the order and specify the control key which allowes the service, select the operation and in the operation tab in the bottom area you can find the service package and specify the model service spec. you created  so the predefined services will be copied to the order.
    Model service spec is used where you know the service provided perviously and the work is carried out frequently so that the process will be made easier,
    Revision
    Generally revision is used during any long stoppages or planned shut down only, so that they can able to track the orders created, amounts settled etc,
    you can create revision in OIOB
    Task list
    Task list also used where you perform a repeated operation in frequent manner so that data entering during creation of order will be less, you plan your activity,materials , person required everything in task list and assing this task list to the order while creation, you can also use this for maintenance planning.
    regards
    thyagarajan

  • Documentation Regarding Business Packages.

    Hi My name is Krishna,
    can anybody  provide the documentation about the Business Packages?

    Hi,
    Follow the links,
    http://help.sap.com/erp2005_ehp_02/helpdata/en/61/b9c042c1a1487c9abb924ae56893a3/frameset.htm
    http://help.sap.com/erp2005_ehp_02/helpdata/en/44/616a93af033672e10000000a114a6b/frameset.htm
    http://help.sap.com/erp2005_ehp_02/helpdata/en/57/0b6ff546614345a1af6d103a09397f/frameset.htm
    http://help.sap.com/erp2005_ehp_02/helpdata/en/43/9065e0d9f521a6e10000000a1553f6/frameset.htm
    For more infomation. Search in SDN.
    Regards
    Bala

  • Regarding Support packages

    Hi all,
    __What is the process to apply the support packages?__

    HI,
    For applying the Support pack in ABAP stack use - SPAM.
    For j2ee stack - SDM (for nw2004) and JSPM (>nw2004).
    Regards,
    Rohit Mehta
    KIndly provide me points if you satisfied with my answer.

  • Regarding with packages

    sir,
    I want to know all the packages regarding with the servlets.
    For Example, when I type javap java.lang.servlet
    intthe comand prompt It is giving error.
    Will U help me with the examples?

    http://java.sun.com/j2ee/1.4/docs/api/index.html

  • Clarification Regarding swings

    Can you suggest me why this exception is coming in Swings??
    java.lang.ArrayIndexOutOfBoundsException: 1
    at javax.swing.text.BoxView.layoutMajorAxis(Unknown Source)
    at javax.swing.text.BoxView.setSpanOnAxis(Unknown Source)
    at javax.swing.text.BoxView.layout(Unknown Source)
    at javax.swing.text.BoxView.setSize(Unknown Source)
    at javax.swing.text.WrappedPlainView.setSize(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI.getPreferredSize(Unknown Source)
    at javax.swing.plaf.basic.BasicTextAreaUI.getPreferredSize(Unknown Sourc
    e)
    at javax.swing.JComponent.getPreferredSize(Unknown Source)
    at javax.swing.JTextArea.getPreferredSize(Unknown Source)
    at javax.swing.ScrollPaneLayout.layoutContainer(Unknown Source)
    at java.awt.Container.layout(Unknown Source)
    at java.awt.Container.doLayout(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validate(Unknown Source)
    at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknow
    n Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at com.deceval.siidj.utilityclasses.ExceptionHandlingEventQueue.dispatch
    Event(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    ERROR - ExceptionHandlingEventQueue.dispatchEvent(?) | com.deceval.siidj.utility
    classes.ExceptionHandlingEventQueue@1082277
    java.lang.ArrayIndexOutOfBoundsException: 1
    at javax.swing.text.BoxView.layoutMajorAxis(Unknown Source)
    at javax.swing.text.BoxView.setSpanOnAxis(Unknown Source)
    at javax.swing.text.BoxView.layout(Unknown Source)
    at javax.swing.text.BoxView.setSize(Unknown Source)
    at javax.swing.text.WrappedPlainView.setSize(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI.getPreferredSize(Unknown Source)
    at javax.swing.plaf.basic.BasicTextAreaUI.getPreferredSize(Unknown Sourc
    e)
    at javax.swing.JComponent.getPreferredSize(Unknown Source)
    at javax.swing.JTextArea.getPreferredSize(Unknown Source)
    at javax.swing.ScrollPaneLayout.layoutContainer(Unknown Source)
    at java.awt.Container.layout(Unknown Source)
    at java.awt.Container.doLayout(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validate(Unknown Source)
    at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknow
    n Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at com.deceval.siidj.utilityclasses.ExceptionHandlingEventQueue.dispatch
    Event(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    Thank you Darryl.Burke for your quick response,
    I am attaching my code.I have done same thinng which you have assested me.But the problems still persist.Code is,.......
    package com.deceval.siidj.siidtareasautomaticas;
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.Insets;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.ItemEvent;
    import java.awt.event.ItemListener;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.rmi.RemoteException;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    import java.util.Timer;
    import java.util.TimerTask;
    import javax.swing.JButton;
    import javax.swing.JCheckBox;
    import javax.swing.JComponent;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JOptionPane;
    import javax.swing.JScrollPane;
    import javax.swing.JTextArea;
    import javax.swing.SwingConstants;
    import javax.swing.border.CompoundBorder;
    import javax.swing.border.EmptyBorder;
    import javax.swing.border.LineBorder;
    import org.apache.log4j.Logger;
    import com.deceval.siidj.securityentcmd.SecurityEntCmdConstants;
    import com.deceval.siidj.securityinterfaceobjects.NUMEROS_TABLASOBJ;
    import com.deceval.siidj.siidframework.CustomErrorException;
    import com.deceval.siidj.siidframework.FileObj;
    import com.deceval.siidj.siidframework.LOG_TRANSFERENCIAOBJ;
    import com.deceval.siidj.siidframework.ListElement;
    import com.deceval.siidj.siidframework.MailProcesosAutomaticosObj;
    import com.deceval.siidj.siidframework.SIIDExceptionUtil;
    import com.deceval.siidj.siidframework.SIIDFrameworkConstants;
    import com.deceval.siidj.siidframework.ServiceLocator;
    import com.deceval.siidj.siidresults.CmpLeerLogTransferencia_OutputParams;
    import com.deceval.siidj.siidresults.LeerNumeros_1_Tabla_OutputParams;
    import com.deceval.siidj.siidtareasautomaticas_client.ClaseBaseMasivoObj;
    import com.deceval.siidj.siidtareasautomaticas_client.TareasAutomaticasObj;
    import com.deceval.siidj.siidwinutilities.SIIDCommonWin;
    import com.deceval.siidj.siidwinutilities.SIIDWinUtilitiesConstants;
    import com.deceval.siidj.utilityclasses.FechaDomainConverter;
    import com.deceval.siidj.utilityclasses.IntegerConverter;
    import com.deceval.siidj.utilityclasses.MiniFramework;
    import com.deceval.siidj.utilityclasses.SIIDDateField;
    import com.deceval.siidj.utilityclasses.SIIDFileChooser;
    import com.deceval.siidj.utilityclasses.SIIDTextField;
    import com.deceval.siidj.utilityclasses.TextDataConverter;
    import com.gtl.ftoj.framework.DateFormat;
    import com.gtl.ftoj.framework.DateTimeData;
    import com.gtl.ftoj.framework.ForteFile;
    import com.gtl.ftoj.framework.TextData;
    import com.jgoodies.binding.adapter.BasicComponentFactory;
    import com.jgoodies.binding.value.ValueModel;
    import com.jgoodies.forms.builder.PanelBuilder;
    import com.jgoodies.forms.layout.CellConstraints;
    import com.jgoodies.forms.layout.FormLayout;
    * class OperacionBcoRepAutomaticoWin which extends SIIDCommonWin
    * @author GoldStone
    * @version 2.0
    public class OperacionBcoRepAutomaticoWin extends SIIDCommonWin {
         private static final long serialVersionUID = 1L;
         private CellConstraints cc = null;
         private static Logger mLog = Logger
                   .getLogger(OperacionBcoRepAutomaticoWin.class);
         private CTLOperacionBcoRepAutomaticoWin theCt;
         private JTextArea logEnvioTxtTa;
         private TareasAutomaticasObj TareasAutomaticasTIDISSvc;
         private ForteFile LocalFileSystem;
         private JButton btnOcultarBtn;
         private JButton btnBorrarLogBtn;
         private JButton brnGrabarLogBtn;
         private JButton btnTerminarProcesoBtn;
         private JComponent panel;
         private ArrayList<ForteFile> files;
         private Timer timer;
         * constructs a new <OperacionBcoRepAutomaticoWin> object
         public OperacionBcoRepAutomaticoWin() {
              super();
              cc = new CellConstraints();
              theCt = new CTLOperacionBcoRepAutomaticoWin();
              initialize();
              theCt.setHabilitado(false);
              theCt.setContador(60);
              theCt.setRunning(false);
              cargaConfiguracion();
              theCt.setOpcSecuencia(true);
              theCt.setOpcPrimeroSLuegoRs(true);
              theCt.setOpcOrdenGrabacion(false);
              theCt.setOpcSrecibido(true);
              TareasAutomaticasTIDISSvc = TareasAutomaticasObj.getInstance();
              mLog.info("Directorio Local");
              mLog.info(theCt.getDirectorioEntrada());
              mLog.info("Directorio Remoto");
              mLog.info(theCt.getDirectorioRemoto());
              try {
                   theCt.getFechaCambioDdf().setValue(theCt.setCurrentServerSO());
              } catch (RemoteException e) {
                   SIIDExceptionUtil.unwrap(e);
              for (int i = 0; i < theCt.getNumero_replicas(); i++) {
                   ClaseBaseMasivoObj item = new ClaseBaseMasivoObj();
                   theCt.getOpS().add(item);
                   theCt.getOpS().get(i).setTipoDeEstructura(14);
                   theCt.getOpS().get(i).estableceEstructurasAUsar();
              for (int i = 0; i < theCt.getNumero_replicas(); i++) {
                   ClaseBaseMasivoObj item = new ClaseBaseMasivoObj();
                   theCt.getOpR().add(item);
                   theCt.getOpR().get(i).setTipoDeEstructura(15);
                   theCt.getOpR().get(i).estableceEstructurasAUsar();
              window.addWindowListener(new WindowAdapter() {
                   public void windowClosing(WindowEvent e) {
                        if (JOptionPane.showConfirmDialog(getInstance(),
                                  screenLanguageCat.getMessageCatalogString("10003038"),
                                  "Question", JOptionPane.YES_NO_OPTION) == JOptionPane.YES_OPTION) {
                             theCt.setTERMINANDO(true);
                             theCt.setRunning(false);
                             timer.cancel();
                             window.dispose();
                        } else {
                             window.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
              window.setTitle(screenLanguageCat.getMessageCatalogString("10003246"));
         * To initialize the window
         private void initialize() {
              panel = this.buildPanel();
              logEnvioTxtTa.setEditable(false);
              btnOcultarBtn.setToolTipText(screenLanguageCat.getMessageCatalogString("10003041"));
              btnBorrarLogBtn.setToolTipText(screenLanguageCat.getMessageCatalogString("10003042"));
              brnGrabarLogBtn.setToolTipText(screenLanguageCat.getMessageCatalogString("10003043"));
              btnTerminarProcesoBtn.setToolTipText(screenLanguageCat.getMessageCatalogString("100092"));
         * Used to build the components on the TabbedPane
         * @return JComponent
         public JComponent buildPanel() {
              PanelBuilder operacionBursatilGrd = new PanelBuilder(new FormLayout(
                        "fill:pref:grow", "fill:pref:grow"));
              operacionBursatilGrd.add(logEnvioTxtPanel("fill:350dlu:grow",
                        createArea(true, 0, new Dimension(200, 200))), cc.xy(1, 1));
              return operacionBursatilGrd.getPanel();
         * Used to create the TextArea on the JScrollPane
         * @param lineWrap
         * boolean
         * @param columns
         * int
         * @param minimumSize
         * Dimension
         * @return JScrollPane
         private JScrollPane createArea(boolean lineWrap, int columns,
                   Dimension minimumSize) {
              ValueModel logEnvioTxtModel = theCt.getPresentModel().getBufferedModel("logEnvioTxt");
              TextDataConverter logEnvioTxtConv = new TextDataConverter(logEnvioTxtModel);
              logEnvioTxtTa = MiniFramework.getTextArea(logEnvioTxtConv);
              JScrollPane pane = new JScrollPane();
              pane.setViewportView(logEnvioTxtTa);
              pane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
              pane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
              logEnvioTxtTa.setBorder(new CompoundBorder(new LineBorder(Color.GRAY),
                        new EmptyBorder(1, 3, 1, 1)));
              logEnvioTxtTa.setLineWrap(lineWrap);
              logEnvioTxtTa.setWrapStyleWord(true);
              logEnvioTxtTa.setColumns(columns);
              if (minimumSize != null) {
                   logEnvioTxtTa.setMinimumSize(new Dimension(150, 200));
              return pane;
         * Used to build the components on the logEnvioTxtPanel
         * @param columnSpec
         * String
         * @param area
         * JScrollPane
         * @return JComponent
         private JComponent logEnvioTxtPanel(String columnSpec, JScrollPane area) {
              FormLayout layout = new FormLayout(columnSpec,
                        "pref,pref,pref,fill:150dlu:grow,2dlu,pref");
              PanelBuilder builder = new PanelBuilder(layout);
              builder.setDefaultDialogBorder();
              builder.add(fechaCodigoPlazaPnl(), cc.xy(1, 2));
              builder.add(area, cc.xy(1, 4));
              builder.add(btnOcultarPanel(), cc.xy(1, 6, "center,center"));
              return builder.getPanel();
         * Used to build the components on the fechaCodigoPlazaPnl
         * @return JComponent
         private JComponent fechaCodigoPlazaPnl() {
              PanelBuilder CodigoPlazaGrd = new PanelBuilder(new FormLayout(
                        "pref,pref", "pref"));
              CodigoPlazaGrd.add(fechaCambioGrfPanel(), cc.xy(1, 1, "center,top"));
              CodigoPlazaGrd.add(codigoPlazaGrdPanel(), cc.xy(2, 1));
              return CodigoPlazaGrd.getPanel();
         * Used to add the components on the fechaCambioGrfPanel
         * @return JComponent
         private JComponent fechaCambioGrfPanel() {
              FormLayout formLayout = new FormLayout("2dlu,pref,2dlu,60dlu",
                        "pref,2dlu,pref,2dlu,pref");
              PanelBuilder fechaCambioGrfPnl = new PanelBuilder(formLayout);
              JLabel fechaCambioTxgLbl = MiniFramework.getLabel(screenLanguageCat
                        .getMessageCatalogString("1000166"));
              ValueModel fechaCambioDdfModel = theCt.getPresentModel()
                        .getBufferedModel("fechaCambioDdf");
              FechaDomainConverter fechaCambioDdfConv = new FechaDomainConverter(
                        fechaCambioDdfModel);
              SIIDDateField fechaCambioDdfTf = new SIIDDateField(fechaCambioDdfConv);
              setWidgetState(fechaCambioDdfTf, FS_DISABLED);
              JLabel numero_replicasLbl = MiniFramework.getLabel(screenLanguageCat
                        .getMessageCatalogString("10003044"));
              ValueModel numero_replicasModel = theCt.getPresentModel()
                        .getBufferedModel("numero_replicas");
              IntegerConverter numero_replicasConv = new IntegerConverter(
                        numero_replicasModel);
              SIIDTextField numero_replicasTf = MiniFramework
                        .getNumericTextField(numero_replicasConv);
              numero_replicasTf.setHorizontalAlignment(SwingConstants.RIGHT);
              setWidgetState(numero_replicasTf, FS_DISABLED);
              fechaCambioGrfPnl.add(fechaCambioTxgLbl, cc.xy(2, 1));
              fechaCambioGrfPnl.add(fechaCambioDdfTf, cc.xy(4, 1));
              fechaCambioGrfPnl.add(numero_replicasLbl, cc.xy(2, 3));
              fechaCambioGrfPnl.add(numero_replicasTf, cc.xy(4, 3));
              ValueModel verultimalineaModel = theCt.getPresentModel()
                        .getBufferedModel("verUltimaLinea");
              JCheckBox verultimalineaChb = BasicComponentFactory.createCheckBox(
                        verultimalineaModel, screenLanguageCat
                                  .getMessageCatalogString("10003239"));
              verultimalineaChb.addItemListener(new ItemListener() {
                   public void itemStateChanged(ItemEvent ie) {
                        theCt.getTrigger().triggerCommit();
                        if (theCt.isVerUltimaLinea()) {
                             logEnvioTxtTa.setCaretPosition(logEnvioTxtTa.getText()
                                       .length());
              fechaCambioGrfPnl.add(verultimalineaChb, cc.xyw(2, 5, 3));
              return fechaCambioGrfPnl.getPanel();
         * It adds the components to the panel
         * @return JComponent
         private JComponent codigoPlazaGrdPanel() {
              FormLayout formlayout = new FormLayout("pref", "pref,pref,pref,pref");
              PanelBuilder fechadeProcesoPnl = new PanelBuilder(formlayout);
              ValueModel opcOrdenGrabacionModel = theCt.getPresentModel()
                        .getBufferedModel("opcOrdenGrabacion");
              JCheckBox opcOrdenGrabacionChb = BasicComponentFactory.createCheckBox(
                        opcOrdenGrabacionModel, screenLanguageCat
                                  .getMessageCatalogString("10003247"));
              opcOrdenGrabacionChb.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent ae) {
                        theCt.getTrigger().triggerCommit();
                        enviaMensajeCorreo(SIIDFrameworkConstants.EVTBANREP_CAMBIACONFIGURACION,
                                  new TextData("CAMBIA configuraci�n por orden de grabacion modificado, nuevo valor: ")
                                            .concat(theCt.isOpcOrdenGrabacion()));
              ValueModel opcPrimeroSLuegoRsModel = theCt.getPresentModel().getBufferedModel("opcPrimeroSLuegoRs");
              JCheckBox opcPrimeroSLuegoRsChb = BasicComponentFactory.createCheckBox(
                        opcPrimeroSLuegoRsModel, screenLanguageCat
                                  .getMessageCatalogString("10003248"));
              opcPrimeroSLuegoRsChb.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent ae) {
                        theCt.getTrigger().triggerCommit();
                        enviaMensajeCorreo(SIIDFrameworkConstants.EVTBANREP_CAMBIACONFIGURACION,
                                  new TextData("CAMBIA configuraci�n primero S luego R modificado, nuevo valor: ")
                                            .concat(theCt.isOpcPrimeroSLuegoRs()));
              ValueModel opcSecuenciaModel = theCt.getPresentModel()
                        .getBufferedModel("opcSecuencia");
              JCheckBox opcSecuenciaChb = BasicComponentFactory.createCheckBox(
                        opcSecuenciaModel, screenLanguageCat
                                  .getMessageCatalogString("10003249"));
              opcSecuenciaChb.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent ae) {
                        theCt.getTrigger().triggerCommit();
                        enviaMensajeCorreo(
                                  SIIDFrameworkConstants.EVTBANREP_CAMBIACONFIGURACION,
                                  new TextData(
                                            "CAMBIA configuraci�n por orden de secuencia, nuevo valor:")
                                            .concat(theCt.isOpcSecuencia()));
              ValueModel opcSrecibidoModel = theCt.getPresentModel()
                        .getBufferedModel("opcSrecibido");
              JCheckBox opcSrecibidoChb = BasicComponentFactory.createCheckBox(
                        opcSrecibidoModel, screenLanguageCat
                                  .getMessageCatalogString("10003250"));
              opcSrecibidoChb.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent ae) {
                        theCt.getTrigger().triggerCommit();
                        enviaMensajeCorreo(
                                  SIIDFrameworkConstants.EVTBANREP_CAMBIACONFIGURACION,
                                  new TextData(
                                            "CAMBIA configuraci�n esperar S de un E enviado, nuevo valor:")
                                            .concat(theCt.isOpcSrecibido()));
              fechadeProcesoPnl.add(opcOrdenGrabacionChb, cc.xy(1, 1));
              fechadeProcesoPnl.add(opcPrimeroSLuegoRsChb, cc.xy(1, 2));
              fechadeProcesoPnl.add(opcSecuenciaChb, cc.xy(1, 3));
              fechadeProcesoPnl.add(opcSrecibidoChb, cc.xy(1, 4));
              return fechadeProcesoPnl.getPanel();
         * It adds the buttons to the panel
         * @return JComponent
         private JComponent btnOcultarPanel() {
              FormLayout form3 = new FormLayout(
                        "2dlu,pref,2dlu,pref,2dlu,pref,2dlu,pref,2dlu",
                        "3dlu,pref,3dlu");
              PanelBuilder btnOcultarPnl = new PanelBuilder(form3);
              btnOcultarBtn = MiniFramework.getButton(screenLanguageCat
                        .getMessageCatalogString("10003240"));
              btnOcultarBtn.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent ae) {
                        window.setVisible(false);
                        close();
              btnBorrarLogBtn = MiniFramework.getButton(screenLanguageCat
                        .getMessageCatalogString("10003241"));
              btnBorrarLogBtn.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent ae) {
                        if (theCt.getLogEnvioTxt().getActualSize() == 0) {
                             // continue;
                        borrarLog();
              btnTerminarProcesoBtn = MiniFramework.getButton(screenLanguageCat
                        .getMessageCatalogString("10003242"));
              btnTerminarProcesoBtn.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent ae) {
                        if (JOptionPane.showConfirmDialog(getInstance(),
                                  screenLanguageCat.getMessageCatalogString("10003038"),
                                  "Question", JOptionPane.YES_NO_OPTION,
                                  JOptionPane.QUESTION_MESSAGE) == JOptionPane.YES_OPTION) {
                             theCt.setTERMINANDO(true);
                             theCt.setRunning(false);
                             timer.cancel();
                             window.dispose();
              brnGrabarLogBtn = MiniFramework.getButton(screenLanguageCat
                        .getMessageCatalogString("10003243"));
              brnGrabarLogBtn.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent ae) {
                        grabarLog();
              btnTerminarProcesoBtn.setMargin(new Insets(1, 4, 1, 4));
              btnOcultarPnl.add(btnOcultarBtn, cc.xy(2, 2));
              btnOcultarPnl.add(btnBorrarLogBtn, cc.xy(4, 2));
              btnOcultarPnl.add(brnGrabarLogBtn, cc.xy(6, 2));
              btnOcultarPnl.add(btnTerminarProcesoBtn, cc.xy(8, 2));
              return btnOcultarPnl.getPanel();
         * Method addLog
         * @param str
         * Textdata
         public void addLog(TextData str) {
              addLog(str, true, 0);
         * Method addLog
         * @param str
         * TextData
         * @param confecha
         * boolean
         public void addLog(TextData str, boolean confecha) {
              addLog(str, confecha, 0);
         * Method addLog
         * @param str
         * TextData
         * @param confecha
         * boolean
         * @param hilo
         * int
         public void addLog(TextData str, boolean confecha, int hilo) {
              // TODO topline = <logEnvioTxt>.topline ;
              // theCt.setTopline(logEnvioTxtTa.topline);
              if (hilo > 0) {
                   theCt.getLogEnvioTxt().concat("(");
                   theCt.getLogEnvioTxt().concat(hilo);
                   theCt.getLogEnvioTxt().concat(")");
              if (confecha) {
                   theCt.getLogEnvioTxt().concat(theCt.getNow().setCurrent());
                   theCt.getLogEnvioTxt().concat(":");
              theCt.getLogEnvioTxt().concat(str);
              theCt.getLogEnvioTxt().concat(System.getProperty("line.separator"));
              theCt.setLogEnvioTxt(theCt.getLogEnvioTxt());
              //theCt.getPresentModel().setBean(null);
              theCt.getPresentModel().setBean(theCt);
              hastaLaUltimaLinea();
              // EJBHelper ejbHelper = new EJBHelper();
              // Please copy this Helper class to the current directory
              // ejbHelper.publishNews("hastaLaUltimaLinea","");
         * until It completes Line
         public void hastaLaUltimaLinea() {
              if (theCt.isVerUltimaLinea()) {
                   // logEnvioTxtTa.setSelectionStart(logEnvioTxtTa.getText().length());
                   logEnvioTxtTa.setCaretPosition(logEnvioTxtTa.getText().length());
              } else {
                   // logEnvioTxtTa.setCaretPosition(logEnvioTxtTa);
                   // logEnvioTxtTa.setSelectionStart(logEnvioTxtTa.getText().length());
         * To erase LoG
         public void borrarLog() {
              int resp = JOptionPane.showConfirmDialog(getInstance(),
                        screenLanguageCat.getMessageCatalogString("10003039"),
                        "Question", JOptionPane.YES_NO_OPTION);
              if (resp == JOptionPane.YES_OPTION) {
                   theCt.getLogEnvioTxt().clear();
              theCt.getPresentModel().setBean(null);
              theCt.getPresentModel().setBean(theCt);
         * Method getInstance
         * @return <OperacionBcoRepAutomaticoWin>
         public OperacionBcoRepAutomaticoWin getInstance() {
              return this;
         * load Configuration
         public void cargaConfiguracion() {
              theCt.setDirectorioEntrada("c:\\BVC\\entrada");
              theCt.setDirectorioNoProcesados("c:\\BVC\\noprocesados");
              theCt.setDirectorioProcesados("c:\\BVC\\procesados");
              theCt.setDirectorioSalida("c:\\BVC\\salida");
              theCt.setDirectorioTemporal("c:\\BVC\\temporal");
              InetAddress localhost = null;
              try {
                   localhost = InetAddress.getLocalHost();
              } catch (UnknownHostException e) {
                   mLog.info(e.getMessage(), e);
              try {
                   List temp = null;
                   temp = theCt
                             .operacionBcoRepAutomaticoWin_runSql(
                                       theCt.SecurityClientSvc.LoginUser.getUserLogin()
                                                 .trim(), localhost.getHostName()
                                                 .toUpperCase(),
                                       theCt.SecurityClientSvc.LoginUser
                                                 .getUserProfileId().trim());
                   if (temp != null) {
                        if (temp.size() == 1) {
                             Map returnRow = (Map) temp.get(0);
                             theCt.setDirectorioEntrada(String.valueOf(returnRow
                                       .get("carpeta_entrada")));
                             theCt.setDirectorioSalida(String.valueOf(returnRow
                                       .get("carpeta_salida")));
                             theCt.setDirectorioTemporal(String.valueOf(returnRow
                                       .get("carpeta_temporal")));
                             theCt.setDirectorioProcesados(String.valueOf(returnRow
                                       .get("carpeta_procesados")));
                             theCt.setDirectorioNoProcesados(String.valueOf(returnRow
                                       .get("carpeta_no_procesados")));
                             theCt.setNumero_replicas(Integer.parseInt(returnRow.get(
                                       "numero_replicas").toString()));
                             theCt.setHabilitado(true);
              } catch (Exception e) {
                   mLog
                             .info(screenLanguageCat.getMessageCatalogString("10006723"));
                   mLog.info(e.getMessage());
                   JOptionPane.showMessageDialog(getInstance(), new TextData(
                             screenLanguageCat.getMessageCatalogString("1003937")
                                       .concat(e.getMessage())));
                   if (theCt.pAlErrors != null && theCt.pAlErrors.size() > 0) {
                        theCt.pAlErrors.remove(0);
         * the data base the bags
         * @return ArrayList<ListElement>
         public ArrayList<ListElement> cargaDropBolsas() {
              // Jos� Miguel de Priego
              // Agosto 03, 2004
              // Se lee desde la base de datos las bolsas
              ArrayList<NUMEROS_TABLASOBJ> arreglo_bolsas = new ArrayList<NUMEROS_TABLASOBJ>();
              int wnumero_filas_afectadas = 0;
              ArrayList<NUMEROS_TABLASOBJ> arreglo_numeros = null;
              try {
                   LeerNumeros_1_Tabla_OutputParams obj = null;
                   obj = theCt.listadeNumeros1TablaSO(46, wnumero_filas_afectadas);
                   arreglo_numeros = obj.retVal;
                   wnumero_filas_afectadas = obj.prows;
              } catch (RemoteException e) {
                   SIIDExceptionUtil.unwrap(e);
              ArrayList<ListElement> dropBolsas = null;
              if (arreglo_numeros != null) {
                   NUMEROS_TABLASOBJ i = new NUMEROS_TABLASOBJ();
                   int size = 0;
                   if (arreglo_numeros != null) {
                        size = arreglo_numeros.size();
                   for (int j = 0; j < size; j++) {
                        i = (NUMEROS_TABLASOBJ) arreglo_numeros.get(j);
                        // si es 1 es bolsa, o tiene como mecanismo bursatil
                        if (((i.getIndicador_4() == 1) && ("OK".equals(i
                                  .getIndicador_1())))
                                  || (i.getCodigo_numerico() == 0)) {
                             arreglo_bolsas.add(i);
                   dropBolsas = theCt.getToolSO().deNumParametrosAListElement(
                             arreglo_bolsas);
                   if (dropBolsas != null) {
                        for (ListElement each : dropBolsas) {
                             // task.part.logMgr.PutLine( TextData("-> ").concat(
                             // each.integerValue).concat( " -> ").concat( each.textvalue
                   arreglo_bolsas = null;
                   arreglo_numeros = null;
              return dropBolsas;
         * It consults Encripcion Parameter
         public void consultaParametroEncripcion() {
              // MFBI-JUNIO-4-1-2:2005/06/21 Metodo nuevo
              try {
                   theCt.setParametroEncripcion("S");
                   theCt.setParametroEncripcion(theCt.operacionBcoRepAutomaticoWin_runSql1());
              } catch (Exception e) {
                   addLog(new TextData(screenLanguageCat.getMessageCatalogString("10006724")));
                   addLog(new TextData(e.getMessage()));
                   if (theCt.pAlErrors != null && theCt.pAlErrors.size() > 0) {
                        theCt.pAlErrors.remove(0);
         * Method copy
         * @param proceso
         * String
         * @param NombreArchivo
         * String
         * @param replica
         * String
         * @return String
         public String copiar2(String proceso, String NombreArchivo, int replica) {
              // Jose Miguel de Priego Julio 09, 2004
              // Se agrega la variable es encriptada para
              // manejo de archivos encriptados
              boolean esEncriptada = false;
              TextData nombreDirectorioArchivoDdf = new TextData(NombreArchivo);
              if (nombreDirectorioArchivoDdf.moveToString(
                        SecurityEntCmdConstants.FILE_SECURE_EXTENSION, true)) {
                   if (nombreDirectorioArchivoDdf.getOffset() == nombreDirectorioArchivoDdf
                             .getActualSize()) {
                        esEncriptada = true;
              nombreDirectorioArchivoDdf.setOffset(0);
              try {
                   if (!esEncriptada) {
                        ejecutarCopia(NombreArchivo, replica);
                   } else {
                        String dir = theCt.defineDirectorioRemotoSO();
                        ForteFile f = new ForteFile();
                        f.setLocalName(nombreDirectorioArchivoDdf.getValue());
                        TextData fn = f.getLocalName();
                        if (fn.moveToLastChar("/")) {
                             fn.cutRange(0, fn.getOffset() + 1);
                        //TODO for verifying impact Prashanth 01/08/2008
                        return SIIDWinUtilitiesConstants.Empty_String;/*ServiceLocator.getInstance().getEntCmdServicesSO().moveDecriptedFile(proceso,
                                  fn.getValue(), dir);*/// temp
              } catch (Exception e) {
                   // TODO if(e.getreasonCode == OS_FE_FILEEXISTENCE ){
                   addLog(new TextData("Error Archivo no existe .."), true, replica);
                   addLog(new TextData(e.getMessage()), true, replica);
                   if (theCt.pAlErrors != null && theCt.pAlErrors.size() > 0) {
                        theCt.pAlErrors.remove(0);
              return SIIDWinUtilitiesConstants.Empty_String;
         * To display the current window
         public void display() {
              theCt.setTERMINANDO(false);
              // Recuperacion archivos E
              theCt.setProcesoA(false);
              // Envio de Archios S, R
              theCt.setProcesoB(false);
              theCt.setRunning(false);
              int delay = 0;
              int period = 1000;
              timer = new Timer();
              timer.scheduleAtFixedRate(new TimerTask() {
                   public void run() {
                        if (theCt.getContador() % 30 == 0) {
                             theCt.setContador(0);
                        // Cada 2 minutos va el proceso de recuperacion de archivos E
                        // Cada 30 segundos va el proceso de envio de archivos R,S
                        if (theCt.getContador() == 0) {
                             if (!theCt.isProcesoA()) {
                                  new Thread(){
                                       public void run() {
                                            recuperaOtrosArchivos(1);
                                  }.start();
                        if (theCt.getContador() % 10 == 0){
                             theCt.getPresentModel().setBean(null);
                             theCt.getPresentModel().setBean(theCt);
                        if (theCt.getContador() % 30 == 15) {
                             if (!theCt.isProcesoB()) {     
                                  new Thread(){
                                       public void run() {
                                            preprocesa(1);
                                  }.start();
                        theCt.setContador(theCt.getContador() + 1);
              }, delay, period);
              open(panel);
         * To execute Copy
         * @param pArchivo
         * String
         * @param replica
         * int
         * @return boolean
         public boolean ejecutarCopia(String pArchivo, int replica) {
              LocalFileSystem = new ForteFile();
              // RemotoFileSystem : FileSystem = ServidorTareaSO.CreaProxy();
              // localFileSystem.SetRemoteFS(remotoFileSystem);
              // remotoFileSystem.SetRemoteFS(localFileSystem);
              TextData remoteFile = null;
              try {
                   remoteFile = theCt.getServidorTarea().estableceDirectorio(
                             SIIDFrameworkConstants.DIR_APLIC_CLIENTE,
                             theCt.SecurityClientSvc.LoginUser.getUserPath(),
                             theCt.pAppContext, theCt.pAlErrors);
              } catch (RemoteException e) {
                   SIIDExceptionUtil.unwrap(e);
              if (remoteFile != null) {
                   theCt.setDirectorioRemoto(remoteFile.getValue());
              TextData directorioRemoto = null;
              try {
                   directorioRemoto = new TextData(theCt.defineDirectorioRemotoSO());
              } catch (RemoteException e1) {
                   SIIDExceptionUtil.unwrap(e1);
              int NroCar = theCt.getToolSO().lenStr(directorioRemoto.getValue());
              NroCar = NroCar - 1;
              directorioRemoto = new TextData(theCt.getToolSO().subStr(
                        directorioRemoto.getValue(), 1, NroCar));
              // localFileSystem.SetLocalDir( theCt.getDirectorioEntrada() );
              // localFileSystem.SetRemoteDir( directorioRemoto );
              ArrayList<TextData> ListaArchivos = new ArrayList<TextData>();
              try {
                   while (true) {
                        ListaArchivos.clear();
                        ListaArchivos.add(new TextData(pArchivo));
                        File srcPath = new File(LocalFileSystem.getPortableName(true,false).getValue());
                        try {
                             copyFile(srcPath);
                        } catch (IOException e) {
                             mLog.error(e.getMessage(), e);
                        LocalFileSystem = null;
                        // RemotoFileSystem = null;
                        ListaArchivos = null;
                        return true;
              } catch (Exception e) {
                   addLog(new TextData("*EjecutarCopia: ").concat(e.getMessage()),
                             true, replica);
                   if (theCt.pAlErrors != null && theCt.pAlErrors.size() > 0) {
                        theCt.pAlErrors.remove(0);
                   // // return false;
                   nsegundos(5);
              return true;
         * It establishes the directories on who he worked
         * @param srcPath
         * File
         * @throws IOException
         @SuppressWarnings( { "unused", "unchecked" })
         public void copyFile(File srcPath) throws IOException {
              ArrayList fileList = new ArrayList();
              InputStream in = null;
              try {
                   if (srcPath.isDirectory()) {
                        String[] files = srcPath.list();
                        for (int i = 0; i < files.length; i++) {
                             FileObj fObj = new FileObj();
                             File pFile = new File(srcPath, files);
                             in = new FileInputStream(pFile);
                             int size = (int) pFile.length();
                             byte[] buf = new byte[size];
                             int len = 0;
                             while ((len = in.read(buf)) > 0) {
                                  fObj.setName(files[i]);
                                  fObj.setContent(buf);
                                  fileList.add(fObj);
                             in.close();
                        theCt.pushFiles(fileList, theCt.getDirectorioRemoto());
                   } else {
                        if (!srcPath.exists()) {
                             mLog.info("File or directory does not exist.");
                        if (srcPath.isFile()) {
                             in = new FileInputStream(srcPath);
                             int size = (int) srcPath.length();
                             byte[] buf = new byte[size];
                             int len;
                             FileObj fObj = new FileObj();
                             while ((len = in.read(buf)) > 0) {
                                  fObj.setName(srcPath.getName());
                                  fObj.setContent(buf);
                                  fileList.add(fObj);
                             in.close();
                             theCt.pushFiles(fileList, theCt.getDirectorioRemoto());
              } catch (Exception e) {
                   mLog.error(e);
              } finally {
                   in.close();
         * It sends Message Mail
         * @param evento
         * int
         * @param obs
         * TextData
         public void enviaMensajeCorreo(int evento, TextData obs) {
              try {
                   if (theCt.getEnvios() == null || theCt.getEnvios().size() == 0) {
                        theCt.setEnvios(TareasAutomaticasTIDISSvc.a_ObtieneParametrosCorreo(2, theCt.pAppContext,theCt.pAlErrors));
              } catch (Exception e) {
                   addLog(new TextData("enviamensajecorreo(1): ").concat(e.getMessage()));
                   if (theCt.pAlErrors != null && theCt.pAlErrors.size() > 0) {
                        theCt.pAlErrors.remove(0);
                   theCt.setEnvios(null);
              if (theCt.getEnvios() == null) {
                   return;
              MailProcesosAutomaticosObj each = null;
              int size = 0;
              if (theCt.getEnvios() != null) {
                   size = theCt.getEnvios().size();
              for (int i = 0; i < size; i++) {
                   each = (MailProcesosAutomaticosObj) theCt.getEnvios().get(i);
                   if ((each.getEstado() == 1) && (each.getEvento() == evento)) {
                        try {
                             each.setMensaje(obs.getTextValue().getValue());
                             TareasAutomaticasTIDISSvc.a_EnviaMensajeCorreo(each);
                        } catch (Exception e) {
                             addLog(new TextData("enviamensajecorreo(2): ").concat(e
                                       .getMessage()));
                             if (theCt.pAlErrors != null && theCt.pAlErrors.size

Maybe you are looking for

  • Group chat invitations with jabber

    We've got an internal jabber server (Jive Messenger 2.2) set up with several accounts. We can connect to the server with iChat no problem and talk to each other 1-on-1. But if we try to set up a group chat (Invite to chat...), we don't get/see the in

  • Open external portal link in same window ?

    Hello ! I've got 2 different WDP applications (different controllers) in the same Portal environment. I want to call the second one's url from the first. Here's the code I'm using: IWDWindow window = wdComponentAPI.getWindowManager().createNonModalEx

  • Got an error when applying oil paint filter

    I'm using Photoshop CS6 on a PC. When I tried to apply the oil pain filter, I got an error message saying "The filter you were using encountered an unknown graphics processor error that caused an unexpected exit. Check the manufacturer's website for

  • Each time I open a site, the site exceeds the screen size until I manually zoom out. How do I fix this permanently?

    For no apparent reason recently, when I open a website with Firefox, the site's homepage or any other visual exceeds the screen size of my monitor. It did not previously do that and I have not intentionally or knowingly changed any settings. I can cl

  • Essbase Contract Opportunity - London, UK

    Hi Guys, I am looking for an Essbase OLAP Information Analyst/Developer for a contract role with a major Global client to be based in London. This short term two month requirement is for a contractor to come in and design, develop and test Essbase an