Need help with adding a Key flex field to a seeded OAF page

We have a seeded OAF page on which we already have Account Key Flex Field.
Properties of this flex field are:
The ApplShortName - SQLGL
Name - GL#
Type - Key
As per the client requirement, in the KFF screen, we have disabled the seeded structure for Accounting Flexfield and created a custom structure.
Our custom structure for the KFF is displayed correctly on the OAF page.
But now the requirement is to add a new KFF on the OAF page which is duplicate of the existing KFF, along with the existing KFF field; the structure and segments are same. Only difference being the display name of the existing KFF field is Account; the new one needs to be Tax structure.
Using personalization we added a new flex item and added the properties same as the existing KFF.
ApplShortName - SQLGL
Name - GL#
Type - Key
But the page is giving following error:
The data that defines the flexfield on this field may be inconsistent. Inform your system administrator that the function: KeyFlexfieldDefinitionFactory.getStructureNumber could not find the structure definition for the flexfield specified by Application = SQLGL, Code = GL# and Structure number =
We tried options like compiling the flexfield definition, but the error persists.
Any help in this regard is highly appreciated.
Regards,
Kiranmayi.

Hi,
Please check whether your key flex structure is frozen or not. If now please freeze it and re compile and try.
This may helps too
error while developing KFF in oaf
Thanks
Bharat
Edited by: Bharat on May 10, 2013 4:51 AM

