How to input NaN in LV8.5

I'm attempting to do the empty waveform trick to make a graph appear to have 2 different colors, but I can't seem to input NaN into my arrays.  I've tried using positive infinity, 1/0, and NaN in a numeric constant, but they all default to ~2.25E9.  How else can I do this?
Solved!
Go to Solution.

Are you sure the representation for the numeric is set for double?  2.25 e9 is close to the limits for an I32 integer.  I had no problem with LV 8.5.1.  If I have a constant set for I32 and enter NaN, it automatically converts the constant to DBL.  If it is part of an array, it does not convert automatically.
Message Edited by Ravens Fan on 11-02-2008 02:19 PM

Similar Messages

  • How to input data into an arraylist from a text file?

    I am trying to take data from a text file and put that data into an arraylist. First here is the text file:
    [item1, 10, 125.0, item2, 10, 12.0, item3, 20, 158.0]
    3
    4530.0
    [item5, 65, 555.5, item4, 29, 689.0]
    2
    56088.5
    [item7, 84, 34.5, item6, 103, 0.5, item8, 85, 1.36]
    3
    3065.1The text between the [ ] is the output from my arraylists. I have three arraylists. The first [ ] belongs to arraylist A, the second to arraylist B, and the third to arraylist C. The format of the arraylists is this:
    <item name>,<# in stock>,<value of one item>
    The first number below the arraylists in the text file represents the number of items in the list. The second number below the arraylists represents the total value of the items in the arraylists.
    Here is the class file I have (yes, it does everything):
    import java.io.*;
    import java.util.Scanner;
    import java.util.ArrayList;
    public class Inventory extends Object
         public int toAdd = 0;
         private boolean done = false;               //Are we done yet?
         public String strItemName;                    //The name of the item type.
         public int intNumInStock;                    //The number in stock of that type.      
         public double dblValueOfOneItem;          //The value of one item.
        public String strNumberInStock;               
        public double dblTotalValueA;               //The total value of warehouse A.
        public double dblTotalValueB;               //The total value of warehouse B.
        public double dblTotalValueC;               //The total value of warehouse C.
        public int intWarehouseAItemCount;          //Counter for items in warehouse A.
        public int intWarehouseBItemCount;          //Counter for items in warehouse B.
        public int intWarehouseCItemCount;          //Counter for items in warehouse C.
         ArrayList warehouseAList = new ArrayList();     //Create the Warehouse A ArrayList.                                   
         ArrayList warehouseBList = new ArrayList(); //Create the Warehouse B arrayList.
         ArrayList warehouseCList = new ArrayList(); //Create the Warehouse C arrayList.
         /** Construct a new Inventory object. */
         public Inventory()
              super();
         /**Add items to the Warehouse A ArrayList.*/
         private void createWareHouseA()
              System.out.println("!" + toAdd + " item types will be added to warehouse A.");
              //Cast
              String strNumInStock = Integer.toString(intNumInStock);
              String strValueOfOneItem = Double.toString(dblValueOfOneItem);
              this.strNumberInStock = strNumInStock;
              System.out.println("!Initial size of warehouseAList :  " +
                                                                warehouseAList.size());
              //Add items to the array List
              warehouseAList.add(this.strItemName);
              warehouseAList.add(this.strNumberInStock);
              warehouseAList.add(this.dblValueOfOneItem);
              System.out.println("!size of arrayList after additions " + warehouseAList.size());
         /**Add items to the Warehouse B ArrayList.*/
         private void createWareHouseB()
              System.out.println("!" + toAdd + " item types will be added to warehouse B.");
              //Cast
              String strNumInStock = Integer.toString(intNumInStock);
              String strValueOfOneItem = Double.toString(dblValueOfOneItem);
              this.strNumberInStock = strNumInStock;
              System.out.println("!Initial size of warehouseBList :  " +
                                                                warehouseBList.size());
              //Add items to the array List
              warehouseBList.add(this.strItemName);
              warehouseBList.add(this.strNumberInStock);
              warehouseBList.add(this.dblValueOfOneItem);
              System.out.println("!size of arrayList after additions " + warehouseBList.size());
         /**Add items to the Warehouse C ArrayList.*/
         private void createWareHouseC()
              System.out.println("!" + toAdd + " item types will be added to warehouse C.");
              //Cast
              String strNumInStock = Integer.toString(intNumInStock);
              String strValueOfOneItem = Double.toString(dblValueOfOneItem);
              this.strNumberInStock = strNumInStock;
              System.out.println("!Initial size of warehouseCList :  " +
                                                                warehouseCList.size());
              //Add items to the array List
              warehouseCList.add(this.strItemName);
              warehouseCList.add(this.strNumberInStock);
              warehouseCList.add(this.dblValueOfOneItem);
              System.out.println("!size of arrayList after additions " + warehouseCList.size());
         /**Interpret the commands entered by the user.*/
         public void cmdInterpreter()
              this.displayHelp();
              Scanner cin = new Scanner(System.in);
              while (!this.done)
                   System.out.print(">");
                   //"line" equals the next line of input.
                   String line = cin.nextLine();
                   this.executeCmd(line);
         /**Execute one line entered by the user.
          * @param cmdLN; The command entered by the user to execute. */
          private void executeCmd(String cmdLN)
               Scanner line = new Scanner(cmdLN);
               if (line.hasNext())
                    String cmd = line.next();
                    //What to do when users enter the various commands below.
                    if (cmd.equals("help"))
                         this.displayHelp();
                    else if (cmd.equals("Q!"))
                         this.done = true;
                    else if (cmd.equals("F") && line.hasNext())
                         this.inputFromFile(line.next());
                    else if (cmd.equals("K") && line.hasNext())
                         int numItemsToAdd = Integer.valueOf( line.next() ).intValue();
                         this.toAdd = numItemsToAdd;
                         this.inputFromKeyboard(numItemsToAdd);
          /**What to do if input comes from a file.
           *     @param inputFile; The name of the input file to process.*/
          private void inputFromFile(String inputFile)
               Scanner cin = new Scanner(System.in);
               System.out.println("!Using input file " + inputFile + ".");
               System.out.print("!Enter the name of the output file: ");
               String outputFile = cin.next();
               System.out.println("!Using output file " + outputFile + ".");
              try
                   BufferedReader in = new BufferedReader(new FileReader(inputFile));
                   //Scanner in = new Scanner(new File(inputFile));
                   //Initialize the String variables.
                   String line1 = null;
                   String line2 = null;
                   String line3 = null;
                   String line4 = null;
                   String line5 = null;
                   String line6 = null;
                   String line7 = null;
                   String line8 = null;
                   String line9 = null;
                   System.out.println(in.equals(",") + " see?");
                   //System.out.println((char)(char)in.read() + " experiment");
                   /**This loop assigns values to the string variables based on the
                    * values on each line in the input file. */
                   while(in.readLine() != null)
                        line1 = in.readLine();
                        line2 = in.readLine();
                        line3 = in.readLine();
                        line4 = in.readLine();
                        line5 = in.readLine();
                        line6 = in.readLine();
                        line7 = in.readLine();
                        line8 = in.readLine();
                        line9 = in.readLine();
                   //Print the contents of each line in the input file.
                   System.out.println("!value of line 1: " + line1);
                   System.out.println("!value of line 2: " + line2);
                   System.out.println("!value of line 3: " + line3);
                   System.out.println("!value of line 4: " + line4);
                   System.out.println("!value of line 5: " + line5);
                   System.out.println("!value of line 6: " + line6);
                   System.out.println("!value of line 7: " + line7);
                   System.out.println("!value of line 8: " + line8);
                   System.out.println("!value of line 9: " + line9);
                /**Add items to the warehouses.*/
                   warehouseAList.add(line1);
                   warehouseBList.add(line4);
                   warehouseCList.add(line7);
                /**Add the item count and total value for warehouse A.*/
                   int intLine2 = Integer.valueOf(line2).intValue();
                   this.intWarehouseAItemCount = intLine2;
                   double dblLine3 = Double.valueOf(line3).doubleValue();
                   this.dblTotalValueA = dblLine3;
                /**Add the item count and total value for warehouse B.*/
                   int intLine5 = Integer.valueOf(line5).intValue();
                   this.intWarehouseBItemCount = intLine5;
                   double dblLine6 = Double.valueOf(line6).doubleValue();
                   this.dblTotalValueB = dblLine6;
                /**Add the item count and total value for warehouse C.*/
                  int intLine8 = Integer.valueOf(line8).intValue();
                  this.intWarehouseCItemCount = intLine8;
                  double dblLine9 = Double.valueOf(line9).doubleValue();
                  this.dblTotalValueC = dblLine9;
                /**Ask the user how many items to add or delete from inventory.*/
                  System.out.print("Enter the number to add to inventory for " +
                                                               warehouseAList.get(0) + ":");
                  String toAddOrDel = cin.next();
                /**Print the contents of all the warehouses. */
                   System.out.println(" ");
                   //Print the contents of warehouse A.
                   System.out.println("!--------------------------------");
                   System.out.println("!----------Warehouse A:----------");
                   System.out.println("!--------------------------------");
                   //Print the item list for warehouse A.
                   System.out.println(warehouseAList);
                   //Print the total amount of items in warehouse A.
                   System.out.println("Total items: " + this.intWarehouseAItemCount);
                   //Print the total value of the items in warehouse A.
                   System.out.println("Total value: " + this.dblTotalValueA);
                   System.out.println("!--------------------------------");
                   System.out.println("!----------Warehouse B:----------");
                   System.out.println("!--------------------------------");
                   //Print the item list for warehouse B.
                   System.out.println("!warehouseB: " + warehouseBList);
                   //Print the total amount of items in warehouse B.
                   System.out.println("Total items: " + this.intWarehouseBItemCount);
                   //Print the total value of the items in warehouse B.
                   System.out.println("Total value: " + this.dblTotalValueB);
                   System.out.println("!--------------------------------");
                   System.out.println("!----------Warehouse C:----------");
                   System.out.println("!--------------------------------");
                   //Print the item list for warehouse C.
                   System.out.println("!warehouseC: " + warehouseCList);
                   //Print the total amount of items in warehouse C.
                   System.out.println("Total items: " + this.intWarehouseCItemCount);
                   //Print the total value of the items in warehouse C.
                   System.out.println("Total value: " + this.dblTotalValueC);
                   in.close();
              catch (FileNotFoundException e)
                   System.out.println("!Error: Unable to open file for reading.");
              catch (EOFException e)
                   System.out.println("!Error: EOF encountered, file may be corrupted.");
              catch (IOException e)
                   System.out.println("!Error: Cannot read from file.");
          /**What to do if input comes from the keyboard.
           *     @param numItems; The total number of items that will be added to the
           *                      Warehouse(s). */
          public void inputFromKeyboard(int numItems)
               System.out.println("!You will be adding " + numItems + " items to " +
                                             "inventory from the keyboard. ");
               this.toAdd = numItems;
               Scanner cin = new Scanner(System.in);
               //Prompt user for name of output file.
               System.out.print("!Enter the name of the output file: ");
               String outputFile = cin.next();
               /**This loop asks the user for information about the item(s) and inputs
                 *them into the appropriate array.*/
               int count = 0;
               while (numItems > count)
                    //Item name.
                    System.out.print("!Item name: ");
                    String addItemName = cin.next();
                    //Number in stock.
                    System.out.print("!Number in stock: ");
                    String addNumInStock = cin.next();
                    //Initial warehouse.
                    System.out.print("!Initial warehouse(A,B,C): ");
                    String addInitWarehouse = cin.next();
                    //Value of one item.
                    System.out.print("!Value of one item: ");
                    String addValueOfOneItem = cin.next();
                    //Add or delete from inventory
                    System.out.print("!Enter amount to add or delete from inventory: ");
                    String strAddOrDelete = cin.next();
                    System.out.println("!Amount to add or delete: " + strAddOrDelete);
                    //Cast
                    int intAddNumInStock = Integer.valueOf(addNumInStock).intValue();
                    double doubleAddValueOfOneItem = Double.valueOf(addValueOfOneItem).doubleValue();
                    int intAddOrDelete = Integer.valueOf(strAddOrDelete).intValue();
                    /**Add intAddNumInStock with intAddOrDelete to determine the amount
                     * to add or delete from inventory (If a user wishes to remove items
                     * from inventory simply add negative values). */
                    intAddNumInStock = intAddNumInStock + intAddOrDelete;
                    System.out.println("!Inventory after modifications: " + strAddOrDelete);
                    this.strItemName = addItemName;
                    this.intNumInStock = intAddNumInStock;
                    this.dblValueOfOneItem = doubleAddValueOfOneItem;
                    //Put items into warehouse A if appropriate.
                    if (intAddNumInStock < 25)
                        //Increment the warehouse A item count.
                        this.intWarehouseAItemCount = this.intWarehouseAItemCount + 1;
                        //Calculate the total value of warehouse A.
                        this.dblTotalValueA = this.dblTotalValueA + intAddNumInStock * doubleAddValueOfOneItem;
                        //Create the warehouse A array list.
                        this.createWareHouseA();
                    //Put items into warehouse B if appropriate.
                    if (intAddNumInStock >= 25)
                        if (intAddNumInStock < 75)
                             //Increment the warehouse B item count.
                             this.intWarehouseBItemCount = this.intWarehouseBItemCount + 1;
                             //Calculate the total value of warehouse B.
                             this.dblTotalValueB = this.dblTotalValueB + intAddNumInStock * doubleAddValueOfOneItem;
                             //Create the warehouse B array list.
                             this.createWareHouseB();
                    //Put items into warehouse C if appropriate.
                    if (intAddNumInStock >= 75)
                        //Increment the warehouse C item count.
                        this.intWarehouseCItemCount = this.intWarehouseCItemCount + 1;
                        //Calculate the total value of warehouse C.
                        this.dblTotalValueC = this.dblTotalValueC + intAddNumInStock * doubleAddValueOfOneItem;
                        //Create the warehouse C array list.
                        this.createWareHouseC();
                     //display helpful information.      
                    System.out.println("!--------------------------------");
                    System.out.println("!" + addItemName + " is the item name.");
                    System.out.println("!" + addNumInStock + " is the number in stock.");
                    System.out.println("!" + addInitWarehouse + " is the initial warehouse.");
                    System.out.println("!" + addValueOfOneItem + " is the value of one item.");
                    System.out.println("!--------------------------------------------------");
                   //Increment the counters.
                    count++;
               /**Create and write to the output file. */
               try
                     //Use the output file specified by the user.
                    PrintWriter out = new PrintWriter(outputFile);
                 /**Write warehouse A details.*/
                      //Blank the first line.
                      out.println(" ");
                    //Write the array list for warehouse A.
                    out.println(warehouseAList);
                    //Write the amount of items in warehouse A.
                    out.println(intWarehouseAItemCount);
                    //Write the total value for warehouse A.
                    out.println(dblTotalValueA);
                 /**Write warehosue B details.*/
                   //Write the array list for warehouse B.
                    out.println(warehouseBList);
                    //Write the amount of items in warehouse B.
                    out.println(intWarehouseBItemCount);
                    //Write the total value for warehouse B.
                    out.println(dblTotalValueB);
                 /**Write warehouse C details.*/
                      //Write the array list for warehouse C.
                    out.println(warehouseCList);
                    //Write the amount of items in warehouse C.
                    out.println(intWarehouseCItemCount);
                    //Write the total value for warehouse C.
                    out.println(dblTotalValueC);
                    //Close the output file.
                    out.close();     
                catch (FileNotFoundException e)
                   System.out.println("Error: Unable to open file for reading.");
               catch (IOException e)
                   System.out.println("Error: Cannot read from file.");
               /**View the contents and the value of each warehouse.*/
               System.out.println("!---------------Inventory Summary------------------");
               System.out.println("!--------------------------------------------------");
               System.out.println("!--------------------LEGEND:-----------------------");
               System.out.println("!<item type>, <amount in stock>,<value of one item>");
               System.out.println("!--------------------------------------------------");
               System.out.println("!------------------Warehouse A:--------------------");
               System.out.println("!--------------------------------------------------");
               //Display Items in warehouse A.
               System.out.println(warehouseAList);
               //Total items in warehouse A.
               System.out.println("Total items: " + intWarehouseAItemCount);
               //Display total value of warehouse A.
               System.out.println("Total value: " + "$" + dblTotalValueA);
               System.out.println("!--------------------------------------------------");
               System.out.println("!------------------Warehouse B:--------------------");
               System.out.println("!--------------------------------------------------");
               //Display Items in warehouse B.
               System.out.println(warehouseBList);
               //Total items in warehouse B.
               System.out.println("Total items: " + intWarehouseBItemCount);
               //Display total value of warehouse B.
               System.out.println("Total value: " + "$" + dblTotalValueB);
               System.out.println("!--------------------------------------------------");
               System.out.println("!------------------Warehouse C:--------------------");
               System.out.println("!--------------------------------------------------");
               //Display Items in warehouse C.
               System.out.println(warehouseCList);
               //Total items in warehouse C.
               System.out.println("Total items: " + intWarehouseCItemCount);
               //Display total value of warehouse C.
               System.out.println("Total value: " + "$" + dblTotalValueC);
         /**Display a help message.*/
         private void displayHelp()
              System.out.println("!--------------------------------");
              System.out.println("! General Help:");
              System.out.println("!--------------------------------");
              System.out.println("! ");
              System.out.println("!'help' display this help message.");
              System.out.println("!'Q!' quit this program.");
              System.out.println("!--------------------------------");
              System.out.println("! Input File Specific Commands:");
              System.out.println("!--------------------------------");
              System.out.println("! ");
              System.out.println("!'F' <name> type F followed by the name of the " +
                                       "file to be used for input.");
              System.out.println("!---------------------------------------");
              System.out.println("! Input From Keyboard Specific Commands:");
              System.out.println("!---------------------------------------");
              System.out.println("! ");
              System.out.println("!'K' <number> type K followed by the number of " +
                                        "items that will be added. ");
              System.out.println("! ");
    }Program file:
    public class InventoryProg
         public static void main(String[] args)
              //Create a new Inventory object.
              Inventory test = new Inventory();
              //Execute the command interpreter.
              test.cmdInterpreter();
    }Right now I am stuck on this and I cannot progress any further until I figure out how to input the data in the text file back into a arraylist.
    Thanks in advance.

    Thanks but I figured it out. Heres a sample of the code i used to solve my problem:
    try
                           //Warehouse A BufferedReader.
                   BufferedReader inA = new BufferedReader(new FileReader(inputFileWarehouseA));
                   //Warehouse B BufferedReader.
                   BufferedReader inB = new BufferedReader(new FileReader(inputFileWarehouseB));
                   //Warehouse C BufferedReader.
                   BufferedReader inC = new BufferedReader(new FileReader(inputFileWarehouseC));
                   //Warehouse details BufferedReader.
                   BufferedReader inDetails = new BufferedReader(new FileReader(inputFileDetails));
                   //Will hold values in warehouse arraylists.
                   String lineA = null;
                   String lineB = null;
                   String lineC = null;
                   //Will hold the details of each warehouse.
                   String line1 = null;
                   String line2 = null;
                   String line3 = null;
                   String line4 = null;
                   String line5 = null;
                   String line6 = null;
                   //Get the item count and total value for each warehouse.
                   while(inDetails.readLine() != null)
                        line1 = inDetails.readLine();
                        line2 = inDetails.readLine();
                        line3 = inDetails.readLine();
                        line4 = inDetails.readLine();
                        line5 = inDetails.readLine();
                        line6 = inDetails.readLine();
               /**Assign the item count and total value to warehouse A.*/
                  //Cast.
                   int intLine1 = Integer.valueOf(line1).intValue();
                   double dblLine2 = Double.valueOf(line2).doubleValue();
                   //Assign the values.
                   this.intWarehouseAItemCount = intLine1;
                   this.dblTotalValueA = dblLine2;
                /**Assign the item count and total value to warehouse B.*/
                     //Cast.
                   int intLine3 = Integer.valueOf(line3).intValue();
                   double dblLine4 = Double.valueOf(line4).doubleValue();
                     //Assign the values.
                   this.intWarehouseBItemCount = intLine3;
                   this.dblTotalValueB = dblLine4;
                /**Assign the item count and total value to warehouse C.*/
                     //Cast.
                     int intLine5 = Integer.valueOf(line5).intValue();
                   double dblLine6 = Double.valueOf(line6).doubleValue();
                   //Assign the values.
                   this.intWarehouseCItemCount = intLine5;
                   this.dblTotalValueC = dblLine6;
                /**Put the items back into the warehouses arraylists. */
                   //Add items to warehouse A.
                   while((lineA = inA.readLine()) != null)
                        warehouseAList.add(lineA);
                   //Add items to warehouse B.
                   while((lineB = inB.readLine()) != null)
                        warehouseBList.add(lineB);
                   //Add items to warehouse C.
                   while((lineC = inC.readLine()) != null)
                        warehouseCList.add(lineC);
                   }(this isn't the whole try statement its pretty long)

  • HOW TO INPUT TAX CODE AT MULTIPLE PO ITEM LEVEL AT A TIME

    If a PO  is having 100 line of items, how to input the tax code for all line items at a time, if tax code for all line of times is same.

    Hi
    Another option is to use the t-code MASS. I havenu2019t used in PO but I think it must run.
    Select BUS2012 in u201CObject Typeu201D field. Press F8.
    Select u201CPurchase Order Itemu201D in u201CTablesu201D tab, and click on the u201CFieldsu201D tab.
    Select the field name MASSEKPO-MWSKZ. Press F8.
    Assign the value to the PO field.
    In the menu, select u201CMass maintenanceu201D->u201DEnter new field valuesu201D.
    Assign the new value and press u201CTranferu201D button.
    Press F8. Click on the u201CCarry out a Mass Changeu201D button and click on the u201CSaveu201D button (Ctrl+S)
    Review the u201CMessages from the Update Tasku201D.
    Best regards.
    Paco M

  • How to input text in the SAP ERP intial screen.

    Hello.
    How to input text when I load the SAP ERP system. before log in.
    (this screen show me only the ID and password input fields)
    I saw the initial screen inclued some user-customized text.
    I can not find any information about initial scrren, as before the log in.
    If you know how to do, please let me know.
    thank you.

    The problem was solved.
    I found notes about this case. notes number is 205487.
    process like this:
    1) using transaction se61
    2) change 'document class' field -> 'General text'
    3) input Name field [ZLOGIN_SCREEN_INFO]
    4) Click Create button.
    5) and u can see the text-editor
    6) insert ur message and save.
    that's all
    If u want more information or erre message, read the notes 205487.
    bye

  • How to Input Value in  ALV report at reuntime...?

    Dear All,
    How to Input Value or change the value of a field in  ALV report at runtime...?
    regards,

    HI,
    To input value in ALV you have to make it editable.
    to change values at runtime you have to capture some events and then change your values in internal table which is used to display alv.
    Here is an example of editable ALV.
    <b>REPORT ZWA_ALV_EDITABLE_FM .
    type-pools: slis.
    data: gs_layout type slis_layout_alv.
    DATA: d_ref TYPE REF TO data.
    DATA: itab type table of fmfint.
    SELECT * FROM fmfint
    INTO TABLE itab.
    gs_layout-edit = 'X'.
    * Call ABAP List Viewer (ALV)
    call function 'REUSE_ALV_GRID_DISPLAY'
         exporting
              i_callback_program      = 'ZWA_ALV_EDITABLE_FM'
              i_callback_user_command = 'USER_COMMAND'
              i_structure_name        =  'fmfint'
              is_layout               = gs_layout
         tables
              t_outtab                = itab.
    form user_command using r_ucomm type sy-ucomm
                            rs_selfield type slis_selfield.
      if r_ucomm = '&DATA_SAVE'.
        message i000(SU) with 'saved'.
        MODIFY fmfint FROM TABLE itab.
        call function 'REUSE_ALV_LIST_DISPLAY'
             exporting
                  i_structure_name = 'fmfint'
             tables
                  t_outtab         = itab.
      endif.
    endform.</b>
    Regards,
    Wasim Ahmed

  • Re:How to input database to java program

    Hi...anyone can briefly teach me how to input my Microsoft access(database) folder into my Java program?
    Or anyone have the java code to input data to the program?If i input do i need to declare a table first in it?
    Help Appreciated.Thanks...

    so far i only understand to hardcode...Can any one teach or give the source to input my text file and system output the data in a drop down list.
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class ProductTable extends JFrame {
         String[] colNames={"Product ID","Product Name","Product Information","Product Price $"};
         Object [][] friendList = {{"1","Brown Bear, Brown Bear,What Do You See","Bill Martin Jr.","7.95"},
    {"2","Moo Baa La La La","Sandra Boynton","5.99"},
    {"3","Going-To-Bed","Sandra Boynton","5.99"},
    {"4","Animal Kisses","Barney Saltzberg","7.95"},
    {"5","Polar Bear, Polar Bear, What Do You Hear?","Bill Martin Jr.","7.95"},
    {"6","Tigers At Twillight","Mary Pope Osbourne","3.99"},
    {"7","But Not The Hippopotamus","Sandra Boynton","5.99"},
    {"8","Best Word Book Ever!","Richard Scarry","11.19"},
    {"9","Big Red Barn Board Book","Margaret Wise Brown","7.99"},
    {"10","Pajama Time","Sandra Boynton","6.95"},
    {"11","Time For Bed","Jane Dyer","6.95"},
    {"12","Make Way For Ducklings","Robert McCloskey","12.59"},
    {"13","Bear Snores On!","Karma Wilson","11.19"},
    {"14","Giraffes Can't Dance","Giles Andreae","11.2"},
    {"15","From Head to Toe Board Book","Eric Carle","15.37"},
    {"16","Blue Hat, Green Hat","Sandra Boynton","3.25"},
    {"17","Tails","Matthew Van Fleet","11.17"},
    {"18","Richard Scarry's Day at the Airport","Richard Scarry","3.25"},
    {"19","Richard Scarry's Best Storybook Ever!","Richard Scarry","11.19"},
    {"20","Stellaluna","Janell Cannon","11.2"},
    {"21","Salamandastron (Redwall, Book 5)","Brian Jacques","6.99"},
    {"22","What Color Is Your Underwear?","Sam Lloyd","9.99"},
    {"23","The Grouchy Ladybug","Eric Carle","7.99"},
    {"24","Mr. Popper's Penguins","Richard And Florence Atwater","5.99"},
    {"25","So Big!","Dan Yaccarino","7.99"},
    {"26","On Noah's Ark","Jan Brett","10.95"},
    {"27","Hey! Wake Up!","Sandra Boynton","6.95"},
    {"28","Can You Cuddle Like a Koala?","John Buttler","5.99"},
    {"30","Somebunny Loves Me: A Fuzzy Board Book","Joan Holub","4.99"}};
         JTable table=new JTable(friendList,colNames);
         JScrollPane scrollPane=new JScrollPane(table);
         public ProductTable(){
              Container contentPane=getContentPane();
              contentPane.add(scrollPane);
              setSize(500,200);
              setVisible(true);
         public static void main( String args[] )
              ProductTable app = new ProductTable();
              app.addWindowListener(
         new WindowAdapter() {
         public void windowClosing( WindowEvent e )
         System.exit( 0 );

  • How to input password automatically with below html code

      I want to display one pdf file with password(I know the password) on website.How to input password automatically
    with below html code:
    <object classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" width="760" height="411" border="0">
          <param name="_Version" value="65539">
          <param name="_Password" value="1234">
    it seems <param name="_Password" value="1234"> does not work.
    Is there any way to input password of PDF file automatically on server side so that Client user don't need to input password.

    Not possible.

  • How to input unicode character set from oralce form 9i

    Hi,
    Can anyone show me how to input unicode character set from form 9i. I have designed a form and run it but when I input unicode charater in TEXT ITEM on form (FONT_NAME of this TEXT ITEM is New Roman, AriaTime l ...), but it display incorrectly nor stored it in Database.
    Thank you !

    Thank Duncan R Mills !
    My setting NLS_CHARACTER in Database as follow :
    SQL> SELECT * FROM NLS_DATABASE_PARAMETERS;
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET UTF8
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    PARAMETER VALUE
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZH:TZM
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZH:TZM
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_NCHAR_CHARACTERSET UTF8
    NLS_RDBMS_VERSION 8.1.7.0.0
    18 rows selected.
    Even if I can'nt input unicode character on Oracle Forms, It display incorrectly though I set exactly font_name.

  • How to input multiple records in tables in web dynpro

    Hi
    In web dynpro table I am able to input data in first row only. How to input data in other rows.
    Thanks,
    Saurabh

    hi, okay..
    I summarize in 3 aspects:
    1.You want make the Table row play like "Input field"
    The solution is :
    In the table column, you set the cell editor as "Input field"
    2.You want to use the FILTER function
    The solution is :
    set Filter Value property and realize "OnFilter" event...
    3.You want to add Ready for Input rows to your table
    The solution is :
    You should make use of the Context Node bound to the table. The EXAMPLE coding:
      DATA lo_nd_flights TYPE REF TO if_wd_context_node.
      DATA lo_el_flights TYPE REF TO if_wd_context_element.
    * append the element with initial attribute value
      lo_nd_flights = wd_context->get_child_node( name = wd_this->wdctx_flights ).
      lo_el_flights = lo_nd_flights->CREATE_ELEMENT( ).
    * bind the newly created element
      lo_nd_flights->BIND_ELEMENT( new_item             = lo_el_flights
                                   set_initial_elements = abap_false ).
    4.You want to set N rows ready for input initially
    The solution is :
    Set the Row visible property..
    Best wishes.

  • Don't know how to input mp3 to my iphone after updated itunes

    don't know how to input mp3 to my iphone after updated itunes, the left panel is missing now. also some of the mp3 do not file under the same folder with same artist name, don't know how to use the filing system now. pls help. thanks.

    Media is synced the same way in the current version that it was synced in every previous version of iTunes.
    Select the device.
    Select the content desired to be synced.
    Sync.
    To enable the side bar type Cntrl + S

  • How to input my name in my photos?

    How to input my name in my photos using IPhoto?

    There is no need to input your name to iPhoto and no way to - it does not use your name for any reason
    You can add accounts like email, facebook, etc in the iPhoto preferences ==> accounts - click on the + sign
    LN

  • How to input chinese in ipod touch?

    When I use safari to view some chinese web,I need input some chinese chars.
    So how to input chinese chars in ipod touch?
    Thanks.
    --Jones

    Don't try to jailbreak it 3d party software is not always 100% qualified stuff. E.g., yesterday I've put Russian localization pack on my iPod and got a lot of "surprises": crashing keyboards & iPod apps, crappy not smoothed fonts etc.
    There is also no Russian || Ukrainian keyboard on iPod. That's Ok, but adding / changing contact details in the Address Book or editing iCal event is a really weird thing. Why should I use translitaration or write everything non-native language?! That's stupid that localization doesn't include language inputs.

  • How to input DAP Key into the card?

    There're three questions I've confused for a long time.
    1 Can I input the DAP Key into the ISD ? Or I must first create a SSD Instance and input the DAP Key to SSD?
    2 Is the DAP Key version 0x73 and index 01?
    3 Which command is used to input the DAP Key to ISD or SSD ? PUT Key Command or STORE DATA Command? If use STORE DATA command, can you give the example?
    Thank you,
    DongLin
    Edited by: Ivy_D on Apr 15, 2009 5:36 AM

    Thank you for lexdabear's answer.
    Depends what card you're using. While it is not forbidden by GP spec. to put DAP key on ISD, many GlobalPlatform cards allow it to put only on SSD. The only exception I know is jTOP from Trusted Logic.+
    I use JCOP, it supports SSD. And is the DAP key version same to be input to the ISD and SSD ? Do the ISD and the SSD all have their own key set (from 0x00 to 0x7F) ? They don't share to each other ?
    You can use one or the other. Both commands are allowed to populate SD keys. Show me an example what you tried and I will comment on it.+
    1 select ISD and do authencation
    2 create a instance of SSD using Install command
    3 select ISD and do authencation
    4 select SSD AID
    5 put-key command to input public key with version 0x73 and index 1 into the SSD
    Is this work flow right to input the DAP Key into the SSD? Another question: how to input DES3 DAP Key into the SSD ? what's the key version ?
    Thank you again.
    Edited by: Ivy_D on Apr 16, 2009 5:03 AM

  • HT1688 i got the unlock code from at&t but i don't know how to input the code on the phone to unlock the iphone 4s

    i got the unlock code from at&t but i don't know how to input the code on the phone to unlock the iphone 4s

    There is no "unlock code". If you legitimately unlocked your iPhone via ATT, you will get an email detaling the unlock process, which involves connecting to iTunes. Follow the directions in the email.
    If you used one of those web sites that promise an magical "unlock code" you probably got scammed.

  • How to input more than one currency field into the transfer rules?

    hi experts,
    how to input more than one currency as well as unit fields in transfer rules, when i am giving two currency fields in flatfile the same structure could not able to get in transfer rules ( 0currency).
    pl give me the procedure to input more than one currency field.
    thanks & regards
    venkat

    Hi Venkat,
    For example - for amount kf - if you have 0currency as ref object and included in transfer rules and for other kf - create a Zcurr object and try to include...hope it works.
    Thanks,Ramoji.

Maybe you are looking for

  • Planning board user status at operation level

    Hi Guys, Our user is not using planning board and therefore system status should not have DISP status as system status. Now user needs two profiles in the CM07 bases on the statuses SCH and RFS. Profile 1: For operation user status=SCH Profile 2: For

  • URL  access problem

    I have JDK1.5.0_06 (build 1.5.0_06-b05) on my PC with Windows 2000 OS and when I am running the following code public class A public static void main(String[] args) try{ URL u = new URL("http://www.aaaa.com/xxxx%F3P%F3Rblabla"); ur = u.openConnection

  • FB05 (post and clearing) u0093The difference is too large for clearingu0094

    I am passing entry through FB05 (Post and clear). The entry is between two GL accounts maintained as open items. At the time of passing the entry there is difference between these two accounts. I want this difference to be posted automatically to pro

  • WHERE IS THE "CANCEL PLAN" BUTTON YOU ARE TALKING ABOUT IN YOUR FAQ ?

    Ive tried the whole browsers. Im in France. Id like to know how to cancel my account. Thanks

  • Urgent interesting req

    Hi friends , i have a req like this the I_BSID int table is having records like this year/month posting dt assignmnet amount in loccurrency opening balance as that of 04/01/2007 is last month end balance i.e march           0.00 2007/04     2007/04/0