Create new JButton by pressing on existing JButton

Hi all,
I am trying to create a code which allows the users to create JButtons to a an existing frame.
So what I want is that users can create buttons wihch opens a URL. The user need to be able to click on an Existing JButton called "Add Favorite", insert the name of the favorite and URL and the button is added with the functionality to open the URL in Internet Explorer.
I already have a beginning but have no clue how to add that functionaly to create JButton by pressing on button "Add Favorites" with the needed functionality
The functionality needes to be added to Button4 ("add Favorite" ). As you can see, Button4 ("add Favorite") opens two inputShowDialog which allows the users to insert the name of the favorite and URL.
Thanks in advance.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.JButton.*;
import java.awt.Dimension.*;
import java.lang.RuntimeException.*;
import javax.swing.JOptionPane;
public class Favorites extends JFrame implements ActionListener{
//private JPanel panel1 = new Jpanel ("Add Favorite");
private JButton button1 = new JButton ("Google");
private JButton button2 = new JButton ("Tweakers");
private JButton button3 = new JButton ("Hardware.info");
private JButton button4 = new JButton ("Add Favorite");
public Favorites (){createGUI();}public static void main (String[] args) {
Favorites frame = new Favorites ();
frame.setVisible(true);
frame.setSize(150,300);
frame.setLocation(200,0);
frame.setLocation(1750,300);
private void createGUI () {
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Container window = getContentPane();
window.setLayout (new FlowLayout ());
button1 = new JButton ("Google");
add(button1);button1.addActionListener(this);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
window.setLayout (new FlowLayout ());
button2 = new JButton ("Tweakers");
add(button2);button2.addActionListener(this);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
window.setLayout (new FlowLayout ());
button3 = new JButton ("Hardware.info");
add(button3);button3.addActionListener(this);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
window.setLayout (new FlowLayout ());
button4 = new JButton ("Add Favorite");
add(button4);button4.addActionListener(this);
public void actionPerformed(java.awt.event.ActionEvent event) {
if (event.getSource() == button1) { 
try
{Runtime r = Runtime.getRuntime();
         r.exec("cmd /c start iexplore.exe www.google.nl");
catch(Exception e) {}
if (event.getSource() == button2) { 
try
{Runtime r = Runtime.getRuntime();
         r.exec("cmd /c start iexplore.exe www.tweakers.net");
catch(Exception e) {}
if (event.getSource() == button3) { 
try
{Runtime r = Runtime.getRuntime();
         r.exec("cmd /c start iexplore.exe www.hardware.info");
catch(Exception e) {}
if (event.getSource() == button4) { 
try
int Favorite;
String FavoriteString;
FavoriteString = JOptionPane.showInputDialog ("Give name Favorite");
int Link;
String LinkString;
LinkString = JOptionPane.showInputDialog ("Insert link");
catch(Exception e) {}
}

Welcome to the forum.
please enclose you code examples in -tags for better readability.
1009324 wrote:
The functionality needes to be added to Button4 ("add Favorite" ).So why do you name it <tt>Button4</tt> and not <tt>addFavorite</tt>?
As you can see, Button4 ("add Favorite") opens two inputShowDialog which allows the users to insert the name of the favorite and URL.
Do you see that the code for createing an URL-button looks exactly same accept the actual URL?
1. Change the code so that the URL is assigned to a variable first. (You IDE meight have a refactoring "exctact local variable".
2. Move this variable assignment before the complete button creation code.
3. Select all the lines excluding the new variable assignment and the line that adds the button to the Container.
4. use the "extract method" refactoring of your IDE.
now you have a method you can call when ever you need to create a new URL-button.
bye
TPD                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Create new user same as a existing roles and Privileges

    Hi Team,
    I am a junior DBA. New user Joined in Application team. So, Client requested me.....
    Crerate new user with same privileges as like as existing user.
    As of now i am creating user like "create user username identified by "password". Then grant privileges to that user. earliar I never comapare or copied users.
    Please suggest any one how to create new user as like as existing user roles and privileges.
    Thanks,
    Venkat

    For basic cloning:
    select dbms_metadata.get_ddl('USER', '...') FROM DUAL;
    SELECT DBMS_METADATA.GET_GRANTED_DDL('ROLE_GRANT','...') FROM DUAL;
    SELECT DBMS_METADATA.GET_GRANTED_DDL('SYSTEM_GRANT','...') FROM DUAL;
    SELECT DBMS_METADATA.GET_GRANTED_DDL('OBJECT_GRANT','...') FROM DUAL;
    SELECT DBMS_METADATA.GET_granted_DDL(‘TABLESPACE_QUOTA’, ‘...’) FROM dual;
    Then just replace the username with the new one you want to create.

  • Creating new graphics object from a existing one and sending it for print

    Hello,
    i have a graphics object which is big in size, I am creating a new graphics object from the existing one as given below
    //map is a graphic object
    Graphic g1 = (Graphic)map.create(x,y,width,height);
    Graphic g2 = (Graphic)map.create(x,y,width1,height1);
    Graphic g3 = (Graphic)map.create(x,y,width2,height2);
    arrayList.add(g1);
    arrayList.add(g2);
    arrayList.add(g3);
    Now I want to send the graphic object g1,g2,g3 for print in the method
    public int print (Graphics g, PageFormat pf, int idx) throws PrinterException {
    // Printable's method implementation
    if (curPageFormat != pf) {
    curPageFormat = pf;
    pages = repaginate (pf);
    if (idx >= 3)) {
    return Printable.NO_SUCH_PAGE;
    g = (Graphics) arrayList.get(idx);
    return Printable.PAGE_EXISTS;
    This is not working... what is wrong. can anybody suggest..
    I tried standardprint.java to print a object inside a scrollpane, it is not printing the entire diagram. so I am thinking of something like this.... Please let me know what to do....
    Thanks
    Serj

    The easy way to do this is create a copy using Windows Explorer.
    Open the project and go to File > Rename.
    Then you have your 2013 ready made project.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Creating new record instead of update existing one in Bank application

    HI Mate
    Here is my issue and I want from ur help
    Bank information iview---when i am doing "EDIT" option in that it will edit the bank details,But when i check the records in SAP HR system.it is creating extra record instead of replace that record with payroll date.
    Could anyone please help me to fine the solution ASAP.as it is very import for me
    Thanks
    Keshari

    Note 965324
    Check your time contraints
    As per the timeconstraint validation if you edit the record it is
    changing this validity for the future and the gap is included. That is
    the system standard behavior as per the configuration. To achieve the
    desired behavior you need to create a new record or change
    timeconstraint to 1 (but in this case only one record may exist at a
    given period).
    I kindly ask you to refer to note 818957 which explains the Use Cases x
    Timeconstraint configuration.
    ie
    to achieve the functionality you have to create new future record.
    Reason is you are using TC:3, in which gaps are allowed, but you dont
    want gap in between.
    When an employee wanted to change his/her bank details
    via portal effective future date, system is
    giving error as "Change in the payroll past not possible".  This error
    appears for the scenario as mention below :
    1.  Payroll is processed and Exited for the period 16th Dec 2010 to
    31st Dec 2010   on  28th Dec 2010  (3 days in advance).
    2.  Employee wanted to change bank details on 29th Dec 2010 effective
    1st Jan 2011 via ESS portal.
    3.  An error Change in the payroll past not possible" is shown while
    saving the data.
    In your case either you have to use TC:1, since you don't want gap in
    between, or you have use new button to create future record.

  • Create new depreciation class for the existing asset

    Dear Experts,
    Please explain step by step:
    1. How to create a new depreciation class for the existing asset
    2. How to make a asset transfer to the new asset in the new asset class?
    Thank you in advance

    Hi,
    The pre-requsit of creating a new assets clause :-
    1. Co. code assigned to Chart of Dep.
    2. Dep areas have been defined
    3. GL account no. is not more than 8 digit.
    The transfer of an assets within the same co code can be done thru T.code ABUMN.
    Award if helpful
    Sunil

  • How to create New IDOC with refrence to existing IDOC.

    Hello All,
    In the MATMAS  Material master data IDOC the special procurement type should consider the special procurement flag = VI also. At present the  functional module IDOC_INPUT_MATMAS01 only take the special procurement flag = KA into account.
    IDOC is in 05 status.
    I want to Create a test IDOC copying the existing IDOC and change the SOBSL to VI to check if that is successful.
    Please suggest,.
    Thanks in advance.
    Forum Shah

    Hello,
    I have made the changes with the partner profile.. WE20... and got the processing IDOC staus "03" ie "Translation ok".
    how do i create a new IDOC to check if its working well?
    Is there any need to add anything in the function module?

  • Create new Master Repository - oracle technology exist in logical topology

    I have created a new master repository using the 'Create Master Repository' function in to an ORacle database user. This was all successful and I can sign in to topology manager as SUPERVISOR.
    However I notice that the physical topology includes the 'oracle' technology in the list but this is NOT present in the logical topology.
    When I import our models and projects that were developed elsewhere they fail becasue they are based on the oracle technology and this does not exist in the logical topology.
    If I try to create the oracle technology or import it I get an error index violation on AK_TECHNO which is the index on the SNP_TECHNO table.
    In the physical topology the oracle technology is shown as being both 'physical' and 'logical' (both check boxes are checked).
    Any ideas ?

    how can I find a way of admitting that this was indeed the case......................
    Turned off the hide unused technologoes and there they all are - including Oracle.................
    So that explains why it appeared at some point before - once some data servers had been defined etc...........
    I have my dataservers and schemas loaded now in the physical topology - but they are still not shoinwg in the logical topology - I think this is due to the data server in physical not being in the correct context. When I click the physical dataserver and go in to the contexts tab and choose global I get the error message (logical topology not configured for this context).

  • Creating new Domain by Copying the existing domain

    Hi,
    Is there any way to create a new domain by copying the already existing domain directory and pasting it to another directory in same machine or different machine.
    Can anyone suggest me the configuration file that needs to be updated for new domain name.
    Thanks
    Harish
    Edited by: user10833531 on Dec 2, 2009 7:52 AM

    When you mention "Before posting on forum I have tried this option. I tried again but no luck." do you mean you tried pack/unpack or template approach and this did not work. Or did you just copied domain folder and renamed and start the new domain and you got errors. Copying domain may not work 100% (not in the long run). But pack/unpack or template approach should work pretty much without any errors.
    As mentioned, I would recommend template approach or pack/unpack. You can provide the internal details and risk factors involved with hard disk copy of domain folder and renaming approach to the client. If domain copy approach works, then bea/oracle would not have come up with approaches like pack/unpack or template approach at all in the very first place. Copying domain folder and renaming may still work, unless you do all regression testing that includes cluster scenario also and all usecases.
    I would still recommend for pack/unpack or template approach to copy any existing domains.
    Just incase if your domain is like Portal Domain and if you deploy portal applications on this domain, then copying domain will just not work. Every domain is very tightly coupled with ldap files and db tables for any Security Visitor Entitlements and Delegated Admin roles. If its pure weblogic server application, these things will not come into picture. But for Portal, we do have something called Propagation Tool to migrate portal app from one domain to other domain. But still the domain cannot be copied and renamed.
    HTH
    Ravi Jegga

  • Created new Oracle db  Now my existing TNS connections dropped?

    Hi, I created a new database using the Oracle8i Database Configuration Assistant. I had previously configured my Net8 to connect to my starter database. After I created my new database my existing connections to my starter database stopped. Can anyone help?
    Andrew
    <!--- TNSNAMES.ORA --->
    # C:\ORACLE\ORA81\NETWORK\ADMIN\TNSNAMES.ORA Configuration File:C:\Oracle\Ora81\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle Net8 Assistant
    ORACLE2 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = PRODUCTIONS)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = oracle2.productions2)
    (INSTANCE_NAME = startdb2)
    )

    fixed it... moved the tns entry higher in the file.

  • Create new VM cause corrupting other existing VM

    Anyone facing this problem before? I was created 1 VM (win2003) and running in OracleVM Server, and then i creating another new VM. During I creating the new VM the old VM(win2003) become unaccessable, even i trying to ping to the IP address of the VM it also no reply.
    How to solve this problem?

    log on to the host server,
    xm list --long <existing domain> | grep 59
    and vnc to that port,
    vncviewer <host server>:<the port from above command>
    if this failed, simply
    xm destroy <existing domain>
    for the status error, currently only the hardway, modify from the database. if you got db access, have a peek at table ovs_vm_img.

  • Possible to create new ASM instance and "import" existing diskgroup?

    This is my worst nightmare. Two days before a server was about to be shut down, it crashed on me, corrupting the filesystem where Oracle was installed. Setup was an HP-UX 11.11 server running Oracle 10g with ASM storage on a disk array. Both instances were in the filesystem that got corrupted, and amazingly, we don't have a backup, so I'm not able to restore the instance configs and restart the database. Presumably, my data is still sitting there on the disks that belong to the ASM diskgroup, but I don't know how to get at it. I started by creating a new ASM instance, but I can't figure out if there's a way to create a diskgroup out of those 16 disks without wiping out what's on them.
    V$ASM_DISK shows all the disks as MEMBERs, with the CREATE_DATE that they were originally created, so I know at least the headers are intact. So is there any way I can manually recreate that diskgroup in my new instance so it will mount the disks and let me at the data?
    I realize that not having backups is the height of stupidity, but that boat has sailed. My company also chose not to pay for Oracle Support this year, so I'm kind of on my own. If anybody can at least point me in the right direction or tell me that it's a lost cause, I'd appreciate it.

    Well, a little progress. I was able to finally mount the disks in my new ASM instance, and using asmcmd, I can actually see my datafiles sitting there. So now I'm thinking I should try manually creating a new database instance pointing to the spfile that's in there and try starting that. I'm also going to try using RMAN and the XMLDB FTP trick to copy those datafiles somewhere else so I know I can play with them.

  • Create new library from part of existing

    I just starting using iPhoto and have created a library with all my photos of 2004-2005. I also have a large collection of old family photos I've been building up (from the 20's, 30's and 40's) and want to create a separate library just for this project.
    How can I take old photos and create a new library then remove them from my current library?
    I don't want to lose the keywords and comments that have been assigned to the photos thus far.
    Thanks!!
    Jim

    Lori,
    Thanks for your response. I get how to create and navigate multiple libraries. I'm just wondering if there are easy ways to move images between libraries and maintain all the meta data such as keywords, descriptions, dates, etc.
    Trying to understand the dynamics to get my storage scheme in place. I can't keep everything on my laptop forever. Looking to establish a migratory path.
    I shoot about 1500 pictures per year, 2500 on years where I've done the big Europe/Asia trips. So far I have one library with years 2004 and 2005 and starting to add 2006 as I go. About 3000 images. I have 1999-2003 that I am thinking about starting a new library with or adding to the current. Although at some point, I'll want to migrate older stuff to an external drive while keeping active stuff on the laptop.
    Hence, can I move images from one library to another and keep keywords/comments, etc.
    Thanks for your thoughts.
    Jim

  • Try to add new View object to an exist AM

    Dears ,
    i'm trying to create new text filed in an exist OAF page and i have create anew vo and add it to the exist AM the below erroe has been appeared
    Message not found. Application: FND, Message Name: FND_VIEWOBJECT_NOT_FOUND. Tokens: VONAME = XxTedExtVONEW1; APPLICATION_MODULE = xxted.oracle.apps.per.extint.server.XxTedExtAM;
    below is the code of XxTedExtAM  and the red is my code for adding the new view object:
    /*     */ package xxted.oracle.apps.per.extint.server;
    /*     */ import java.io.PrintStream;
    /*     */ import oracle.apps.fnd.framework.OAException;
    /*     */ import oracle.apps.fnd.framework.OARow;
    /*     */ import oracle.apps.fnd.framework.OAViewObject;
    /*     */ import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    /*     */ import oracle.apps.fnd.framework.server.OADBTransaction;
    /*     */ import oracle.jbo.Row;
    /*     */ import oracle.jbo.domain.Date;
    /*     */ import oracle.jbo.domain.Number;
    /*     */ import oracle.jbo.server.ViewLinkImpl;
    /*     */ public class XxTedExtAMImpl extends OAApplicationModuleImpl
    /*     */   public XxTedAnotherJobVOImpl getXxTedAnotherJobVO1()
    /*  19 */     return (XxTedAnotherJobVOImpl)findViewObject("XxTedAnotherJobVO1");
    /*     */   public XxTedCompenVOImpl getXxTedCompenVO1()
    /*  24 */     return (XxTedCompenVOImpl)findViewObject("XxTedCompenVO1");
    /*     */   public XxTedCultIssueVOImpl getXxTedCultIssueVO1()
    /*  29 */     return (XxTedCultIssueVOImpl)findViewObject("XxTedCultIssueVO1");
    /*     */   public XxTedGuidlinesVOImpl getXxTedGuidlinesVO1()
    /*  34 */     return (XxTedGuidlinesVOImpl)findViewObject("XxTedGuidlinesVO1");
    /*     */   public XxTedJobIssueVOImpl getXxTedJobIssueVO1()
    /*  39 */     return (XxTedJobIssueVOImpl)findViewObject("XxTedJobIssueVO1");
    /*     */   public XxTedLeaveResVOImpl getXxTedLeaveResVO1()
    /*  44 */      return (XxTedLeaveResVOImpl)findViewObject("XxTedLeaveResVO1");
    /*     */   public XxTedRelIssueVOImpl getXxTedRelIssueVO1()
    /*  49 */     return (XxTedRelIssueVOImpl)findViewObject("XxTedRelIssueVO1");
    /*     */   public XxTedTerminologyVOImpl getXxTedTerminologyVO1()
    /*  54 */     return (XxTedTerminologyVOImpl)findViewObject("XxTedTerminologyVO1");
    /*     */   public static void main(String[] args)
    /*  58 */     launchTester("xxted.oracle.apps.per.extint.server", "XxTedExtAMLocal");
    /*     */   public XxTedExitInterviewVOImpl getXxTedExitInterviewVO1()
    /*  64 */     return (XxTedExitInterviewVOImpl)findViewObject("XxTedExitInterviewVO1");
    /*     */   public XxTedExitintDetF1VOImpl getXxTedExitintDetF1VO1()
    /*  69 */     return (XxTedExitintDetF1VOImpl)findViewObject("XxTedExitintDetF1VO1");
    /*     */   public XxTedExitintDetF2VOImpl getXxTedExitintDetF2VO1()
    /*  74 */     return (XxTedExitintDetF2VOImpl)findViewObject("XxTedExitintDetF2VO1");
    /*     */   public XxTedExitintDetF3VOImpl getXxTedExitintDetF3VO1()
    /*  79 */     return (XxTedExitintDetF3VOImpl)findViewObject("XxTedExitintDetF3VO1");
    /*     */   public XxTedExitintDetF4VOImpl getXxTedExitintDetF4VO1()
    /*  84 */     return (XxTedExitintDetF4VOImpl)findViewObject("XxTedExitintDetF4VO1");
    /*     */   public XxTedExitintDetF5VOImpl getXxTedExitintDetF5VO1()
    /*  89 */     return (XxTedExitintDetF5VOImpl)findViewObject("XxTedExitintDetF5VO1");
    /*     */   public XxTedExitintDetF6VOImpl getXxTedExitintDetF6VO1()
    /*  94 */     return (XxTedExitintDetF6VOImpl)findViewObject("XxTedExitintDetF6VO1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF1VL1()
    /*  99 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF1VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF2VL1()
    /* 104 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF2VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF3VL1()
    /* 109 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF3VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF4VL1()
    /* 114 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF4VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF5VL1()
    /* 119 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF5VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF6VL1()
    /* 124 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF6VL1");
    /*     */   public XxTedReqIdVOImpl getXxTedReqIdVO1()
    /* 129 */     return (XxTedReqIdVOImpl)findViewObject("XxTedReqIdVO1");
    /*     */   public XxTedInterviewerVOImpl getXxTedInterviewerVO1()
    /* 134 */     return (XxTedInterviewerVOImpl)findViewObject("XxTedInterviewerVO1");
    /*     */   public void initRecords()
    /* 138 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 139 */     Row[] empRow = XxTedEmpDataVO.getAllRowsInRange();
    /* 140 */     XxTedEmpDataVORowImpl empRowImp = (XxTedEmpDataVORowImpl)empRow[0];
    /* 141 */     OAViewObject XxTedReqIdVO = getXxTedReqIdVO1();
    /* 142 */     if (!XxTedReqIdVO.isPreparedForExecution())
    /* 144 */       XxTedReqIdVO.executeQuery();
    /* 146 */     Row[] reqRow = XxTedReqIdVO.getAllRowsInRange();
    /* 147 */     XxTedReqIdVORowImpl reqRowImp = (XxTedReqIdVORowImpl)reqRow[0];
    /* 149 */     OAViewObject XxTedExitInterviewVO = getXxTedExitInterviewVO1();
    /* 150 */     if (!XxTedExitInterviewVO.isPreparedForExecution())
    /* 152 */       XxTedExitInterviewVO.setMaxFetchSize(0);
    /* 153 */       XxTedExitInterviewVO.executeQuery();
    /* 154 */       XxTedExitInterviewVO.setMaxFetchSize(-1);
    /* 156 */     Row row = XxTedExitInterviewVO.createRow();
    /* 157 */     row.setAttribute("RequestId", reqRowImp.getAttribute("Reqid"));
    /* 158 */     row.setAttribute("RequesterId", empRowImp.getAttribute("EmployeeNumber"));
    /* 160 */     XxTedExitInterviewVO.insertRow(row);
    /* 161 */     row.setNewRowState((byte)0);
    /*     */   public void execQueries(String userId)
    /* 166 */     OAViewObject XxTedGuidlinesVO = getXxTedGuidlinesVO1();
    /* 167 */     if (!XxTedGuidlinesVO.isPreparedForExecution())
    /* 169 */       XxTedGuidlinesVO.executeQuery();
    /* 172 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 173 */     if (!XxTedEmpDataVO.isPreparedForExecution())
    /* 175 */       XxTedEmpDataVO.setNamedWhereClauseParam("p_user_id", userId);
    /* 176 */       XxTedEmpDataVO.executeQuery();
    /* 179 */     OAViewObject XxTedTerminologyVO = getXxTedTerminologyVO1();
    /* 180 */     if (!XxTedTerminologyVO.isPreparedForExecution())
    /* 182 */       XxTedTerminologyVO.executeQuery();
    /* 185 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
    /* 186 */     if (!XxTedLeaveResVO.isPreparedForExecution())
    /* 188 */       XxTedLeaveResVO.executeQuery();
    /////////////////////////////lamiaa///////////////
           /* OAViewObject XxTedExtVONEW = getXxTedExtVONEW();
                if (!XxTedExtVONEW.isPreparedForExecution())
                XxTedExtVONEW.executeQuery();
      /////////////////////////////lamiaa///////////////
    /* 191 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 192 */     if (!XxTedCompenVO.isPreparedForExecution())
    /* 194 */       XxTedCompenVO.executeQuery();
    /* 197 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 198 */     if (!XxTedJobIssueVO.isPreparedForExecution())
    /* 200 */       XxTedJobIssueVO.executeQuery();
    /* 203 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 204 */     if (!XxTedRelIssueVO.isPreparedForExecution())
    /* 206 */       XxTedRelIssueVO.executeQuery();
    /* 209 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 210 */     if (!XxTedCultIssueVO.isPreparedForExecution())
    /* 212 */       XxTedCultIssueVO.executeQuery();
    /* 215 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 216 */     if (!XxTedAnotherJobVO.isPreparedForExecution())
    /* 218 */       XxTedAnotherJobVO.executeQuery();
    /* 220 */     OAViewObject XxTedInterviewerVO = getXxTedInterviewerVO1();
    /* 221 */     if (!XxTedInterviewerVO.isPreparedForExecution())
    /* 223 */       XxTedInterviewerVO.executeQuery();
    /*     */   public void insertData()
    /* 229 */     OAViewObject XxTedExitintDetF1VO = getXxTedExitintDetF1VO1();
    /* 230 */     OAViewObject XxTedExitintDetF2VO = getXxTedExitintDetF2VO1();
    /* 231 */     OAViewObject XxTedExitintDetF3VO = getXxTedExitintDetF3VO1();
    /* 232 */     OAViewObject XxTedExitintDetF4VO = getXxTedExitintDetF4VO1();
    /* 233 */     OAViewObject XxTedExitintDetF5VO = getXxTedExitintDetF5VO1();
    /* 234 */     OAViewObject XxTedExitintDetF6VO = getXxTedExitintDetF6VO1();
    /* 236 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
        /////////////////////////////lamiaa///////////////
                 //OAViewObject XxTedExtVONEW = getXxTedExtVONEW();
        /////////////////////////////lamiaa///////////////
    /* 237 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 238 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 239 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 240 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 241 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 243 */     Row[] rowF1 = XxTedLeaveResVO.getFilteredRows("SelectFlg", "Y");
                /////////////////////////////lamiaa///////////////
                //  Row[] rowF7 = XxTedExtVONEW.getFilteredRows("SelectFlg", "Y");
                /////////////////////////////lamiaa///////////////
    /* 244 */     Row[] rowF2 = XxTedCompenVO.getFilteredRows("SelectFlg", "Y");
    /* 245 */     Row[] rowF3 = XxTedJobIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 246 */     Row[] rowF4 = XxTedRelIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 247 */     Row[] rowF5 = XxTedCultIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 248 */     Row[] rowF6 = XxTedAnotherJobVO.getFilteredRows("SelectFlg", "Y");
    /* 250 */     if (!XxTedExitintDetF1VO.isPreparedForExecution())
    /* 252 */       XxTedExitintDetF1VO.executeQuery();
    /* 254 */     for (int i = 0; i < rowF1.length; i++) {
    /* 255 */       XxTedExitintDetF1VO.last();
    /* 256 */       XxTedExitintDetF1VO.next();
    /* 257 */       Row row1 = XxTedExitintDetF1VO.createRow();
    /* 258 */       row1.setAttribute("SectionNumber", "F.1");
    /* 259 */       row1.setAttribute("SelectedValue", rowF1[i].getAttribute("LookupCode"));
    /* 260 */       XxTedExitintDetF1VO.insertRow(row1);
    /* 261 */       row1.setNewRowState((byte)0);
    /* 264 */     if (!XxTedExitintDetF2VO.isPreparedForExecution())
    /* 266 */       XxTedExitintDetF2VO.executeQuery();
    /* 268 */     for (int i = 0; i < rowF2.length; i++) {
    /* 269 */       XxTedExitintDetF2VO.last();
    /* 270 */       XxTedExitintDetF2VO.next();
    /* 271 */       Row row2 = XxTedExitintDetF2VO.createRow();
    /* 272 */       row2.setAttribute("SectionNumber", "F.2");
    /* 273 */       row2.setAttribute("SelectedValue", rowF2[i].getAttribute("LookupCode"));
    /* 274 */       XxTedExitintDetF2VO.insertRow(row2);
    /* 275 */       row2.setNewRowState((byte)0);
    /* 278 */     if (!XxTedExitintDetF3VO.isPreparedForExecution())
    /* 280 */       XxTedExitintDetF3VO.executeQuery();
    /* 282 */     for (int i = 0; i < rowF3.length; i++) {
    /* 283 */       XxTedExitintDetF3VO.last();
    /* 284 */       XxTedExitintDetF3VO.next();
    /* 285 */       Row row3 = XxTedExitintDetF3VO.createRow();
    /* 286 */       row3.setAttribute("SectionNumber", "F.3");
    /* 287 */       row3.setAttribute("SelectedValue", rowF3[i].getAttribute("LookupCode"));
    /* 288 */       XxTedExitintDetF3VO.insertRow(row3);
    /* 289 */       row3.setNewRowState((byte)0);
    /* 291 */     if (!XxTedExitintDetF4VO.isPreparedForExecution())
    /* 293 */       XxTedExitintDetF4VO.executeQuery();
    /* 295 */     for (int i = 0; i < rowF4.length; i++) {
    /* 296 */       XxTedExitintDetF4VO.last();
    /* 297 */       XxTedExitintDetF4VO.next();
    /* 298 */       Row row4 = XxTedExitintDetF4VO.createRow();
    /* 299 */       row4.setAttribute("SectionNumber", "F.4");
    /* 300 */       row4.setAttribute("SelectedValue", rowF4[i].getAttribute("LookupCode"));
    /* 301 */       XxTedExitintDetF4VO.insertRow(row4);
    /* 302 */       row4.setNewRowState((byte)0);
    /* 304 */     if (!XxTedExitintDetF5VO.isPreparedForExecution())
    /* 306 */       XxTedExitintDetF5VO.executeQuery();
    /* 308 */     for (int i = 0; i < rowF5.length; i++) {
    /* 309 */       XxTedExitintDetF5VO.last();
    /* 310 */       XxTedExitintDetF5VO.next();
    /* 311 */       Row row5 = XxTedExitintDetF5VO.createRow();
    /* 312 */       row5.setAttribute("SectionNumber", "F.5");
    /* 313 */       row5.setAttribute("SelectedValue", rowF5[i].getAttribute("LookupCode"));
    /* 314 */       XxTedExitintDetF5VO.insertRow(row5);
    /* 315 */       row5.setNewRowState((byte)0);
    /* 318 */     if (!XxTedExitintDetF6VO.isPreparedForExecution())
    /* 320 */       XxTedExitintDetF6VO.executeQuery();
    /* 322 */     for (int i = 0; i < rowF6.length; i++) {
    /* 323 */       XxTedExitintDetF6VO.last();
    /* 324 */       XxTedExitintDetF6VO.next();
    /* 325 */       Row row6 = XxTedExitintDetF6VO.createRow();
    /* 326 */       row6.setAttribute("SectionNumber", "F.6");
    /* 327 */       row6.setAttribute("SelectedValue", rowF6[i].getAttribute("LookupCode"));
    /* 328 */       XxTedExitintDetF6VO.insertRow(row6);
    /* 329 */       row6.setNewRowState((byte)0);
    /* 331 */     saveData();
    /*     */   public void saveData()
    /* 336 */     getOADBTransaction().commit();
    /*     */   public XxTedEmpDataVOImpl getXxTedEmpDataVO1()
    /* 342 */     return (XxTedEmpDataVOImpl)findViewObject("XxTedEmpDataVO1");
    /*     */   public void queryReqUsingEmp(String pEmpno) {
    /* 345 */     OAViewObject XxTedExitInterviewVO = getXxTedExitInterviewVO1();
    /* 347 */     XxTedExitInterviewVO.setWhereClause("REJ_FLG <> 1 AND Requester_id = " + pEmpno);
    /* 348 */     XxTedExitInterviewVO.executeQuery();
    /*     */   public void execQueriesGuidlines()
    /* 353 */     OAViewObject XxTedGuidlinesVO = getXxTedGuidlinesVO1();
    /* 354 */     if (!XxTedGuidlinesVO.isPreparedForExecution())
    /* 356 */       XxTedGuidlinesVO.executeQuery();
    /*     */   public void execQueriesEmpData(String param) {
    /* 361 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 363 */     if (!XxTedEmpDataVO.isPreparedForExecution())
    /* 365 */       XxTedEmpDataVO.setNamedWhereClauseParam("p_user_id", param);
    /* 366 */       XxTedEmpDataVO.executeQuery();
    /* 369 */     Row[] empRow = XxTedEmpDataVO.getAllRowsInRange();
    /* 370 */     XxTedEmpDataVORowImpl empRowImp = (XxTedEmpDataVORowImpl)empRow[0];
    /* 371 */     String empNo = (String)empRowImp.getAttribute("EmployeeNumber");
    /* 373 */     OAViewObject XxTedEmpDataVO2 = getXxTedEmpData2_1();
    /* 374 */     XxTedEmpDataVO2.setNamedWhereClauseParam("p_emp", empNo);
    /* 375 */     XxTedEmpDataVO2.executeQuery();
    /* 377 */     OAViewObject XxReq = getXxTedExitInterviewVO1();
    /* 378 */     XxReq.setWhereClause("Requester_id = " + empNo);
    /* 379 */     if (!XxReq.isPreparedForExecution())
    /* 381 */       XxReq.executeQuery();
    /*     */   public void execQueriesEmpData2(String param)
    /* 387 */     OAViewObject XxTedEmpDataVO2 = getXxTedEmpData2_1();
    /* 388 */     XxTedEmpDataVO2.setNamedWhereClauseParam("p_emp", param);
    /* 390 */     XxTedEmpDataVO2.executeQuery();
    /* 392 */     OAViewObject XxReq = getXxTedExitInterviewVO1();
    /* 394 */     XxReq.setWhereClause("Requester_id = " + param);
    /* 396 */     XxReq.executeQuery();
    /*     */   public void execQueriesTerm()
    /* 401 */     OAViewObject XxTedTerminologyVO = getXxTedTerminologyVO1();
    /* 402 */     if (!XxTedTerminologyVO.isPreparedForExecution())
    /* 404 */       XxTedTerminologyVO.executeQuery();
    /*     */   public void execQueriesLeave(String param) {
    /* 409 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
    /* 410 */     if (!XxTedLeaveResVO.isPreparedForExecution())
    /* 412 */       XxTedLeaveResVO.executeQuery();
        /////////////////////////////lamiaa///////////////
            /* public void execQueriesLeave_reason(String param) {
                 OAViewObject XxTedExtVONEW = getXxTedExtVONEW();
                if (!XxTedExtVONEW.isPreparedForExecution())
                 XxTedExtVONEW.executeQuery();
        /////////////////////////////lamiaa///////////////
    /*     */   public void execQueriesCompen(String param) {
    /* 417 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 418 */     if (!XxTedCompenVO.isPreparedForExecution())
    /* 420 */       XxTedCompenVO.executeQuery();
    /*     */   public void execQueriesJobIssue(String param) {
    /* 425 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 426 */     if (!XxTedJobIssueVO.isPreparedForExecution())
    /* 428 */       XxTedJobIssueVO.executeQuery();
    /*     */   public void execQueriesRelIssue(String param) {
    /* 433 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 434 */     if (!XxTedRelIssueVO.isPreparedForExecution())
    /* 436 */       XxTedRelIssueVO.executeQuery();
    /*     */   public void execQueriesCultIssue(String param) {
    /* 441 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 442 */     if (!XxTedCultIssueVO.isPreparedForExecution())
    /* 444 */       XxTedCultIssueVO.executeQuery();
    /*     */   public void execQueriesAnotherJob(String param) {
    /* 449 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 450 */     if (!XxTedAnotherJobVO.isPreparedForExecution())
    /* 452 */       XxTedAnotherJobVO.executeQuery();
    /*     */   public XxTedEmpData2Impl getXxTedEmpData2_1()
    /* 459 */     return (XxTedEmpData2Impl)findViewObject("XxTedEmpData2_1");
    /*     */   public XxTedF1QVOImpl getXxTedF1QVO1()
    /* 464 */     return (XxTedF1QVOImpl)findViewObject("XxTedF1QVO1");
    /*     */   public XxTedF2QVOImpl getXxTedF2QVO1()
    /* 469 */     return (XxTedF2QVOImpl)findViewObject("XxTedF2QVO1");
    /*     */   public XxTedF3QVOImpl getXxTedF3QVO1()
    /* 474 */     return (XxTedF3QVOImpl)findViewObject("XxTedF3QVO1");
    /*     */   public XxTedF4QVOImpl getXxTedF4QVO1()
    /* 479 */     return (XxTedF4QVOImpl)findViewObject("XxTedF4QVO1");
    /*     */   public XxTedF5QVOImpl getXxTedF5QVO1()
    /* 484 */     return (XxTedF5QVOImpl)findViewObject("XxTedF5QVO1");
    /*     */   public XxTedF6QVOImpl getXxTedF6QVO1()
    /* 489 */     return (XxTedF6QVOImpl)findViewObject("XxTedF6QVO1");
    /*     */   public ViewLinkImpl getXxTedF1QVL1()
    /* 494 */     return (ViewLinkImpl)findViewLink("XxTedF1QVL1");
    /*     */   public ViewLinkImpl getXxTedF2QVL1()
    /* 499 */     return (ViewLinkImpl)findViewLink("XxTedF2QVL1");
    /*     */   public ViewLinkImpl getXxTedF3QVL1()
    /* 504 */     return (ViewLinkImpl)findViewLink("XxTedF3QVL1");
    /*     */   public ViewLinkImpl getXxTedF4QVL1()
    /* 509 */     return (ViewLinkImpl)findViewLink("XxTedF4QVL1");
    /*     */   public ViewLinkImpl getXxTedF5QVL1()
    /* 514 */     return (ViewLinkImpl)findViewLink("XxTedF5QVL1");
    /*     */   public ViewLinkImpl getXxTedF6QVL1()
    /* 519 */     return (ViewLinkImpl)findViewLink("XxTedF6QVL1");
    /*     */   public XxTedReqStatusVOImpl getXxTedReqStatusVO1()
    /* 524 */     return (XxTedReqStatusVOImpl)findViewObject("XxTedReqStatusVO1");
    /*     */   public void execQueriesReqStatus(String param) {
    /* 527 */     OAViewObject XxTedReqStatusVO = getXxTedReqStatusVO1();
    /* 529 */     System.out.println("Param = " + param);
    /* 531 */     XxTedReqStatusVO.setWhereClause("REQUESTER_ID = " + param);
    /* 532 */     XxTedReqStatusVO.executeQuery();
    /*     */   public XxTedWFItemTypeImpl getXxTedWFItemType1()
    /* 538 */     return (XxTedWFItemTypeImpl)findViewObject("XxTedWFItemType1");
    /*     */   public XxTedReqCntVOImpl getXxTedReqCntVO1()
    /* 543 */     return (XxTedReqCntVOImpl)findViewObject("XxTedReqCntVO1");
    /*     */   public void dupCheck() {
    /* 546 */     OAViewObject vo = getXxTedReqCntVO1();
    /* 548 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 549 */     Row[] empRow = XxTedEmpDataVO.getAllRowsInRange();
    /* 550 */     XxTedEmpDataVORowImpl empRowImp = (XxTedEmpDataVORowImpl)empRow[0];
    /* 552 */     vo.setWhereClause("rej_flg <> 1 and requester_id = " + empRowImp.getEmployeeNumber());
    /* 553 */     vo.executeQuery();
    /* 554 */     Row[] row = vo.getAllRowsInRange();
    /* 555 */     if (row.length != 0)
    /* 556 */       throw new OAException("This employee submitted and exit form before, Kindly contact system admin", (byte)0);
    /*     */   public XxTedCurrReqImpl getXxTedCurrReq1()
    /* 562 */     return (XxTedCurrReqImpl)findViewObject("XxTedCurrReq1");
    /*     */   public ViewLinkImpl getXxTedCurrReqVL1()
    /* 567 */     return (ViewLinkImpl)findViewLink("XxTedCurrReqVL1");
    /*     */   public void execMainPG(String userId) {
    /* 570 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 571 */     if (!XxTedEmpDataVO.isPreparedForExecution())
    /* 573 */       XxTedEmpDataVO.setNamedWhereClauseParam("p_user_id", userId);
    /* 574 */       XxTedEmpDataVO.executeQuery();
    /* 576 */     Row[] empRow = XxTedEmpDataVO.getAllRowsInRange();
    /* 577 */     XxTedEmpDataVORowImpl empRowImp = (XxTedEmpDataVORowImpl)empRow[0];
    /* 578 */     String empNo = (String)empRowImp.getAttribute("EmployeeNumber");
    /* 580 */     OAViewObject XxTedReqStatusVO = getXxTedReqStatusVO1();
    /* 581 */     XxTedReqStatusVO.setWhereClause("Requester_Id = " + empNo);
    /* 582 */     XxTedReqStatusVO.executeQuery();
    /*     */   public void execLog()
    /* 587 */     OAViewObject Xvo = getXxTedExitInterviewVO1();
    /* 589 */     Row row = Xvo.getCurrentRow();
    /* 590 */     XxTedExitInterviewVORowImpl rowImp = (XxTedExitInterviewVORowImpl)row;
    /* 591 */     Number reqNo = (Number)rowImp.getAttribute("RequestId");
    /* 593 */     OAViewObject XxLog = getXxLoG1();
    /* 594 */     XxLog.setWhereClause("Request_Id = " + reqNo);
    /* 595 */     XxLog.executeQuery();
    /* 596 */     Row row2 = XxLog.getCurrentRow();
    /* 598 */     OAViewObject XxTedReqStatusVO = getXxTedReqStatusVO1();
    /* 599 */     XxTedReqStatusVO.setWhereClause("Request_Id = " + reqNo);
    /* 600 */     XxTedReqStatusVO.executeQuery();
    /*     */   public void validateNulls()
    /* 605 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
    /* 606 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 607 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 608 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 609 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 610 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 612 */     Row[] rowF1 = XxTedLeaveResVO.getFilteredRows("SelectFlg", "Y");
    /* 613 */     Row[] rowF2 = XxTedCompenVO.getFilteredRows("SelectFlg", "Y");
    /* 614 */     Row[] rowF3 = XxTedJobIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 615 */     Row[] rowF4 = XxTedRelIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 616 */     Row[] rowF5 = XxTedCultIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 617 */     Row[] rowF6 = XxTedAnotherJobVO.getFilteredRows("SelectFlg", "Y");
    /* 619 */     int cntF1 = rowF1.length;
    /* 620 */     int cntF2 = rowF2.length;
    /* 621 */     int cntF3 = rowF3.length;
    /* 622 */     int cntF4 = rowF4.length;
    /* 623 */     int cntF5 = rowF5.length;
    /* 624 */     int cntF6 = rowF6.length;
    /* 626 */     if (cntF1 < 1) {
    /* 627 */       throw new OAException("Reason of Leave : Select at least one choice");
    /* 629 */     if (cntF2 < 1) {
    /* 630 */       throw new OAException("Compensation Issues : Select at least one choice");
    /* 632 */     if (cntF3 < 1) {
    /* 633 */       throw new OAException("Job Issues : Select at least one choice");
    /* 635 */     if (cntF4 < 1) {
    /* 636 */       throw new OAException("Relationship Issues : Select at least one choice");
    /* 638 */     if (cntF5 < 1) {
    /* 639 */       throw new OAException("Cultural Issues : Select at least one choice");
    /* 641 */     if (cntF6 < 1) {
    /* 642 */       throw new OAException("Another Job Opportunity : Select at least one choice");
    /* 645 */     OAViewObject validateVo = getXxTedExitInterviewVO1();
    /* 646 */     OARow oaRow = (OARow)validateVo.getCurrentRow();
    /* 648 */     String CompensationComments = (String)oaRow.getAttribute("CompensationComments");
    /* 649 */     if (CompensationComments == null) {
    /* 650 */       throw new OAException("Compensation Issue : Field should be supplied");
    /* 655 */     String LeaveReasonComments = (String)oaRow.getAttribute("LeaveReasonComments");
    /* 656 */     if (LeaveReasonComments == null) {
    /* 657 */       throw new OAException("Reason of leaving : Field should be supplied");
    /* 661 */     String ADSL = (String)oaRow.getAttribute("AdslNumber");
    /* 662 */     if (ADSL == null) {
    /* 663 */       throw new OAException("ADSL Number : Field should be supplied");
    /* 665 */     Date LastDate = (Date)oaRow.getAttribute("LastDate");
    /* 666 */     if (LastDate == null) {
    /* 667 */       throw new OAException("Last Working Day : Field should be supplied");
    /* 670 */     String JobComments = (String)oaRow.getAttribute("JobComments");
    /* 671 */     if (JobComments == null) {
    /* 672 */       throw new OAException("Job Issues : Field should be supplied");
    /* 675 */     String RelationshipComments = (String)oaRow.getAttribute("RelationshipComments");
    /* 676 */     if (RelationshipComments == null) {
    /* 677 */       throw new OAException("Relationship Issues : Field should be supplied");
    /* 679 */     String CulturalComments = (String)oaRow.getAttribute("CulturalComments");
    /* 680 */     if (CulturalComments == null) {
    /* 681 */       throw new OAException("Cultural Issues : Field should be supplied");
    /* 684 */     String OtherJobComments = (String)oaRow.getAttribute("OtherJobComments");
    /* 685 */     if (OtherJobComments == null) {
    /* 686 */       throw new OAException("Another Job Opportunity : Field should be supplied");
    /* 689 */     String OtherInfoComments = (String)oaRow.getAttribute("OtherInfoComments");
    /* 690 */     if (OtherInfoComments == null) {
    /* 691 */       throw new OAException("Other Info : Field should be supplied");
    /* 694 */     String TrainingComments = (String)oaRow.getAttribute("TrainingComments");
    /* 695 */     if (TrainingComments == null) {
    /* 696 */       throw new OAException("Training&Development : Field should be supplied");
    /* 699 */     String PositiveWorkComments = (String)oaRow.getAttribute("PositiveWorkComments");
    /* 700 */     if (PositiveWorkComments == null) {
    /* 701 */       throw new OAException("Positive Work Comments : Fields should be supplied");
    /* 704 */     String PositiveBestComments = (String)oaRow.getAttribute("PositiveBestComments");
    /* 705 */     if (PositiveBestComments == null) {
    /* 706 */       throw new OAException("Positive Work Comments : Fields should be supplied");
    /* 709 */     String ChangeComments = (String)oaRow.getAttribute("ChangeComments");
    /* 710 */     if (ChangeComments == null) {
    /* 711 */       throw new OAException("Change : Field should be supplied");
    /* 713 */     String ReemploymentComments = (String)oaRow.getAttribute("ReemploymentComments");
    /* 714 */     if (ReemploymentComments == null) {
    /* 715 */       throw new OAException("Re-employment : Field should be supplied");
    /* 718 */     Number CompensationIssuesSts = (Number)oaRow.getAttribute("CompensationIssuesSts");
    /* 719 */     if (CompensationIssuesSts == null) {
    /* 720 */       throw new OAException("Compensation Satisfaction : Value should be selected");
    /* 723 */     Number JobIssuesSts = (Number)oaRow.getAttribute("JobIssuesSts");
    /* 724 */     if (JobIssuesSts == null) {
    /* 725 */       throw new OAException("Job Issues Satisfaction : Value should be selected");
    /* 728 */     Number RelationshipIssuesSts = (Number)oaRow.getAttribute("RelationshipIssuesSts");
    /* 729 */     if (RelationshipIssuesSts == null) {
    /* 730 */       throw new OAException("Relationship Issues Satisfaction : Value should be selected");
    /* 732 */     Number CulturalIssuesSts = (Number)oaRow.getAttribute("CulturalIssuesSts");
    /* 733 */     if (CulturalIssuesSts == null) {
    /* 734 */       throw new OAException("Cultural Issues Satisfaction : Value should be selected");
    /* 736 */     Number OtherJobSts = (Number)oaRow.getAttribute("OtherJobSts");
    /* 737 */     if (OtherJobSts == null) {
    /* 738 */       throw new OAException("Another Job Satisfaction : Value should be selected");
    /* 741 */     Number OtherInfoSts = (Number)oaRow.getAttribute("OtherInfoSts");
    /* 742 */     if (OtherInfoSts == null) {
    /* 743 */       throw new OAException("Other Info Satisfaction : Value should be selected");
    /* 746 */     Number TrainingSts = (Number)oaRow.getAttribute("TrainingSts");
    /* 747 */     if (TrainingSts == null) {
    /* 748 */       throw new OAException("Training Satisfaction : Value should be selected");
    /* 751 */     Number PositiveWorkSts = (Number)oaRow.getAttribute("PositiveWorkSts");
    /* 752 */     if (PositiveWorkSts == null)
    /* 753 */       throw new OAException("Positive Work Satisfaction : Value should be selected");
    /*     */   public void execWfRn(String reqId)
    /* 758 */     OAViewObject XxTedReqStatusVO = getXxTedReqStatusVO1();
    /* 759 */     XxTedReqStatusVO.setWhereClause("rej_flg <> 1 and RequestId = " + reqId);
    /* 760 */     XxTedReqStatusVO.executeQuery();
    /*     */   public void validateBlob(String vblob)
    /* 765 */     if (vblob == null)
    /* 766 */       throw new OAException("You should upload the attached resignation");
    /*     */   public void validateHrForm()
    /* 771 */     OAViewObject validateVo = getXxTedExitInterviewVO1();
    /* 772 */     OARow oaRow = (OARow)validateVo.getCurrentRow();
    /* 773 */     Date IntDate = (Date)oaRow.getAttribute("InterviewDate");
    /* 774 */     if (IntDate == null) {
    /* 775 */       throw new OAException("You should enter an interview date");
    /* 778 */     String Intterviewer = (String)oaRow.getAttribute("InterviewerName");
    /* 779 */     if (Intterviewer == null)
    /* 780 */       throw new OAException("You should enter the interview data");
    /*     */   public void clearForm()
    /* 785 */     OAViewObject mainVo = getXxTedExitInterviewVO1();
    /* 786 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
    /* 787 */     XxTedLeaveResVO.clearCache();
    /* 788 */     XxTedLeaveResVO.executeQuery();
    /* 789 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 790 */     XxTedCompenVO.clearCache();
    /* 791 */     XxTedCompenVO.executeQuery();
    /* 793 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 794 */     XxTedJobIssueVO.clearCache();
    /* 795 */     XxTedJobIssueVO.executeQuery();
    /* 797 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 798 */     XxTedRelIssueVO.clearCache();
    /* 799 */     XxTedRelIssueVO.executeQuery();
    /* 801 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 802 */     XxTedCultIssueVO.clearCache();
    /* 803 */     XxTedCultIssueVO.executeQuery();
    /* 805 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 806 */     XxTedAnotherJobVO.clearCache();
    /* 807 */     XxTedAnotherJobVO.executeQuery();
    /* 809 */     mainVo.removeCurrentRow();
    /*     */   public XxIntrvLOVVOImpl getXxIntrvLOVVO1()
    /* 815 */     return (XxIntrvLOVVOImpl)findViewObject("XxIntrvLOVVO1");
    /*     */   public XxLoGImpl getXxLoG1()
    /* 820 */     return (XxLoGImpl)findViewObject("XxLoG1");
    /////////////////////////////lamiaa///////////////
                 public XxTedExtVONEWImpl getXxTedExtVONEW1()
                    return (XxTedExtVONEWImpl)findViewObject("XxTedExtVONEW1");
      /////////////////////////////lamiaa///////////////
    /* Location:           D:\Oracle_developer\p8431482_R12_GENERIC_QF\jdevhome\jdev\myclasses\
    * Qualified Name:     xxted.oracle.apps.per.extint.server.XxTedExtAMImpl
    * JD-Core Version:    0.6.2

    The error message means you have not added the View Object to AM.
    You need to add the View Object to the AM and move the AM files to the server and bounce the server.
    Cheers
    AJ

  • Palm Profile cannot sign in and cant create new palm profile!

    Hello,
    I am looking for help with my company Pre 2 EU Unlock Phone.
    I am an HP Employee and i got my Pre 2 months ago, then i dont have any issue to create my palm profile - [email protected]
    Few days ago I wipe my phone coz it was very slow and when i try to sign in i get an error - Sign In Failed.
    Of course i check the site and everything looks fine. I delete the device under my profile coz i thought that cause any issue. And try to log on again - unsuccessfully
    Then i try to create new profile and again nothing happen
    I go to live chat and i have 3hours chat with support - again no success(Chat session ID:99825861). We try everything possible but its not working..
    Ofcourse web chat rep try to explain me that the root cause is in my carrier which is not true because my card have 3G and its working perfectly.
    Because when i type wrong password it said me password is wrong and i click on forgot password i select the secret  question and change the password via the phone - which is a clear proof that Internet 3G is working!
    Then i decide to downgrade to 2.0 - again cant login and cant create new profile, try with 2.01 again no success.
    Now back on 2.1 with #*DEVMODE# everything is working i have signal and i can use the phone but i dont have app catalog and cant install apps because there is no Palm profile on the phone.
    I try SDK tool and to  find what is the app which start profile creation card  with palm-launch but without success.
    So i have few Question
    - Do we(you) have a problem with WebOSProfile Services ?
    - why i cant create new or login to my existent profile ?
    - in DEVMODE how i can create palm profile (is that possible) and if it is how to do it ?
    - what is the HP internal group which support this services and how i can contact you internaly ?
    Looking for your reply because thats and urgent and i cant use my phone more than 3 days
    Post relates to: Pre 2 p102ueu (Unlocked EU)
    Post relates to: Pre 2 p102ueu (Unlocked EU)

    Djumanta wrote:
    Dear Friends
    Please Help me !! 
    I try to upgrade my palm pre +  and after that i cannot login to my palm profile
    i have tried so many time and it keep rejected all the time
    Please give me solution coz i cannot use my phone, i cannot make a call or anything before finish the palm profile login
    i will appriciated your help 
    Post relates to: Pixi Plus p121vzw (Verizon)
    What do you mean by "upgrade?"  If you've installed some software version that isn't supported for your device, then you may have to use the WebOS Doctor to go back to a supported version.
    If you've "upgraded" to a supported version, then this problem will require you call Palm/HP's support to find out why you can't sign into your profile.
    HTH

  • How to create and use a new jbutton method?

    hi i'm making a program which has a lot of buttons so i decided to create a jbutton method, here it is
    public JButton newButton(String url, String url2)
              URL imgURL = MachineInterface.class.getResource(url);
              ImageIcon icon = new ImageIcon(imgURL);
              JButton button = new JButton(icon);
              button.setBorder(null);
              Cursor cursor = new Cursor(Cursor.HAND_CURSOR);
              button.setCursor(cursor);
              URL imgURL2 = MachineInterface.class.getResource(url2);
              ImageIcon icon2 = new ImageIcon(imgURL2);
              button.setPressedIcon(icon2);
              return button;
         }the button shows up alrite if i do it like this
    panelEastSouth.add(tm.newButton("images/10p.png", "images/10pIn.png"));but i would like to do it like this
    newButton button10 = new newButton("images/10p.png", "images/10pIn.png");
              button10.addActionListener(this);i want it like this so i can add actionlisteners to them.
    how do i make this work?
    thanks
    brad

    newButton is a method returning a JButton, not a class, so it would be just
    JButton button10 = newButton("images/10p.png", "images/10pIn.png");
    button10.addActionListener(this);

Maybe you are looking for

  • Multiple message doanloads from POP after 10.4.4 update

    I have an iMac that has been connecting to an open source (Squirrel Mail) server just fine. I uses POP3 and have 'leave messages on server checked'. After the 10.4.4 update, I now get multiple copies of the same message every time I check email. Howe

  • Account 7034001 requires an assignment to a CO object

    Hi, Would like to seek for help with refer to above subject? Why the problem trigger and how should assign the GL account to CO object and what is the T-code for the assignment?

  • HT1296 I want to sync 2 calendars from different computers.

    It worked fine before IOS 6 and Itunes 10.  Now i'm getting a message that 1 of the computers will change by more than 25%.  In the past i was told that my information would be merged and that worked.I use Microsoft Office 2007 on both PCs.  This pro

  • Many things not working after installing Snow Leopard!

    Just installed Snow Leopard (10.6.3) on my 2.16 GHz Intel Core 2 Duo iMac and now I've got problems. All the dates I've added to iCal are gone. Almost all my address book contacts are gone. I can't access my Airport Express network. And my Epson Work

  • No support for 24p camcorders? (de-interlacing, 3:2 pull-down)

    I have the Canon HV20, which is not a new camcorder by any measure. It captures video in 24p (which is great for low-lighting conditions), but then writes it to tape in 60i. This is similar to how DVDs send cinematic video to your television. Alas, I