Similar Messages

  • Need help with adding emoji to my hubby's phone don't see it when I click on the keyboard tab

    I need help with adding emoji to my hubby's iPhone when I go to settings then the keyboard tab it's not there

    I did that bad it's not there and doesn't give me to option to click on it

  • Need Help with Average of a calculated field

    Good Morning ,
    In the cube that i built i have a calculated field "AvgAbandonTime"=round(([Measures].[C8]/[Measures].[C9]),0). C8 and C9 in the calculation are calculated fields in the DSV based off the fields from the Database.
    In the browser i'm having a problem. In the below sample data set , if you look i'm calculating the "AvgAbandonTime" per each location and this value is in seconds. C8 and C9 are the fields used in the calculation. For example C8/C9=11588/126=92
    (ROUNDED).Similarly for the other two rows. The problem is when it comes to the Grand Total , i'm expecting average of AvgAbandonTime over the 3 locations and that should be (92+16+73)/3=60, but where as what its doing is Summing all the C8 and all
    the C9 values and giving me the SUM(C8)/SUM(C9)=74. Please need help or advice.
    Thanks

    Thanks David,
    But no its not giving those values instead its giving
    C8
    C9
    Avg
    AvgAbandonTime11
    newcalc
    sum
    11588
    126
    92
    8191
    8191
    24753
    157
    10
    16
    157
    157
    24753
    62160
    857
    73
    16405
    16405
    24753
    GrandTotal
    73905
    993
    74
    99
    1.#INF
    24753

  • Need help with adding images option

    I was using the add images option a few weeks ago just fine.. using my tablet and uploading the images via usb. then all of the sudden it stopped working.
    please help with this issue.
    Danny

    A few questions. What result are you experiencing? Did PS Touch crash? Have you tried to force quit-and restart PS Touch? -Guido

  • Problem with adding a second Categories field to my Enterprise Wiki Page template

    I wanted to add a second category field beside the default wiki category. So I did the following steps:-
    Inside my enterprise wiki site collection, I added a new Site Column, named “customer” with a managed metadata type.
    Then I added the site column to the “Enterprise Wiki Page” content type.
    After that using the SharePoint Designer , I added the new “Customer ” column to my EnterpriseWiki.aspx page layout.
    The result was that I got a new category field , but I am facing these two problems:-
    When selecting items for the new metadata column, the items are not clickable, unlike the default Wiki Category field, which allow users to click on the terms , as follow:-
    The new category column was not displayed inside the Tree View , same as for the default Wiki category, as follow:-
    So can anyone advice how I can solve these two problems ? Thanks

    The Visio Web Part displays Visio diagrams that are located in SharePoint.  Once you log out it won't have access to your desktop anymore.  Instead you should upload the Visio document to a SharePoint library and then reference it from
    there.  It would be nice if it was integrated into a single process, but I suspect its not something MS thought enough people would do to spend the time writing the extra code to integrate it.  So at least for now its a two step process.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.
    so to add a visio diagram , we need to do the following:-
    1. upload the visio to SP.
    2. add a web part.
    3. Browse for the Visio drawing.
    by defualt there is no way to directly upload a new Visio diagram...

  • Need to populate sequence value in a field after insert in oaf page

    Hi All,
    I have a custom OAF insert page in that i need to populate a sequence value to a field once the data inserted successfully to the table.
    so for that i followed the below approach.
    1>Created a sequence in database.
    2>In the EOImpl java file in the setter method for the respective field have written below code.
        public void setContainid(Number value) {
            if (value == null) {
                    OADBTransaction t = getOADBTransaction();
                    value = t.getSequenceValue("XXXXX_CONTAIN_SEQ");
            setAttributeInternal(CONTAINID,value);  
    But still i am not able to populate the sequence value for the field in my oaf page,please help me out on thsi.
    Thanks

    Hi,
    Write this logic in create method of EOImpl:
      public void create(AttributeList attributeList)
        super.create(attributeList);
        OADBTransaction transaction = getOADBTransaction();
        Number contID = transaction.getSequenceValue("XXXXX_CONTAIN_SEQ");
        setContainId(contID);
    --Sushant

  • Need help with adding form fields to PDF created in InDesign that includes links

    I created a collateral piece in InDesignCC that includes hyperlinks and bookmarks - I then used LiveCycle to add an image field and text field to the front cover so our sales folks can customize it before use - the sales people with Reader can't save it without the hyperlinks and bookmarks being lost. Anyone have an option on how to fix that?

    No.  Not at all.  I feel like I have clicked EVERYTHING.  Lol.  But obviously I have missed something.

  • Need help with locating a key using a value in a HashMap.

    I am quite new to Java and programming, and am just learning this in High School (enjoying it thoroughly). Sorry if I don't respect the etiquette or formatting of this board (it's unintentional).
    I am using the book, Objects First Wth Java A Practical Introduction Using Blue J and am working on extensively improving the "World of Zuul" project. Which is a text-based adventure game.
    Here is a code sample;
    public String getNameFromList(String name)
      boolean found = false;
      Set pairSet = xItemList.entrySet();
      for(Iterator iter = pairSet.iterator(); (found == false && iter.hasNext());){
      Item currentItem = (Item) iter.next().getValue();
      String currentKey = currentItem.getName();
      if(name.equals(currentKey)){
        String changedName = iter.next().getKey();
        return changedName;
    error; cannot resolve symbol:
    method: getValue()xItemList is a HashMap with String keys, and Item values.
    The relevant field of Item is name, which is a string.
    The currentKey local variable is a little misleading, it is the current name, but acts as the 'key' when looking for the actual key.
    changedName (if the parameter name is found from the item.getNames()), is what the method returns, the key associated with a object (by looking at the object's field).
    My objective for this method is for it to have a name as a parameter, which it searches for in the HashMap (by Iteration over the entrySet - or I suppose iteration over Set values(), but this loses which object value is tied to which key, doesn't it?), and returns the respective key.
    Any help would be very much appreciated (even if it is telling me that this can't be done with HashMaps!).

    It's not clear to me what your question is, or if indeed you even have a question.
    You seem to be having a problem with types. Iterators return Objects.
    So in this line:
      Item currentItem = (Item) iter.next().getValue();The iterator's next() method is returning an Object, and you're trying to call getValue() on that Object. But Object doesn't have a getValue() method. That would explain your error message. Map.Entry does; you apparently meant to call Map.Entry's getValue() method. You would cast the result of iter.next() to Map.Entry before you call getValue().
    Also you're calling next() on your iterator twice in the body of the loop, which means you're getting two different values... this is probably not what you intend.
    But you're making this more complicated than it needs to be anyway.
    Why are you iterating through the set of entries in the HashMap?
    The whole point of a Map is that you get an item using an object as the key. Just do xItemList.get(name). Right?

  • Need help with adding formatted text and images to Crystal Report?

    Here's my scenario:
    I have a customer statement that's generated as a crystal report and that has a placeholder for advertisement. The advertisement is mixture of formatted text and images. Until now we only had one advertisement that was always used on the report. The new requirement is that we would have a pool of hundreds of advertisements and would need to display one specific advertisement on the customer statement based on various marketing criteria. They key is that the advertisement content will be determined programmatically and cannot be hardcoded into the report. I'm using Crystal2008 with .net SDK.
    Here are the solutions I thought of, but I'm still rather lost and would appreciate your help/opinion.
    1) Pass HTML or RTF to the report
    Not really sure if this is possible and how to get it done. Also how would I pass in images? Would display formatting be reliable when exporting to PDF?
    2) Create each add as a subreport and append it programatically
    I actually have this working, but I only know how to append a new section to the end of the report and then load the subreport to the section. I have no other controll of the placement. Is there a way to dynamically load a subreport to a predefined section in the main report? How about adding a dummy subreport in the main report as a placeholder and then replacing it with a different subreport? How could I do this?
    3) Pass an Image to the report
    I would create each advertisement as an image and then would somehow add the image to the report. How would I load the image and control the placement? Could I somehow define a placeholder for the image in the main report-maybe a dummy image to be replaced?
    Thank you.

    Hello Pavel,
    I would got the third way.
    You can use dynamic images in your report.
    Just by changing the URL to the image the image can be changed.
    Please see the [Crystal Manual|http://help.sap.com/businessobject/product_guides/cr2008/en/xir3_cr_usergde_en.pdf] and search for images.
    or directly here
    [Setting a Dynamic Graphic Location Path on an Image Object|https://boc.sdn.sap.com/node/506]
    [Dynamic image and HTTP://|https://boc.sdn.sap.com/node/3646]
    [codesample for .NET|https://boc.sdn.sap.com/node/6000]
    Please also use
    [Crystal Reports 2008 SDK Documentation and Sample Code|https://boc.sdn.sap.com/developer/library/CR2008SDK]
    [Crystal Reports 2008 .NET SDK Tutorial Samples|https://boc.sdn.sap.com/node/6203]
    Hope this helps
    Falk

  • I need help with adding fire to an existing picture in elements 8

    I'm a painting contractor and I'm trying to create a new picture for my buisness cards and tee shirts. What I want to do is put flames coming from a brush and work pot that I'm holding in my hands. I've looked everywhere on line, but I can't find exactly what I want. I'm hoping that someone in this forum will be able to help me. Thanks.

    Okay, I have been playing with for a few days. Warning, this is going to be loooong. I do this differently in Photoshop but couldn't get it to work with the elements workset as it doesn't have the curves tool that Photoshop has so I had to find an alternate method to pump up the flames. Luckily, I ran into a video that used a method other than curves to get me on track. I assumed you want realistic flames...so I was pushing for how real could I make flames using paint and blend mode operations.
    Edit: I should let you know that you can try to extract flames from other photos and composite them into your photo. First, need a good fire image. It works best if you can find a fire with a black background. Screen blend mode will drop out black. Try working with two copies of the image. Turn off the topmost copy of the flames. Leave the bottom flames in Normal blend mode. Mask or erase the outer edges of the flames with a soft brush so that only the interior of the flames are visible. Now, turn on the topmost version of the flames. Leave the topmost version of the intact...don't mask or erase anything. Change this topmost flame layer's blend mode to screen blend mode. If you see any problems with your flames, you can erase or mask any defects. You can duplicate the screen layer to brighten the effect. Use opacity to control the volume. This would be the easiest solution but you'll have to find some flames that trip your fancy. I haven't tried this out yet so can't say how much better or worse it would be than using a good set of flame brushes along with some blend mode tricks.
    Below shows how close I can get using paint. I only used options available in PSE. I used layer masks that if you had PSE 9 would be native. Since you have PSE 8, you'll need to either download an install an add on that adds the basic layer mask function or use clipping masking.
    Below is a link to a freeware set that includes layer masks. Install instructions are on that site.
    http://www.cavesofice.org/~grant/Challenge/Tools/Files.html
    If you want to go the clipping mask route, have a look at this tutorial:
    http://www.photokaboom.com/photography/learn/Photoshop_Elements/layers/layer_groups_clippi ng_masks/1_layer_groups_clipping_masks.htm
    Before and After the effect.
    I would have posted sooner but had to find a workable solution to making the flames look realistic in Elements as I can’t use the curves tool as it isn’t native to Elements.
    With the help of this YouTube video I came up with something…
    http://www.youtube.com/watch?v=cOIBkWvHOqk&feature=related
    I based this tutorial on the hue/sat numbers, blend modes, and blurs.
    First, I downloaded a flame brush set. This set in specific:
    http://luexo.deviantart.com/art/Scorching-Flames-Brushpack-92945924
    The above set is really nicely done and  has large high resolution brushes.
    One thing I do not agree with in the video is the color used. White is hard to change in the Hue/Saturation dialog. Instead I use 50% gray as my paint color. This is easy to set…either use the 50% color swatch or open the Color Picker and set H to 0, S to 0, and B to 50...hex number is 808080.
    Things to keep in mind include fire is gaseous, bright and the way it burns…it one direction, fire reflects and there is probably going to be some smoke.
    In my example, I am going to set a  lunch cake. Nice 4th of July theme. J
    Let’s start my scorching the item that will be burned. In this case the lunch cake will be scorched.
    Scorch the item…preparing to light it up.
    1. Duplicate image and put image into Linear burn blend mode; opacity 100%. Add layer mask or erase everything but the item to be scorched…the lunch cake.
    2. Duplicate layer you just made in step #1. Change the blend mode to Multiply 100%. Desaturate this layer.  Image Adjustments<Hue/Saturation…move Master Saturation slider to  -100. Take burn tool set to Range: Midtones; Exposure 35%; air brush on…and scorch the item. Make it kind of smudgy. You don’t want an even coat. Make it darker as you get closer to the flames.
    Note: Here I’ve jumped ahead. I already know where my flames are going to be. Either visualize where you want your flames or jump ahead and laid down the basic paint and transform into the correct position. Turn off flame layer (s) when done. So step #3 if you do any repair work isn’t affected.
    3. If you feel you need to do any clone repairs, create a composite image ctrl + shift + alt + e if on PC…cmd + shift + opt + e if on a Mac. Do the clone work on a blank layer over this. With clone tool selected, check the box in the options bar that says something like “All Layers”, “Use All Layers”, “Sample All Layers”…the box says one of those things beside it. I can’t recall which and not sure if it’s consistent between all versions of Elements.  Anyway, Leave layer in Normal blend mode 100% and likewise leave tool in Normal blend mode…opacity to taste. Fix any defects on this layer. You can do the same thing with the healing brush if you need to do any healing. I find it best to heal to a separate layer and not mix and match the healing tool and  clone stamp on the same layer.
    4. Turn off or trash the Clone Stamp comp layer when finished with step #3.
    Let’s Build a Fire…
    5. Create a blank layer in the layers palette….Normal blend mode; 100% opacity.  Make white your foreground color chip.  Grab the paint brush tool…normal blend mode; 100% opacity. Paint one flame on your layer. I have used the 1220 sized flame near the bottom of the brush set I linked earlier. Use the transform command …Ctrl + t (PC) or Cmd + t (Mac)…to size and position the flame. I used  also slightly warped the flame using transform warp. Since you don’t have that in Elements…slightly warp the flame in the liquefy dialog.
    Note: The above flame is pretty much backlighting…you are done with it.
    6. Change the color foreground color chip in your layers palette to 50% gray. Use the same brush tip you used in step #5. Size and position it so it closely matches the white flame in Step #5. Go to liquefy dialog and slightly warp it.
    Note: The goal is for the flames in step #5 and step #6 to be very similar but not exact.
    7.. Duplicate the 50% gray flame you made in step #6 twice. Turn off the top 50% gray flame for now.
    Fire is Bright...
    8. Now that video comes in that I linked.
    (1) Blur the 50% gray flame with Gaussian blur. I used 6 pixels. Go to menu and click Enhance or is it Adjustments<Hue/Saturation…check the box that says “colorize”; change master sliders to Hue 42; Saturation 100; Lightness 0.
    (2)Duplicate the flame you made above…step  (1). Go to the menu bar and click Enhance or is it Adjustment<Hue/Saturation…change master sliders to Hue -43; saturation 0; Lightness 0. Change this layers blend mode to Color Dodge blend mode and merge down…Ctrl + e on PC; cmd + e on Mac.
    Note: This layer will now say Normal blend mode; 100%.
    (3)I duplicated the merged layer I now have from step (2). I changed the blend mode of this layer to Screen and set the opacity to 100%.
    (4) I made a duplicate of the layer I have made in step (2)…the one that now says it’s in Normal blend mode; 100%… then blurred it with Gaussian blur. I used 46 pixels. I moved this layer down in my layers palette so that it rests beneath my other two colored flame layers. The white flame layer is directly below it. Leave this layer in Normal blend mode; 100% opacity.
    9. Go back to 50% gray flame you made in step #6...visibility eye should be off. You should have two of these gray layers if not duplicate one so that you do have tow 50% gray flame layers. (These were not blurred.)  These two layers need to be on the top of the stack. If they are not, move them up so that they are the top two layers. Turn on the visibility of the bottom 50% gray layer. Change the layer’s blend mode to Screen blend mode; opacity 100%. Grab the burn tool. Burn some of the flame base and randomly in the flame of the 50% gray.  Press and hold in the alt key (PC) or the opt key (Mac) and dodge the tops of the flames and do some random dodge work.
    10. Turn on the visibility for the top 50% gray layer. Leave this one alone…no dodge + burn. Set this layer to Screen blend mode; opacity 96%.
    11. Add layer masks to white and color flame layers…not the gray ones. Paint away any unattractive color spill. Bright orange edges…bright white distractions where flame edges don’t align.
    12. Make a composite layer of all layers up to date. Set this layer’s blend mode to multiply; opacity 47%. Add a layer mask and mask out everything but the flames. Tip: You can select the flames by ctrl + shift clicking on each flame layer thumbnail…the shift lets you add to a selection. On the Mac, cmd + shift click the layer thumbnails.
    Flames Reflect…
    13. Make a copy of one of your blurred color flames. Transform it so it rest over item that it should reflect on. In this case I have added a blurred flame onto my son’s eye. The flame is in Overlay blend mode; 33% opacity.
    14 Several steps Eye enhancements to my son’s eye…omitted because it’s off topic
    15. I used a gradient map with a fire like black/red/yellow/white gradient map set to Softlight blend mode; 17% to give my image a hint of a color cast. I masked it so only some skin, hair, and car areas have this slight color cast.
    Where there’s fire there is going to be some smoke...
    16. To make my smoke, I made a separate large document my photo size. I set my color chips to the default b/w. (Shortcut is D.) I went to menu bar and clicked Filter<Render<Clouds. Next I went back to my menu bar and clicked Filter<Render<Difference Clouds. I used Ctrl + f to repeat the Difference Cloud filter until I was happy with the effect…looking for swirled black lines…kind of like lightning. (If on a Mac, use Cmd + f to repeat a filter. I then used the transform command to enlarge the pattern I made. Be sure to scale it so that height and width both are enlarged equally. Next, go to the men bar and select<All ; Edit<Crop. You want to do to get rid of the excess. I think I transformed my patter to something like 200% which makes the file really big. You can do it on your image file but because of file size the transform will take a really long time. When happy copy/paste or drag/drop this pattern into your photo file.
    17. Now blur pattern really good using Gaussian blur. Now, add a layer mask to your pattern layer. Click the layer mask in the layers palette to target it and run the the clouds and difference clouds on the mask just as you do on the pattern layer. Just those filters…no blur.
    Basic smoke pattern final
    18. Duplicate this layer w mask twice. You should have three smoke copies. Turn off all but the bottom pattern copy. Use the paint brush and paint black in mask to hide the smoke everywhere but where you want to keep it. Set this layer’s blend mode to Multiply blend mode; opacity 15%.
    View of the inside one of the smoke layer masks
    19. Turn on the visibility of the next smoke pattern. Again use a black paint to paint where you don’t want paint. (Make this variable as you want the smoke to be varying opacity.)  Layer blend mode Multiply; opacity 15%.
    20. Turn on the visibility of the next smoke pattern…top one in stack. Again use black to paint where you don’t want the smoke. Set this layer’s blend mode to Multiply blend mode; opacity 1%.
    Fire is Gaseous...
    21. Make a composite of all layers by pressing ctrl + shift + alt + e if on PC. Use Cmd + shift + opt + e if on a Mac. Blur your composite image. I used 3 pixels. Set the blend mode to Normal; opacity 64%. Add a layer mask and fill it with black paint to hide the blur effect. Use the paint brush with white paint in the layer mask to blur any sharp edges and base of flames. Remember flame is gaseous.
    Above shows my layers for completed image. Notice the comp for clone layer is off. I did not need it after I did the clone to a blank layer to add some scorched cake around my son's fingers.

  • Need help with adding buttons.

    I thought I could do this without help but I was wrong. I had to add buttons to my program and before it ran fine with the first four buttons I added but know there are many errors and I believe I messed up the whole thing now. Any advice would be greatly appreciated. Here is my code:
    import java.util.*;
    import java.text.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.JFrame.*;
    import java.io.*;
    import java.awt.font.*;
    import java.awt.geom.*;
    import javax.imageio.*;
    import java.awt.image.*;
    public class DVDInventory6
    public static void main(String[] args)
           Scanner input = new Scanner( System.in );
           int j;
          DVD_Genre [] inventory = new DVD_Genre[5]; // Size of the array
          // create DVD object
          inventory [ 0 ] = new DVD_Genre( "Rocky", "Action/Drama", 01, 15, 9.95 );
          inventory [ 1 ] = new DVD_Genre( "RockyII", "Action/Drama", 02, 13, 14.95 );
          inventory [ 2 ] = new DVD_Genre( "Matrix", "Action/Sci-Fi", 03, 23, 14.95 );
          inventory [ 3 ] = new DVD_Genre( "MatrixII", "Action/Sci-Fi", 04, 17, 19.95 );
          inventory [ 4 ] = new DVD_Genre( "Bambi", "Family", 05, 33, 12.95 );
          // Print out a screen title
          System.out.println();
          System.out.printf("Welcome to DVD Inventory:\n\n");
       GUI gui = new GUI();
          for(j=0; j<5; ++j)
               gui.add(inventory[j]);   
         double total = 0;
         for ( j=0; j<inventory.length; j++ )
             total += inventory[j].getvalueofdvds ();
    } // end for
             gui.setTotal(total);
       gui.display();
    public static void sortDVD(DVD[] inventory)
         //DVD_Genre temp[] =  new DVD_Genre[1];
          int i, j;
          for (i=1; i <inventory.length; i++)
             for (j=0; j < inventory.length-i; j++)
                if (inventory[j].getdvdName().compareTo(inventory[j+1].getdvdName())>0)
                   // exchange elements
                   DVD  temp = inventory[j]; //new DVD_Genre [1];
                   inventory[j] = inventory[j+1];
                   inventory[j+1] = temp; //temp [0];
       }//end method main
    }//end DVDInventory6
          class DVD
          protected String dvdName; //  DVD title
          protected String dvdGenre; // DVD genre
          protected int productnumber;  // DVD product number
          protected int numberofproducts; // the number of products in stock
          protected double price; // the price of the products in stock
            public DVD (String name, String genre, int productnumber, int numberofproducts,
    double price ) // class dvd constructor
            this.dvdName = name;
            this.productnumber = productnumber;
            this.numberofproducts = numberofproducts;
            this.price = price;
    this.dvdGenre = genre;
           public DVD( String name, int productnumber, int numberofproducts, double price ) //
    class dvd constructor
            this.dvdName = name;
            this.productnumber = productnumber;
            this.numberofproducts = numberofproducts;
            this.price = price;
          public void setdvdName( String name ) // method to set dvd name
          this.dvdName = name; // store the dvd name
          public String getdvdName()// method to get dvd name
          return dvdName;
          public void setproductnumber( int productnumber )  // method to set productnumber
          this.productnumber = productnumber; // store productnumber
          public int getproductnumber()// method to get productnumber
          return productnumber;
          public void setnumberofproducts( int numberofproducts )// method to set
    numberofproducts
          this.numberofproducts = numberofproducts; // store numberofproducts
          public int getnumberofproducts()// method to get numberofproducts
          return numberofproducts;
          public void setprice( double price )// method to set price
          this.price = price; // price of the products in stock
          public double getprice()// method to get price
          return price;
          public double getvalueofdvds()// method to get valueofdvds
          return numberofproducts * price;
    } // end class DVD
    class DVD_Genre extends DVD
             private String genre; // genre of DVD
      private double restockingFee; // percentage added to inventory value
       //constructor
    public DVD_Genre(String name, String genre, int productnumber, int numberofproducts, double
    price)
       super(name, genre, productnumber, numberofproducts, price);
      this.genre = genre;
                    this.restockingFee = restockingFee;
          public void setdvdGenre( String genre ) // method to set dvd genre
          this.dvdGenre = genre; // store the dvd genre
          public String getdvdGenre()// method to get dvd genre
          return dvdGenre;     
    // Calculates restocking fee based on previous data.
        public double restockFee() {
         double total = 0;
         double restock = 0;
         total = numberofproducts * price;
         restock = total * .05;
                return restock;
        public String toString()
       DecimalFormat Currency = new DecimalFormat("$0.00");
       return "\nDVD Title: " +  dvdName + "\nDVD Genre: " +  dvdGenre + "\nProduct number: " +
    productnumber +
              "\nNumber of products: " + numberofproducts + "\nPrice: " + price + "\nValue of
    DVD's: " +  Currency.format(numberofproducts * price) + "\nRestock Fee: "  +
    Currency.format(numberofproducts * price * .05);
    }// End class DVD_Genre
    class GUI {
    private DVD[] dvds;
        private int nCount;
    private double total;
    // Creates array DVD[]
        GUI() {
            dvds = new DVD[5];
            nCount = 0;
        public void add(DVD dvd) {
            dvds[nCount] = dvd;
            ++nCount;
    public void setTotal(double total)
      this.total = total;
        DecimalFormat Currency = new DecimalFormat("$0.00");
    //Displays the arrays contents element by element into a GUI pane
           public void display() {
      GUIDisplay(dvds, 5);
    public void GUIDisplay(DVD[] products, int numOfProducts)
              PanelFrame frame = new PanelFrame(products, numOfProducts);
              frame.pack();
              frame.setVisible(true);
              frame.setSize(600, 450);
    } // end class GUI
            class PanelFrame extends JFrame
            private JButton first;
            private JButton next;
            private JButton previous;
            private JButton last;
            private JButton add;
            private JButton delete;
            private JButton modify;
            private JButton search;
            private JButton save;
            JTextField dvdName;
            JTextField productnumber;
            JTextField numberofproducts;
            JTextField price;
            private DVD[] products;
            private int numOfProducts;
            private int currentIndex = 0;
    /** Creates a new instance of PanelFrame */
      public PanelFrame(DVD[] products, int numOfProducts)
            super("Welcome to the DVD Inventory");
            this.products = products;
            this.numOfProducts = numOfProducts;
            setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
            setLayout(new GridLayout(6,1,5,5));
            showLogo();
            showLabels();
            showInputFields();
            showButtons();
    public class MovieGraphics extends Component
            private BufferedImage image;
            private boolean imageFound = true;
      public MovieGraphics()
           super();
       try
           image = ImageIO.read(new File("logo.jpg"));
      catch (IOException x)
          x.printStackTrace();
          imageFound = false;
      public void paint(Graphics g)
      if (imageFound)
         g.drawImage(image,
         0, 0, 200, 100,
         0, 0, image.getWidth(null), image.getHeight(null),
    null);
      else
         g.drawString("Gary's DVD Krypt", 30, 30);
    } // end of class MovieGraphics
      public void showLogo()
            MovieGraphics myLogo = new MovieGraphics();
            this.add(myLogo);
      public void showLabels()
            JPanel panel = new JPanel();
            panel.add(new JLabel("DVD Title"));
            panel.add(new JLabel("Product number"));
            panel.add(new JLabel("Number of products"));
            panel.add(new JLabel("Price"));
            this.add(panel);
      public void showInputFields()
            JPanel panel = new JPanel();
            dvdName = new JTextField(10);
            productnumber = new JTextField(10);
            numberofproducts = new JTextField(10);
            price = new JTextField(10);
            dvdName.setEditable(false);
            productnumber .setEditable(false);
            numberofproducts.setEditable(false);
            price.setEditable(false);
            panel.add(dvdName);
            panel.add(productnumber );
            panel.add(numberofproducts);
            panel.add(price);
        this.add(panel);
      public void showButtons()
            JPanel panel = new JPanel();
            first = new JButton("First");
            next = new JButton("Next");
            previous = new JButton("Previous");
            last = new JButton("Last");
            add = new JButton("Add");
            delete = new JButton("Delete");
            modify = new JButton("Modify");
            search = new JButton("Search");
            save = new JButton("Save");
            panel.add(first);
            panel.add(next);
            panel.add(previous);
            panel.add(last);
            panel.add(add);
            panel.add(delete);
            panel.add(modify);
            panel.add(search);
            panel.add(save);
            ButtonActionHandler handler = new ButtonActionHandler();
              first.addActionListener(handler);
              next.addActionListener(handler);
              previous.addActionListener(handler);
              last.addActionListener(handler);
              add.addActionListener(handler);
              delete.addActionListener(handler);
              modify.addActionListener(handler);
              search.addActionListener(handler);
              save.addActionListener(handler);
              this.add(panel);
              setFields(0);
      protected void paintComponent(Graphics g)
      public void setFields(int i)
         setdvdName(i);
         setproductnumber(i);
         setnumberofproducts(i);
         setPrice(i);
      public void setdvdName(int i)
      dvdName.setText(products.getdvdName());
    public void setproductnumber(int i)
    productnumber.setText(String.valueOf(products[i].getproductnumber()));
    public void setnumberofproducts(int i)
    numberofproducts.setText(String.valueOf(products[i].getnumberofproducts()));
    public void setPrice(int i)
    price.setText(String.valueOf(products[i].getprice()));
    private class ButtonActionHandler implements ActionListener
    public void actionPerformed(ActionEvent event)
    if (event.getSource() == first)
    addClicked = false;
    currentIndex = 0;
    setFields(currentIndex);
    makeFieldsEditable(false);
    else if (event.getSource() == next)
    addClicked = false;
    currentIndex++;
    if (currentIndex == numOfProducts)
    currentIndex --;
    setFields(currentIndex);
    makeFieldsEditable(false);
    else if (event.getSource() == previous)
    addClicked = false;
    currentIndex--;
    if (currentIndex < 0)
    currentIndex = 0;
    setFields(currentIndex);
    makeFieldsEditable(false);
    else if (event.getSource() == last)
    addClicked = false;
    currentIndex = numOfProducts - 1;
    if (currentIndex < 0)
    currentIndex = 0;
    setFields(currentIndex);
    makeFieldsEditable(false);
    else if(event.getSource() ==add)
    //add actions for add here
    if (!addClicked)
    resetFields();
    makeFieldsEditable(true);
    int itemNum = incrementItemNumber();
    System.out.println(itemNum);
    itemNumber.setText(String.valueOf(itemNum));
    currentIndex = numOfProducts;
    addClicked = true;
    else if(event.getSource() ==save)
    //add actions for save here
    //we need to call SaveToFile.java
    // SaveToFile.save;
    addClicked = false;
    System.out.println(currentIndex);
    if (!updateProduct(currentIndex))
    JOptionPane.showMessageDialog(null, "You have reached maximum number of products!");
    currentIndex --;
    setFields(currentIndex);
    else
    saveProduct();
    makeFieldsEditable(false);
    else if(event.getSource() == edit)
    //add actions for edit here
    // Inventory.edit;
    addClicked = false;
    makeFieldsEditable(true);
    else if(event.getSource() == search)
    //add actions for search here
    // Inventory.findIndex;
    addClicked = false;
    String name = JOptionPane.showInputDialog("Enter Product Name: ");
    int index = searchName(name);
    System.out.println(index);
    if (index == -1)
    JOptionPane.showMessageDialog(null, "No matching product found! ");
    else
    currentIndex = index;
    setFields(index);
    Here are my errors:
    C:\java>javac DVDInventory6.java
    DVDInventory6.java:460: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:463: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(false);
    ^
    DVDInventory6.java:467: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:474: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(false);
    ^
    DVDInventory6.java:478: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:485: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(false);
    ^
    DVDInventory6.java:489: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:496: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(false);
    ^
    DVDInventory6.java:501: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    if (!addClicked)
    ^
    DVDInventory6.java:503: cannot find symbol
    symbol : method resetFields()
    location: class PanelFrame.ButtonActionHandler
    resetFields();
    ^
    DVDInventory6.java:504: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(true);
    ^
    DVDInventory6.java:505: cannot find symbol
    symbol : method incrementItemNumber()
    location: class PanelFrame.ButtonActionHandler
    int itemNum = incrementItemNumber();
    ^
    DVDInventory6.java:507: cannot find symbol
    symbol : variable itemNumber
    location: class PanelFrame.ButtonActionHandler
    itemNumber.setText(String.valueOf(itemNum));
    ^
    DVDInventory6.java:510: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = true;
    ^
    DVDInventory6.java:517: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:519: cannot find symbol
    symbol : method updateProduct(int)
    location: class PanelFrame.ButtonActionHandler
    if (!updateProduct(currentIndex))
    ^
    DVDInventory6.java:527: cannot find symbol
    symbol : method saveProduct()
    location: class PanelFrame.ButtonActionHandler
    saveProduct();
    ^
    DVDInventory6.java:529: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(false);
    ^
    DVDInventory6.java:531: cannot find symbol
    symbol : variable edit
    location: class PanelFrame.ButtonActionHandler
    else if(event.getSource() == edit)
    ^
    DVDInventory6.java:535: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:536: cannot find symbol
    symbol : method makeFieldsEditable(boolean)
    location: class PanelFrame.ButtonActionHandler
    makeFieldsEditable(true);
    ^
    DVDInventory6.java:542: cannot find symbol
    symbol : variable addClicked
    location: class PanelFrame.ButtonActionHandler
    addClicked = false;
    ^
    DVDInventory6.java:544: cannot find symbol
    symbol : method searchName(java.lang.String)
    location: class PanelFrame.ButtonActionHandler
    int index = searchName(name);
    ^
    23 errors

    and many more errors
    such as;
    * you need to declare a method called makeFieldsEditable that takes a boolean value
    eg private void makeFieldsEditable(boolean editable){
       // add your implememntation
    }* you need to declare a method called resetFields
    eg private void resetFields(){
       // add your implememntation
    }* you need to declare a method called updateProduct
    eg private void updateProduct(int index){
       // add your implememntation
    }etc

  • Need help with adding the following to a program

    Modify the mortgage program to display the mortgage payment amount. Then, list the loan balance and interest paid for each payment over the term of the loan. The list would scroll off the screen, but use loops to display a partial list, hesitate, and then display more of the list. Do not use a graphical user interface. Insert comments in the program to document the program.
    Currently I am working on adding the following line in bold but getting error expected ";" on line 27
    import java.io.*;
    import java.util.Date;
    import java.text.DecimalFormat;
    public class Mortgage5
    public static void main(String[] args)
    Date currentDate = new Date(); //Date constructor
    DecimalFormat decimalPlaces = new DecimalFormat("$###,###.##");
    //declaring variables
    final double PRINCIPLE = 200000;
    final double INTEREST = .0575/12;
    final double TERM = 12*30;
    //declaring variables
    final double MONTHLY =PRINCIPLE*(INTEREST/(1-Math.pow(1+INTEREST, -TERM)));
    //displaying variables
    System.out.println("\t\t" + currentDate);
    System.out.println("\t\tPrinciple or Loan Amount: " + decimalPlaces.format(PRINCIPLE));
    System.out.println("\t\tInterest Rate: " + (INTEREST));
    System.out.println("\t\tThe Term of Loan (in months): " + (TERM));
    System.out.println("\t\tThe Monthly Payment is: " + decimalPlaces.format(MONTHLY));
    System.out.println("\t\tThe Balence - Your Payment is: " + decimalPlaces.format(PRINCIPLE*INTEREST*TERM)-MONTHLY));
    Any suggestions??? PLEASE

    Ok I figured out the issue now if someone can help me. I need to create a loop for the following:
    The list would scroll off the screen, but use loops to display a partial list, hesitate, and then display more of the list.
    Here is the Program so far.
    import java.io.*;
    import java.util.Date;
    import java.text.DecimalFormat;
    public class Mortgage5
    public static void main(String[] args)
    Date currentDate = new Date(); //Date constructor
    DecimalFormat decimalPlaces = new DecimalFormat("$###,###.##");
    //declaring variables
    final double PRINCIPLE = 200000;
    final double INTEREST = .0575/12;
    final double TERM = 12*30;
    //declaring variables
    final double MONTHLY =PRINCIPLE*(INTEREST/(1-Math.pow(1+INTEREST, -TERM)));
    final double NEWBAL = (PRINCIPLE*INTEREST*TERM) -MONTHLY;
    //displaying variables
    System.out.println("\t\t" + currentDate);
    System.out.println("\t\tPrinciple or Loan Amount: " + decimalPlaces.format(PRINCIPLE));
    System.out.println("\t\tInterest Rate: " + (INTEREST));
    System.out.println("\t\tThe Term of Loan (in months): " + (TERM));
    System.out.println("\t\tThe Monthly Payment is: " + decimalPlaces.format(MONTHLY));
    System.out.println("\t\tThe Balence - Your Payment is: " + decimalPlaces.format(NEWBAL));
    }

  • Need help with adding shadows to a shape (gradient mesh?...blur tool?)

    Hello. I'm an Illustrator novice, as you will be able to tell from my question. I'm somewhat familiar with the gradient mesh tool as well as the raster effects that Illustrator CS3 offers, but I can't figure out how to use them to do what I have to do.
    Here's my situation. I'm creating a logo design. It is a musical note with a flame coming off of it. I want to add the appearance of the shape having shadows (yellow for the light areas, and red for the shadowed areas).
    I can't get the gradient mesh tool to work because I'm assuming the shape is too complex. I understand that I could probably just create a bunch of different gradient mesh areas and just try to mesh them together, but is this necessary? ...and is chopping my shape into mulitple sections really the best method ? (it sure doesn't seem like the logical solution).
    Then I tried using Illustrators blur effects. I'm concerned to even use them for a logo design, because the "blur" effect is raster, and with a logo; it's probably not wise to use anything raster, correct? Anyway...i can't get it to work. I created a shape using the pen tool to replicate the shape of the shadow. When i blur it, the blur is visable outside the original logo shape. I don't know how to make it stop at the path edge. Does anyone know how?
    If anyone can please help me here, I would be more than grateful. I realize these questions probably stupid ones, but I just can't seem to figure out how to do this, despite reading tutorials and watching numerous youtube videos on the gradient mesh tool; I can't seem to figure out how to adapt it to my situation.
    Here is the image I created in Photoshop. I am trying to duplicate it in Illustrator CS3.
    [URL=http://img515.imageshack.us/my.php?image=surefiremusicnote.jpg][IMG]http://img515.ima geshack.us/img515/9348/surefiremusicnote.jpg[/IMG][/URL]

    Thanks Steve and Jet. I've spent the lasts 2 hours calling around to different print shops in hope that I can maybe trade labor for insight into their printing process. Problem is there seems to be a lack of 4 color offset printing companies who also offer spot colors. I really wish I had the money to take a class, but when I do, I will. I just contacted a few freelance designers who seem to have a lot of print work in their portfolios. Maybe they can teach me a thing or two, and in return I can drop them a few bucks or help them with something.
    Jet, you've got me very concerned here. What do you mean by "It's not just a matter of selecting colors; it's also a matter of selecting the number of inks necessary to render them in the various reproduction methods in which the mark will be used"? Are you just stating the importance in using swatch books (Pantone)?
    You mention the importance of a design being rendered in different forms (apparel, signs, promotional items..). So how should I go about doing this? Lets say a client wants a "mark" printed on all of the things you stated. Is it my duty to find out what printer they will be using before I submit design files to them? Is it the job of the designer to contact the print shop and get their profiles for different prints (glossy paper prints, matte paper prints, t-shirt printing, vehicle graphic printing)? This is all very time consuming, so should there not be extra charges when dealing with setting up different print settings for particular print jobs?
    I've read the blogs of some successful logo designers. David Airey for example just submits his logo design to his client in eps form I believe (plus any requests). Should he be submitting a separate file for each intended use, or is this the job of the client and printer to work out?
    You've got me extremely worried that I am going to really deal someone a bad hand here. As far as I know, this hasn't happened yet; but I'm glad you have me concerned. The sad part is that I do have a 2 year degree in graphic design and I didn't learn one thing about printing and it's association with color. The little I have learned is from the internet. I've checked out Amazon(dot)com for a good book on learning about color and print, but there seems to be a lack of recently written books (with reviews) regarding the subject. Can you recommend any?
    I started doing freelance work because people would ask me to design a t-shirt for them, or a flyer for their small business. So I did. Now I have more people requesting my services. It's hard to turn down the money, especially in these times. But at the same time, I don't want to cause major headaches for anyone either. Until recently, I had no idea the complexity of the design to print process. Just 3 days ago, I purchased a monitor calibration device and my first set of Pantone guides. They should arrive shortly. I know, don't laugh.
    My lack of knowledge regarding this whole thing has really got me questioning what I am doing. I figured all i really needed to know in Illustrator was to use the pen tool, since my use of Illustrator has been strictly for shaping logos.
    There are just so many questions I have, and all can't be answered through a google search. I really don't like wasting your time with my ignorance, but I do appreciate your assistance. It takes some time for my little brain to absorb all of this, but I have been reading all I can from the endless tutorials and forum discussions available on the web. The problem I've found is that alongside the large amount of great info on the web, there is seemingly an equal amount of contradictory or partially inaccurate info as well. which only confuses me more. For example, most people say to design in cmyk for print (300dpi higher or vector). A rep from Pantone told me to create my designs using Pantones color swatch groups. Why would I want to start in Pantone? Don't all of their colors cost extra money (spot colors require a new printer plate and ink to be set up). Starting in cmyk seems like a more logical approach. Is he just trying to sell me Pantone?
    Sorry for my redundant question regarding the concern for non-single colored paths not being able to join. You obviously answered my question with your example.
    For your time, I would like to show my appreciation. If you wouldn't' mind leaving your paypal address, I can send ya a couple/few bucks. Books are great, but they can't answer all questions. Forums like this one are really very helpful and a great learning tool. I do realize I have to continue educating myself as much as possible. I'm not going to give up, that's for sure.
    So, do you work for Adobe, or are you a graphic designer? Do you have a website with tutorials or a book I can buy lol?
    It would be great to be able to see a walkthrough in the design process of a successful designer and the proper methods of designing for different forms of print.

  • Need help with adding a table-like chart

    Post Author: lindad
    CA Forum: Charts and Graphs
    I am trying to see if there is any way to add a table to a Crystal Report (using Crystal 10) that looks like a table you would create in MSWord.  We need an easy way to remove and add columns in a table and right now using drawn lines and moving fields to realign every time is a real pain.

    Post Author: lindad
    CA Forum: Charts and Graphs
    The table includes multiple rows and columns where the fields are from different places in the db.  Also, the headers are just txt fields that do not associate with a specific field. 
    If I add a border to the fields, I still need to manually move them horizontally and vertically to realign if I add or delete a column or row.  As you know in MSWord, if you add or remove a column or row in a table, the table automatically resizes itself and makes the fields line up correctly.
    Is there any way to do this in Crystal?

  • Need help with adding arrays to invoice.java please willing to pay?

    Using your Invoice class created in lab02, write a client program that allows the user to input three Invoice objects into an array of Invoice objects. After you have inputted all of the invoices, print a heading and then output all of the array elements (Invoice objects) by calling the method from your Invoice class that displays all of the data members on a single line using uniform field widths to insure that all Invoice objects will line up in column format (created in Lab04). At the end of the loop, display the calculated total retail value of all products entered in the proper currency format.
    Example of possible program execution:
    Part Number : WIDGET
    Part Description : A fictitious product
    Quantity : 100
    Price          : 19.95
    (etc.)
    Example of possible output
    Part Number          Part Description          Quantity          Price     Amount
    WIDGET          A fictitious product     100          19.95     199.95
    Hammer               9 pounds          10          5.00     50.00
    (etc.)
    Total Retail Value:                                   249.95
    This is what i have so far Invoice Test
    //Lab 2 InvoiceTest.java
    //Application to test class Invoice.
    //By Morris Folkes
    public class InvoiceTest
    public static void main( String args[] )
    Invoice invoice1 = new Invoice( "1234", "Hammer", 2, 14.95 );
    // display invoice1
    System.out.println( "Original invoice information" );
    System.out.printf( "Part number: %s\n", invoice1.getPartNumber() );
    System.out.printf( "Description: %s\n",
    invoice1.getPartDescription() );
    System.out.printf( "Quantity: %d\n", invoice1.getQuantity() );
    System.out.printf( "Price: %.2f\n", invoice1.getPricePerItem() );
    System.out.printf( "Invoice amount: %.2f\n",
    invoice1.getInvoiceAmount() );
    // change invoice1's data
    invoice1.setPartNumber( "001234" );
    invoice1.setPartDescription( "Blue Hammer" );
    invoice1.setQuantity( 3 );
    invoice1.setPricePerItem( 19.49 );
    // display invoice1 with new data
    System.out.println( "\nUpdated invoice information" );
    System.out.printf( "Part number: %s\n", invoice1.getPartNumber() );
    System.out.printf( "Description: %s\n",
    invoice1.getPartDescription() );
    System.out.printf( "Quantity: %d\n", invoice1.getQuantity() );
    System.out.printf( "Price: %.2f\n", invoice1.getPricePerItem() );
    System.out.printf( "Invoice amount: %.2f\n",
    invoice1.getInvoiceAmount() );
    Invoice invoice2 = new Invoice( "5678", "PaintBrush", -5, -9.99 );
    // display invoice2
    System.out.println( "\nOriginal invoice information" );
    System.out.printf( "Part number: %s\n", invoice2.getPartNumber() );
    System.out.printf( "Description: %s\n",
    invoice2.getPartDescription() );
    System.out.printf( "Quantity: %d\n", invoice2.getQuantity() );
    System.out.printf( "Price: %.2f\n", invoice2.getPricePerItem() );
    System.out.printf( "Invoice amount: %.2f\n",
    invoice2.getInvoiceAmount() );
    // change invoice2's data
    invoice2.setQuantity( 3 );
    invoice2.setPricePerItem( 9.49 );
    // display invoice2 with new data
    System.out.println( "\nUpdated invoice information" );
    System.out.printf( "Part number: %s\n", invoice2.getPartNumber() );
    System.out.printf( "Description: %s\n",
    invoice2.getPartDescription() );
    System.out.printf( "Quantity: %d\n", invoice2.getQuantity() );
    System.out.printf( "Price: %.2f\n", invoice2.getPricePerItem() );
    System.out.printf( "Invoice amount: %.2f\n",
    invoice2.getInvoiceAmount() );
    } // end main
    } // end class InvoiceTest

    i suck in java There are 2 possible reasons for this:
    1. you haven't studied
    2. you aren't cut out for programming
    and there r hardly any tutors at my school. plus i work 2 jobs day n night. Please, I'm only want help thats allYou have the help of the ENTIRE WORLD COMMUNITY right here, right now. But you're not willing to make any effort whatsoever. You think people will help or even respect you? You may fail your class and you may fail in life!
    Cheaters don't win and winners don't cheat!

Maybe you are looking for