Hi All... Need ur help in this.

Iam desiging pop-up window, where it takes text from one textfield and pastes into other.. here is the code.. im not able to finish the code of properly, as im vry new to java.. plz help on this. Thanks in advance..
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class MyPopUp extends JApplet implements ActionListener
     Component fSelectedComponent;
     JFrame frame;
     JPopupMenu popup;
     JMenuItem one,two,three;
     Container cp;
     MouseAdapter fAdapter;
     JTextField source,dest;
     public void init()
          JFrame frame = new JFrame("Popup Example");
     frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          cp = getContentPane();
          source = new JTextField();
          dest = new JTextField();
          popup = new JPopupMenu();
          one = new JMenuItem("Add To ClipBoard");
          one.addActionListener(this);
          two = new JMenuItem("Confirm");
          two.addActionListener(this);
          three = new JMenuItem("Reset");
          three.addActionListener(this);
          popup.add(one);
          popup.add(two);
          popup.add(three);
          cp.add(source,BorderLayout.NORTH);
          cp.add(dest,BorderLayout.SOUTH);
     MouseListener mouseListener = new MouseAdapter() {
     private void showIfPopupTrigger(MouseEvent mouseEvent) {
     if (mouseEvent.isPopupTrigger()) {
     popup.show(mouseEvent.getComponent(),
                    mouseEvent.getX(),
                    mouseEvent.getY());
     public void mousePressed(MouseEvent mouseEvent) {
     showIfPopupTrigger(mouseEvent);
     public void mouseReleased(MouseEvent mouseEvent) {
     showIfPopupTrigger(mouseEvent);
     frame.addMouseListener (mouseListener);
     frame.setSize(350, 250);
     frame.setVisible(true);
     public void actionPerformed(ActionEvent me)
          if(me.getSource() == one)
               dest.setText((source.getText()).toString());
               source.setText("Clicked on Add to ClipBoard");
          if(me.getSource() == two)     {
               dest.setText((source.getText()).toString());
               source.setText("Confirm");
          if(me.getSource() == three)     {
               dest.setText((source.getText()).toString());
               source.setText("Reset");
}

What exactly are you trying to do here? didn't get it!!

Similar Messages

  • Ok i have indesign CS6 and all files are stored on a 10.7.5 MAC server.  This just started happening.  When I open a file indesigns is creating a textfile in the same folder?  I need some help on this.

    Ok i have indesign CS6 and all files are stored on a 10.7.5 MAC server.  This just started happening.  When I open a file indesigns is creating a textfile in the same folder?  I need some help on this.

    Ask in the ID forum and be much more specific about your configuration. there could be any number of reasons why manifests, temp files or restore files are created.
    Mylenium

  • Need to do a remote wipe of my iphone - stolen 24 hrs ago and . Need urgent help on this. Thanks - Pinaki

    Need to do a remote wipe of my iphone - stolen 24 hrs ago  Need urgent help on this. Thanks - Pinaki
    < Personal Information Edited By Host >

    Follow the steps in this article:
    iCloud: Erase your device
    Sign in to icloud.com/#find with your Apple ID (the one you use with iCloud), then click Find My iPhone.If you’re using another iCloud app, click the app’s name at the top of the iCloud.com window, then click Find My iPhone.If you don’t see Find My iPhone on iCloud.com, your account just has access to iCloud web-only features. To gain access to other iCloud features, set up iCloud on your iOS device or Mac.
    Click All Devices, then select the device you want to erase.If you have Family Sharing set up, your family members’ devices appear below their names.
    In the device’s Info window, click Erase [device].
    To erase:
    An iOS device: Enter your Apple ID password. If the device you’re erasing has iOS 7 or later, enter a phone number and message. The number and message will be displayed on the screen after the device is erased.

  • Error 1603: Need some help with this one

    When installing iTunes I first get an error box saying
    "Error 1406: Could not write value to key \Software\classes\.cdda\OpenWithList\iTunes.exe. Verify that you have sufficient access to that key, or contact your support personnel."
    The second one (after I click on Ignore on the last box) I get it this one:
    "Error: -1603 Fatal error during installation.
    Consult Windows Installer Help (Msi.chm) or MSDN for more information"
    Strange thing is that I do have full access to my computer (or atleast in all other cases I have had since I am the only one with an account on it).
    I have done my best in trying to solve it myself but I'm running out of ideas. I have downloaded latest versions from the website and tried installing Quicktime separately. I have also tried removing Quicktime using add/or remove programs though I just I didn't dare to take full removal because it said something about system files.
    Anyway I really need some help with this, anyone got any ideas?
    Greets,
    Sixten
      Windows XP Pro  

    Do you know how to count backwards? Do you know how to construct a loop? Do you know what an autodecrementor is? Do you know how to use String length? Do you know Java arrays start with index 0 and run to length-1? Do you know you use length on arrays too? Do you know what System.out.println does?
    Show us what you have, there isn't anything here that isn't easily done the same as it would be on paper.

  • Approximately 6% of all requests for help on this forum are ever "solved."

    Approximately 6% of all requests for help on this forum are ever "solved." And approximately 34% of all requests for help on this forum are never responded to. Even with all the caveats, these numbers are embarrassing. Good luck everyone!

    More facts and stats from the horse's mouth - http://www.mozilla.org/foundation/annualreport/2009/sustainability.html
    "Total assets as of December 31, 2009 were $143 million compared with $116 million at the end of 2008, an increase of 23 percent. Unrestricted net assets at the end of 2009 were $120 million compared with $94 million in 2008, a 28 percent increase."
    "Mozilla consolidated expenses for 2009 were $61 million, up approximately 26 percent from 2008 expenses of $49 million. Mozilla operating expenses in 2009 continued to remain highly focused on people and infrastructure."
    "At the end of 2009, Mozilla was funding approximately 250 people working around the world."
    Yes, Mozilla is indeed doing very well but they're a bit worried about the IRS audit that is currently going on.
    Now, if we take the figure from the 2008 cnet article that 80% of expenses are spent on Mozilla employees as a relatively stable benchmark for 2009, we see that employee salaries averaged out to around $200,000 dollars annually for each employee, which obviously isn't what each employee is actually getting paid, but what it does mean is that given typical corporate scaling of salaries, some folks in this non-profit are making lots and lots of money.
    The individuals who should be the most upset about Mozilla's unwillingness to invest even a fraction of its profits into building a real and responsive user support system are the collective-community-driven-volunteers who commit their free time so Mozilla can continue to cash in big time at their expense. A brilliant model!
    Again, Firefox users appreciate the work that you and the other unpaid/unacknowledged volunteers do here.... Mozilla appreciates it more.

  • Need urgent help on this error "oracle.jbo.AttrValException: JBO-27019"

    This is regarding Print Quote eror.
    "oracle.jbo.AttrValException: JBO-27019"
    I am facing the above error .(I am new to OA Framework) whenever i tried to add a new column to the select query 'Comp_info' .
    My development has come to an Halt really :(
    The code is :
    <?xml version="1.0" encoding='windows-1252'?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <!-- $Header: LinesVO.xml 115.3 2003/12/30 07:01:46 asetti noship $-->
    <ViewObject
    Name="LinesVO"
    BindingStyle="Oracle"
    CustomQuery="true"
    RowClass="oracle.apps.aso.print.server.LinesVORowImpl"
    ComponentClass="oracle.apps.aso.print.server.LinesVOImpl"
    MsgBundleClass="oracle.jbo.common.JboResourceBundle"
    FetchMode="FETCH_AS_NEEDED"
    Passivate="None"
    UseGlueCode="false" >
    <SQLQuery><![CDATA[
    SELECT
    qte.ui_line_number line_number
    ,qte.padded_concatenated_segments item_number
    ,qte.item_description item_description
    ,qte.uom_code Order_Quantity_Uom
    ,DECODE(qte.line_category_code, 'RETURN', qte.quantity*(-1), qte.quantity) Ordered_Quantity
    ,qte.line_category_code
    ,qte.service_ref_line_id
    ,UPPER(qte.service_ref_type_code) srv_ref_type_code
    ,DECODE(qte.line_category_code, 'RETURN', qte.line_list_price*(-1), qte.line_list_price) unit_list_price
    ,DECODE(qte.line_category_code, 'RETURN', qte.line_adjusted_amount*(-1), qte.line_adjusted_amount) line_adj_price
    ,DECODE(qte.line_category_code, 'RETURN', qte.line_quote_price*(-1), qte.line_quote_price) unit_selling_price
    ,DECODE(qte.line_category_code, 'RETURN', qte.extended_list_price*(-1), qte.extended_list_price) line_total_list_price
    ,DECODE(qte.line_category_code, 'RETURN', qte.extended_adjusted_amount*(-1), qte.extended_adjusted_amount) line_total_adj_amt
    ,DECODE(qte.line_category_code, 'RETURN', qte.extended_selling_price*(-1), qte.extended_selling_price) line_total
    ,line_number old_line_number
    ,to_char(qte.start_date_active,nvl(FND_PROFILE.VALUE('ICX_DATE_FORMAT_MASK'), 'DD-MON-RRRR')) start_date_active
    ,to_char(qte.end_date_active,nvl(FND_PROFILE.VALUE('ICX_DATE_FORMAT_MASK'), 'DD-MON-RRRR')) end_date_active
    ,qte.service_duration
    ,qte.service_period
    ,qte.item_type_code
    ,decode(qte.item_type_code, 'MDL', NVL(qte.complete_configuration_flag, 'N'), 'Z') Model_Status
    ,qte.quote_line_id qlid
    ,qte.quote_header_id
    ,DECODE(qte.line_category_code,
    'RETURN',
    (select qte.quantity * (nvl(sum(decode(apav.applied_flag,'Y',decode(apav.charge_type_code,NULL,0,apav.adjusted_amount),0) ), 0))
    FROM aso_price_adjustments_v apav
    where qte.quote_line_id = apav.quote_line_id )*(-1),
    (select qte.quantity * (nvl(sum(decode(apav.applied_flag,'Y',decode(apav.charge_type_code,NULL,0,apav.adjusted_amount),0) ), 0))
    FROM aso_price_adjustments_v apav
    where qte.quote_line_id = apav.quote_line_id )) line_charges
    ,DECODE(qte.line_category_code,
    'RETURN',
    (decode(qte.item_type_code,
    'MDL',
    decode (qte.config_header_id,
    NULL,
    qte.extended_selling_price,
    (select sum(QUOTE_LINES.LINE_QUOTE_PRICE * QUOTE_LINES.QUANTITY)
    from ASO_QUOTE_LINES_ALL QUOTE_LINES,
    ASO_QUOTE_LINE_DETAILS QUOTE_LINE_DETAILS
    where quote_line_details.config_header_id=qte.config_header_id
    and quote_line_details.quote_line_id =quote_lines.quote_line_id)),
    qte.extended_selling_price))*(-1),
    (decode(qte.item_type_code,
    'MDL',
    decode (qte.config_header_id,
    NULL,
    qte.extended_selling_price,
    (select sum(QUOTE_LINES.LINE_QUOTE_PRICE * QUOTE_LINES.QUANTITY)
    from ASO_QUOTE_LINES_ALL QUOTE_LINES,
    ASO_QUOTE_LINE_DETAILS QUOTE_LINE_DETAILS
    where quote_line_details.config_header_id=qte.config_header_id
    and quote_line_details.quote_line_id =quote_lines.quote_line_id)),
    qte.extended_selling_price))) model_total
    ,qte.attribute3 Comp_Info
    FROM
    aso_pvt_quote_lines_bali_v qte
    ]]></SQLQuery>
    <DesignTime>
    <Attr Name="_isCodegen" Value="true" />
    <Attr Name="_version" Value="9.0.3.11.21" />
    <Attr Name="_CodeGenFlagNew" Value="36" />
    </DesignTime>
    <ViewAttribute
    Name="LineNumber"
    IsQueriable="false"
    IsPersistent="false"
    Precision="4000"
    Type="java.lang.String"
    AliasName="UI_LINE_NUMBER"
    ColumnType="VARCHAR2"
    Expression="UI_LINE_NUMBER"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="4000" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="ItemNumber"
    IsQueriable="false"
    IsPersistent="false"
    Precision="30"
    Type="java.lang.String"
    AliasName="LINE_SEGMENT"
    ColumnType="VARCHAR2"
    Expression="LINE_SEGMENT"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="comp_product"
    IsQueriable="false"
    IsPersistent="false"
    Precision="30"
    Type="java.lang.String"
    AliasName="comp_product"
    ColumnType="VARCHAR2"
    Expression="comp_product"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="ItemDescription"
    IsQueriable="false"
    IsPersistent="false"
    Precision="240"
    Type="java.lang.String"
    AliasName="LINE_DESC"
    ColumnType="VARCHAR2"
    Expression="LINE_DESC"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="240" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="OrderQuantityUom"
    IsQueriable="false"
    IsPersistent="false"
    IsNotNull="true"
    Precision="3"
    Type="java.lang.String"
    AliasName="LINE_UOM_CODE"
    ColumnType="VARCHAR2"
    Expression="LINE_UOM_CODE"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="3" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="OrderedQuantity"
    IsQueriable="false"
    IsPersistent="false"
    IsNotNull="true"
    Precision="255"
    Type="oracle.jbo.domain.Number"
    AliasName="LINE_QTY"
    ColumnType="VARCHAR2"
    Expression="LINE_QTY"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="LineCategoryCode"
    IsQueriable="false"
    IsPersistent="false"
    Precision="30"
    Type="java.lang.String"
    AliasName="LINE_CATEGORY_CODE"
    ColumnType="VARCHAR2"
    Expression="LINE_CATEGORY_CODE"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="ServiceRefLineId"
    IsQueriable="false"
    IsPersistent="false"
    Type="oracle.jbo.domain.Number"
    AliasName="SERVICE_REF_LINE_ID"
    ColumnType="VARCHAR2"
    Expression="SERVICE_REF_LINE_ID"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="SrvRefTypeCode"
    IsQueriable="false"
    IsPersistent="false"
    Precision="30"
    Type="java.lang.String"
    AliasName="SRV_REF_TYPE_CODE"
    ColumnType="VARCHAR2"
    Expression="SRV_REF_TYPE_CODE"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="UnitListPrice"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="oracle.jbo.domain.Number"
    AliasName="LINELIST_PRICE"
    ColumnType="VARCHAR2"
    Expression="LINELIST_PRICE"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="LineAdjPrice"
    IsQueriable="false"
    IsPersistent="false"
    Type="oracle.jbo.domain.Number"
    AliasName="LINE_ADJ_PRICE"
    ColumnType="VARCHAR2"
    Expression="LINE_ADJ_PRICE"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="UnitSellingPrice"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="oracle.jbo.domain.Number"
    AliasName="LINE_NET_PRICE"
    ColumnType="VARCHAR2"
    Expression="LINE_NET_PRICE"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="LineTotalListPrice"
    IsQueriable="false"
    IsPersistent="false"
    Type="oracle.jbo.domain.Number"
    AliasName="LINE_TOTAL_LIST_PRICE"
    ColumnType="VARCHAR2"
    Expression="LINE_TOTAL_LIST_PRICE"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="LineTotalAdjAmt"
    IsQueriable="false"
    IsPersistent="false"
    Type="oracle.jbo.domain.Number"
    AliasName="LINE_TOTAL_ADJ_AMT"
    ColumnType="VARCHAR2"
    Expression="LINE_TOTAL_ADJ_AMT"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="LineTotal"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="oracle.jbo.domain.Number"
    AliasName="LINE_TOTAL_NET_PRICE"
    ColumnType="VARCHAR2"
    Expression="LINE_TOTAL_NET_PRICE"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="OldLineNumber"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="oracle.jbo.domain.Number"
    AliasName="LINE_NUMBER"
    ColumnType="VARCHAR2"
    Expression="LINE_NUMBER"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="StartDateActive"
    IsQueriable="false"
    IsPersistent="false"
    DiscrColumn="true"
    Precision="255"
    Type="java.lang.String"
    AliasName="START_DATE_ACTIVE"
    ColumnType="VARCHAR2"
    Expression="START_DATE_ACTIVE"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="7" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="EndDateActive"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="java.lang.String"
    AliasName="END_DATE_ACTIVE"
    ColumnType="VARCHAR2"
    Expression="END_DATE_ACTIVE"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="7" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="ServiceDuration"
    IsQueriable="false"
    IsPersistent="false"
    Type="oracle.jbo.domain.Number"
    AliasName="SERVICE_DURATION"
    ColumnType="VARCHAR2"
    Expression="SERVICE_DURATION"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="ServicePeriod"
    IsQueriable="false"
    IsPersistent="false"
    Precision="3"
    Type="java.lang.String"
    AliasName="SERVICE_PERIOD"
    ColumnType="VARCHAR2"
    Expression="SERVICE_PERIOD"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="3" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="ItemTypeCode"
    IsQueriable="false"
    IsPersistent="false"
    Precision="30"
    Type="java.lang.String"
    AliasName="ITEM_TYPE_CODE"
    ColumnType="VARCHAR2"
    Expression="ITEM_TYPE_CODE"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="ModelStatus"
    IsUpdateable="false"
    IsQueriable="false"
    IsPersistent="false"
    Precision="1"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    Expression="ModelStatus"
    SQLType="VARCHAR" >
    </ViewAttribute>
    <ViewAttribute
    Name="Qlid"
    IsQueriable="false"
    IsPersistent="false"
    IsNotNull="true"
    Precision="1"
    Type="oracle.jbo.domain.Number"
    AliasName="QLID"
    ColumnType="VARCHAR2"
    Expression="QLID"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="QuoteHeaderId"
    IsQueriable="false"
    IsPersistent="false"
    IsNotNull="true"
    Type="oracle.jbo.domain.Number"
    AliasName="QUOTE_HEADER_ID"
    ColumnType="VARCHAR2"
    Expression="QUOTE_HEADER_ID"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="LineCharges"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="oracle.jbo.domain.Number"
    AliasName="LINE_TOTAL_CHARGES"
    ColumnType="VARCHAR2"
    Expression="LINE_TOTAL_CHARGES"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="ModelTotal"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="oracle.jbo.domain.Number"
    AliasName="MODEL_TOTAL"
    ColumnType="VARCHAR2"
    Expression="MODEL_TOTAL"
    SQLType="NUMERIC" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="Comp_Info"
    IsQueriable="false"
    IsPersistent="false"
    Precision="30"
    Type="java.lang.String"
    AliasName="Comp_Info"
    ColumnType="VARCHAR2"
    Expression="Comp_Info"
    SQLType="VARCHAR" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30" />
    </DesignTime>
    </ViewAttribute>
    <ViewLinkAccessor
    Name="ServiceToOrderLineVO"
    ViewLink="oracle.apps.aso.print.server.ServiceToOrderLineVL"
    Type="oracle.jbo.RowIterator"
    IsUpdateable="false" >
    </ViewLinkAccessor>
    <ViewLinkAccessor
    Name="ServiceToInstBaseVO"
    ViewLink="oracle.apps.aso.print.server.ServiceToInstBaseVL"
    Type="oracle.jbo.RowIterator"
    IsUpdateable="false" >
    </ViewLinkAccessor>
    <ViewLinkAccessor
    Name="QuoteLineChargesVO"
    ViewLink="oracle.apps.aso.print.server.QuoteLineChargesVL"
    Type="oracle.jbo.RowIterator"
    IsUpdateable="false" >
    </ViewLinkAccessor>
    <ViewLinkAccessor
    Name="QuoteLineTaxesVO"
    ViewLink="oracle.apps.aso.print.server.QuoteLineTaxesVL"
    Type="oracle.jbo.RowIterator"
    IsUpdateable="false" >
    </ViewLinkAccessor>
    <ViewLinkAccessor
    Name="LineTemplateVO"
    ViewLink="oracle.apps.aso.print.server.LineTemplateVL"
    Type="oracle.jbo.RowIterator"
    IsUpdateable="false" >
    </ViewLinkAccessor>
    <ViewLinkAccessor
    Name="LineAttachmentVO"
    ViewLink="oracle.apps.aso.print.server.LineAttachmentVL"
    Type="oracle.jbo.RowIterator"
    IsUpdateable="false" >
    </ViewLinkAccessor>
    </ViewObject>
    It gives me an error as "oracle.jbo.AttrValException: JBO-27019: Get method for attribute "comp_info" in LinesVO_HeaderLinesVL_LinesVO could not be resolved.
    I have added the getter and setter as well in the RowImpl.java file but still its givn this error.
    I need to add many more columns after this error is solved.
    I tried all permutation n combination but all in vain.
    Any help on this would be highly appreciated.
    Thanks,
    Ajit

    Ajit,
    Writing getter/setter methods manually is not a good idea, when jdev provides u that facility. Moreover in ur case i m getting a feeling as if ur VO mappings are corrupted. Can u try one thing ,assuming this is a custom VO,Delete the VO from the project and delete all related files in myclasses and my projects.Recreate the VO with all the attributes and try if same error is coming.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Need some help with this code.

    var myDoc = app.documents[0]
    var mySel = app.selection[0]
    var myStory = mySel.parentStory; // Now we are pointing to the entire story
    var myHolidayStyle1 = "Holiday-Header" // Header 'day of the week'
    var myHolidayStyle2 = "Holiday-Sub-Heading-Date" // Header 'month and day'
    var myHolidayStyle3 = "Holiday-Header-Body" // Lead Paragraph 'default paragraph style'
    if (mystory = "Monday" ) {
        paragraphs(0).appliedparagraphstyles = myHolidayStyle1;
    else if (mystory = "Tuesday") {
        mystory.paragraphs(0). appliedparagraphstyles = myHoldiayStyle1;
    else if (mystory = "Wednesday") {
        mystory.papragraph(0).appliedparagraphstyles = myHolidayStyle1;
    else if (mystory = "Thursday") {
        mystory.paragraphs(0).appliedparagraphstyles = myHolidayStyle1;
    else if (mystory = "Friday")  {
        mystory.paragraphs(0).appliedparagraphstyle = myHolidayStyle1;
    else if (mystory = "Saturday") {
        mystory.paragraphs(0).appliedparagrahstyles = myHolidayStyle1;
    else if (mystory = "Sunday") {
        mystory.paragraphs(0).appliedparagraphstyles = myHolidayStyle1;
    // it finds if in the selection of the month and day if they equal for example Decmeber 15 then applies the HolidaySub-Heading-Date
    if   (mystory = "December 15") {
        mystory. paragraphs(1).appliedparagraphstyles = myHolidayStyle2;
    else if (mystory = "December 15") {
        mystory. paragraphs(1).appliedparagraphstyles = myHolidayStyle2;
    else if (mystory = "December 16") {
        mystory. paragraphs(1).appliedparagraphstyles = myHolidayStyle2;
    else if (mystory = "December 17") {
        mystory. paragraphs(1).appliedparagraphstyles = myHolidayStyle2;
    else if (mystory = "December 18") {
        mystory. paragraphs(1).appliedparagraphstyles = myHolidayStyle2;
    else if (mystory = "December 19") {
        mystory. paragraphs(1).appliedparagraphstyles = myHolidayStyle2;
    else if (mystory = "December 20") {
        mystory. paragraphs(1).appliedparagraphstyles = myHolidayStyle2;
    else if (mystory = "December 21") {
        mystory. paragraphs(1).appliedparagraphstyles = myHolidayStyle2;
    else if (mystory = "December 22") {
        mystory. paragraphs(1).appliedparagraphstyles = myHolidayStyle2;
    else if (mystory = "December 23") {
        mystory. paragraphs(1).appliedparagraphstyles = myHolidayStyle2;
    else if (mystory = "December 24") {
        mystory. paragraphs(1).appliedparagraphstyles = myHolidayStyle2;
    else if (mystory = "December 25") {
        mystory. paragraphs(1).appliedparagraphstyles = myHolidayStyle2;
    // If text doesn't  equal Day of the week like Monday and doesn't equal month and date like Decmber 14
    // then the document loops into doing the the rest of the document in Holiday-Header-Body
    // not sure if this loop will stop once it reaches another day of the week and then repeat the above tasks again.
    if (mystory =!  [myHolidayStyle0], [myHolidayStyle1]) { // not sure if I did this IF selection not equal Holidaystyle 0 and style 1 then perform loop, correctly???
        for (loop=0; loop<myStory.paragraphs.length; loop++)
      myStory.paragraphs[loop].appliedParagraphStyle = myHolidayStyle3;
    =============================
    ==========================
    I'm getting a error saying Paragraph is not a function, but nor is mystory.paragraph(0) , so i'm just trying to figure out what synax goes before that.
    =============================
    The text that is bold is the prolbem i'm having. I just got  a Javascript bible on how to program in javascript. How would i make that function work. I'm sure its simple. I'm just hoping I have If some Then ({) command follow by what I want it to do is correct. And I'm understanding this. there is so many different syntax's to choose from, any help would be appreciated. I work for a Newspaper company, and Indesign CS3 Javascript coding is a bit diffrent from normal javascript.

    Okie, I'm making progress now. Because well it didnt crash, but then again, LOL the script didnt apply the paragraph styles when I selected the text!
    any suggestions?
    I'm also getting a weird error now with the loop, but I also dont think its working because maybe the myStyle and myStle1 aren't applying themselves correctly, in the first part of the script.
    this is the Error Message:
    Error Number : 30477
    Error String: Invalid value of set propert 'appliedParagraphStyle'. Expected ParagraphStyle or String, but Recieved nothing.
    Line: 110
    Source: myStory.paragraphs[loop].appliedParagraphStyle = myStyle3;
    //var myDoc = app.documents[0]
    var mySel = app.selection[0];
    var myStory = mySel.parentStory; // Now we are pointing to the entire story
    var myStyle = app.activeDocument.paragraphStyles.item ( "Holiday-Header" ) ;
    var myStyle1 = app.activeDocument.paragraphStyles.item ( "Holiday-Sub-Heading-Date" ) ;
    var myStyle3 = app.activeDocument.paragraphStyles.item ( "Holiday-Header-Body" ) ;
    if (myStory.contents == "Monday" ) {
        myStory.paragraphs.appliedParagraphStyle = myStyle;
    else if  (myStory.contents == "Tuesday") {
        myStory.paragraphs[0]. appliedParagraphStyle = myStyle;
    if  (myStory.contents == "Wednesday") {
        myStory.papragraph[0].appliedparagraphstyle = myStyle;
    else if (myStory.contents == "Thursday") {
        myStory.paragraphs[0].appliedparagraphstyle = myStyle;
    if  (myStory.contents == "Friday")  {
        myStory.paragraphs[0].appliedparagraphstyle = myStyle;
    else if (myStory.contents == "Saturday") {
        myStory.paragraphs[0].appliedparagrahstyle = myStyle;
    if  (myStory.contents == "Sunday") {
        myStory.paragraphs[0].appliedparagraphstyle = myStyle;
    // it finds if in the selection of the month and day if they equal for example Decmeber 15 then applies the HolidaySub-Heading-Date
    if   (myStory.contents == "December 2") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    else if (myStory.contents == "December 3") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    if   (myStory.contents == "December 4") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    else if (myStory.contents == "December 5") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    if   (myStory.contents == "December 6") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    else if (myStory.contents == "December 7") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    if   (myStory.contents == "December 8") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    else if (myStory.contents == "December 9") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    if   (myStory.contents == "December 10") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    else if (myStory.contents == "December 11") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    if   (myStory.contents == "December 12") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    else if (myStory.contents == "December 13") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    if   (myStory.contents == "December 14") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    else if (myStory.contents == "December 15") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    if  (myStory.contents == "December 16") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    else if (myStory.contents == "December 17") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    if  (myStory.contents == "December 18") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    else  if (myStory.contents == "December 19") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    if  (myStory.contents == "December 20") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    else if (myStory.contents == "December 21") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    if  (myStory.contents == "December 22") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    else if (myStory.contents == "December 23") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    if  (myStory.contents == "December 24") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    else if (myStory.contents == "December 25") {
        myStory. paragraphs[1].appliedparagraphstyle = myStyle1;
    // If text doesn't  equal Day of the week like Monday and doesn't equal month and date like Decmber 14
    // then the document loops into doing the the rest of the document in Holiday-Header-Body
    // not sure if this loop will stop once it reaches another day of the week and then repeat the above tasks again.
    // not sure if I did this IF selection not equal mystyle and mystyle1 then perform loop, is done correctly???
    if (myStory.contents !=  (myStyle && myStyle1)) {
       for (loop=0; loop<myStory.paragraphs.length; loop++)
      myStory.paragraphs[loop].appliedParagraphStyle = myStyle3;
        I'm truly grateful for the Support and Assistance everyone has been providing me, I'm learning, and I thank you all for your help.

  • Need a help on this scenario

    Hi,
    Scenario: monthly data needs to be divided into weekly data acording to the number of weeks in that month.
    eg: create table Sdata ( joindate DATE, members number(8));
    Insert into Sdata (joindate,members)values ('28-apr-11',8);
    Joindate Members
    28-apr-11 8
    I need the output as weekly wise (equally dividing the members according to the number of weeks in that month). Joindate will be the start date of the week.
    Joindate Members
    04-apr-11 2
    11-apr-11 2
    18-apr-11 2
    25-apr-11 2
    Can someone help me on this.
    Thanks
    Padma

    Hi, Padma,
    Padu wrote:
    Scenario: monthly data needs to be divided into weekly data acording to the number of weeks in that month.
    eg: create table Sdata ( joindate DATE, members number(8));
    Insert into Sdata (joindate,members)values ('28-apr-11',8);
    Joindate Members
    28-apr-11 8
    I need the output as weekly wise (equally dividing the members according to the number of weeks in that month). Joindate will be the start date of the week.
    Joindate Members
    04-apr-11 2
    11-apr-11 2
    18-apr-11 2
    25-apr-11 2Sorry, I don't understand.
    Post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables.
    Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
    Always say which version of Oracle you're using.
    Do your weeks always begin on Monday? If so
    TRUNC (dt, 'IW')will map all dts in the same week to the first point in that week.
    For example
    SELECT  TRUNC ( DATE '2011-04-28'
                  , 'IW'
    FROM    dual;produces April 25, 2011 (00:00:00), which is the last Monday on or before the given DATE.

  • I NEED SERIOUS HELP WITH THIS, i cant even USE my ipod, whatsoever....

    I just got a new IPOD classic 80 GB for my birthday. I needed to update my itunes. Keep in mind, i had 7.3 before trying to update. So its downloaded, and as i start the process....not even 4 seconds in a screen comes up saying
    "Another Installation is in progress. You must complete that one before contuining this one" along with a screen saying "MsiExec.exe has encountered a problem...". i've restarted my computer, uninstalled my itunes thinking that may have been causing the problem. i have no idea what program i need to install or is in the process already! the only thing i think i possibly need to register my ipod. this has been happening for about 2 hours and i'd really like some advice in solving the issue.

    Registering your iPod just puts you in the Apple systems for tech support, etc. So it doesn't really change anything with your computer.
    What I'd recommend, though is to completely uninstall all the software and reinstall like in this article. But if that doesn't work, I find that installing through another user account can usually resolve the issue for me (since it actually installs systemwide instead of just user specific).
    I hope I was helpful,
    iTunes Helper.

  • Need some help with this Design.  Not sure if it can be done.

    I am a full time RVer. I have a complex system installed in my RV. I am trying to share a wireless or use my AE to feed internet to the devices in my rack and allow my Apple TV to connect to my MBP over gigabit for streaming reasons.
    Is there a way to share my internet to the AE so that it will feed the 3 ports? Can I somehow connect to a hotspot and share that internet connection to the other devices on my network wired and wireless?? I am mainly concerned with getting internet to the ATV while connected to it via ethernet for the gigabit connection.
    It seems that I can connect the AE to a hotspot or WAP, but then I loose the ability to turn bridged mode off so that it will hand out DHCP ip addresses to the ethernet devices. I cannot extend any network unless the hotspot is using an apple device for its WAP. This is what apple told me when I was trying to extend my Linksys WAP4400N.
    Any ideas or advice here would be great. I am just stuck for a solution to what I want to accomplish.
    Thanks

    One possible solution....(if I understand correctly what you're trying to accomplish with what you have to work with) I'm assuming that the Linksys has no internet connection in the RV and isn't really needed in my idea below.....or do you have a satellite connection (or some other internet source besides a public wireless network?
    You could have your MBP join the wireless network, set up internet sharing (see OS X help) and share from airport to ethernet, connect an ethernet cable from MBP to WAN port on the Extreme, set the Extreme's connection sharing to "share a public IP", ignore the double NAT error (or you may be able to bridge it, I can't remember if the MBP will hand out several IPs but I think it will), and plug your Apple TV into a LAN port on the Extreme. Come to think about it, you really don't even need the Extreme unless you need other clients to connect, just plug the Apple TV into the MBP.
    hope it helps

  • Need a help to this but I can't find a specific community.

    Hi Guys,
    I got some designs that I need to do a Mock-up on Responsive HTML5 (JUST MOBILE.. not desktop So I need to build something just for Phones and Tablets). I got all the screens on Photoshop. I need to get those designs and build a responsive prototype on HTML5...
    Should I use EdgeReflow ?? The code will be clean and nice? OR  Should  I build on Muse?
    I don't have time to code everything .. Need some magic tool that will make the stuff.
    After build the prototype I will give to the Back-end guy, he will do his job with "getting data from the server stuff" and we will put the files on PhoneGap to build a Hybrid App.
    What is the best choice? Deadline is short.
    Cheers!!
    JUST SOME EXAMPLES:
    TABLET:
    PHONE:

    Welcome to the Apple Community.
    The following article(s) may help you.
    Auto renewing subscriptions       
    I have asked for your email address to be edited out. Posting your address in an open thread is a sure way to be bombarded by unwanted email, remember it will be here long after you have resolved your problem, for automated detection software to find.
    If you want people to contact you, enable others to see your email address in your profile.

  • HI again i need some help in this,bcz its urgent and i need a solution

    Hi All
      I have to dispaly the user exit of a particular IDOC and i have done the following process.
    1-I am entering the Message type in a parameter opeion than a i am getting the function module of that particulat message type through select statement from the table edifct.
    Now i cant able to understand how to get the userexit from that Function Module.
    If anybody ever face such kind or problem than plz give me some idea or give me some codes related to this.
    I got some help from SDM but that was not sufficient to move further from the point where i am stucking now.
    Thanks
    Mrutyunjaya Tripathy

    Hi,
    You have not mentioned which IDOC type and Function module you are looking. It might happen that user-exit is not provided in FM which you are looking.
    Go to display mode of required function module and search gloablly for string 'CUSTOMER-FUNCTION'. If you find one then your work is done. Also look of BADI's if there is any.
    I hope this will help you to look for your exit.

  • I need to call some privileged APIs and need some help on this.

    First the Basics:
    This program auto-launches each time a user logs in. It is an authentication type of program. Only users with this app running will be allowed to use a secure network.
    I need to be able to read and write from the route / arp tables, and possibly be able to 'reset' a network adapter. These are the privileged APIs I need to call. I have only found "UNIX" APIs to do this, no apple APIs although I am sure they would have the same restrictions.
    Anyway, what I don't want is that elevate privileges prompt each time a user logs in. I am sure this would become very annoying.
    Possible solutions (I have no idea how to do these):
    1. The installer sets it up to run with admin / privileged access when it starts. I only know how to get a program to start with user privileges (the one that logged in).
    2. The installer flags / registers something that this app can make those API calls. IE: The App is trusted.
    3. The program is split in to two parts and uses Interprocess communication to talk to the privileged part. This still leaves problem #1, how do you get an app to launch as privileged.
    Any other ideas and suggestions would be welcomed.

    What you normally do in this case is write a kernel extension that does all the work and then have a user interface that the user runs. What you are describing sounds very much like a VPN. This is exactly how the Cisco VPN software works, for example.

  • HT5654 After updating iCloud application on Vista I am unable to access iTunes, I get the following message: (Need to reinstall application, APSDameon.exe, MSVCR80.dll cannot be found)    I need some help rectifying  this issue because I cannot reinstall

    Hello,
    I have installed the update that was sent on or around January 24th - 26th 2014, after the failure of the apple iTunes update the iCloud update was installed.  Ever since these 2 updates I am unable to open iTunes and I receive the following message: (need to reinstall iTunes application, APSDameon.exe and MISVCR80.dll cannot be found).  I have tried reinstalling iTunes and cannot do so, I really do not want and cannot afford to restore my pc to a previous date because of new data on my PC.  I am requesting assistance from support so that I can rectify this issue, thanks in advance for any assistance you may provide.    

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • Need a help with this max query

    select SEARCH_ID, SEARCH_KEYWORD, COUNT, ASSET_TYPE from RELEVANCY_TABLE
    where SEARCH_KEYWORD = 'search_keyword'
    and ASSET_TYPE is not null
    558
    search_keyword
    3
    desk
    559
    search_keyword
    7
    table
    I actually need to get the asset_type for which count is the maximum. In this case it should be 'table'. Any help?

    adfSonal wrote:
    Is there any other way? I have to write this query in Java. So I will prefer avoiding rank or such functions.
    Won't I get the desired result just using select, where, max, rownum clauses?
    What do you mean by "I have to write this query in Java"? Any ways the query will be run against a Oracle DB, correct?
    Any ways using ROWNUM
    select *
    from   (
            select search_id
            ,      search_keyword
            ,      count
            ,      asset_type
            from   relevancy_table
            where  search_keyword = 'search_keyword'
            and    asset_type is not null
            order
            by     count desc
    where  rownum = 1

Maybe you are looking for

  • Skillbuilders modal page item references

    I have built an application that uses the Skillbuilders modal page - in this page there are two items that have Skillbuilders super lov (2.0.2) plug-in. The Sql statement for the second item, Task, includes a reference to the first item (Project), as

  • I moved and can't connect to dial up

    I recently moved somewhere that has no high speed connection available. All that we have is dial-up and I can't get my mac osx 10.4.11 online. Is there anything I can do?

  • Can I Manually Create an iMovie Event Library

    When we import movies from our digital camcorder, I like the way iMovie automatically creates event libraries for the year in which the movies were filmed. However, when we bring in analog media (using a converter), it simply imports the movies into

  • INFOSET SQ02

    Hi friends, I am new to ABAP Query, when we create infoset, it shows 4 options for our data source, i want to work with 4th option ie..<b>Data Retrieval from program</b> , can any one through light on it. any kind of document ar any kind of help is r

  • Licensing and Support of BC4J on JBoss

    We have an application that uses BC4J (JDeveloper 9.0.4 I believe) that we want to move to JBoss. I have 2 questions: 1. What licence do we need to run this configuration? 2. What support is there for this technology? I realise that this is quuite an