Problem with Total Button with DroupDown list

Hi All,
here i have one Standard Report witch TCode is J3RFPDE . After Execute this program in output i get many button and in this button "TOTAL SIGN BUTTON"  has DroupDown list. So if i want thisTotal  Dropdown Button in my Report so is ti possible. And it's possible then please kindly tell me the procedure.
Thanks
Keyur Chauhan

Hi,
see report BCALV_GRID_05  it's a good exemple
you must define class  METHOD handle_toolbar. 
Rgds

Similar Messages

  • Having problem with reading list in safari

    i am having problem with reading list in safari some time it work sometimes gets hang....

    Might be a cache issue ...
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.

  • Is there a way to fix ipod touch screen display problem with song list?

    I was wondering if anybody has had this problem? I have an ipod touch 64gig 5th gen for probably about 2 years. I hardly use it because I have it as a back up ipod until primary one dies. This is the first time I came across this problem. Upon turning on device, the first artist/song list I choose displays correctly. Once I start choosing any other artist/song list afterwards, the display for the 1st artist/song list re-appears. If the song list is only a single song to 3-4 songs it will display correctly. Any other song list I choose that consist more than 5 songs, the first artist/song list re-appears on screen like the display is messed up.
    For example: Upon turning on device, I choose Aaliyah with a list of 9 songs displaying.
    Upon trying to select a different artist and song, for example I choose Nachtmar with a  list of 20 songs.
    The Aaliyah with the list of 9 songs re appears in place of the song list I am attempting to choose. The songs play and it works, but the display is incorrect. Why is it doing this? Does anybody have this problem? I have tried resetting and it has currently been updated. I have came across this problem just very recently a couple of days ago. I have had a couple of hard resets requiring to erase all data in the past and I don't want to go that way again because I have about 3,500 songs. I have never experience this problem before in the past. I just want it to display the current list of songs. It's inconvenient having to type in every song while playing in the car instead of being able to easily pick an individual song.

    I have this problem too and it drives me crazy. When I view my ipod, I don't want to see a list of the first 8 songs in my ipod library. I just want to see the current song playing. It's like the ipod display goes into some type of "sleep" mode while your music plays,and the display defaults to show the first few songs in your ipod touch library, even though none of those songs are currently being played. I have to take the time to either flip the ipod over a couple of times in order for that list to disappear just to see the current song playing.
    This is an example of what I see on my display after the current song begins playing. These are the first songs in my ipod library. To get rid of this view, I have to either shake the ipod or flip it over a couple of times and the current song is now displayed, allowing you to see the current song, also allowing you access to the arrows to either fast forward or playback/reverse. On the display, the songs are in a grid or table format (unable to show that here).
    Acoustic Soul
    Aaliyah
    Adventers on the Wheels
    Adventures in Paradise
    After Tonight
    Will Downing

  • Simple problem with a list initialization.

    hello ! i have a class Contact and i would like to make a list of lists of Contact variables .. but when i try to run my code , it says "IndexOutOfBoundsException: Index: 0, Size: 0" . I know that every list of the list must be initialized .. but i don't know how .
    here is the declaration of the List
    static  List<List<Contact>> lolContact=new ArrayList<List<Contact>>();and i know that i should do something like :
    lolContact.get(0)=new ArrayList<Contact>();to initialize every list of the list but i don't know how . please help

    badescuga wrote:
    and i know that i should do something like :
    lolContact.get(0)=new ArrayList<Contact>();
    Couple of problems with that.
    1. You can never do methodCall() = something in Java. The result of a method call is not an L-value.
    2. You're trying to assign a ContactList to a Contact variable. Basically, you're trying to do
    Contact c = new ArrayList<Contact>();3. Even if you changed it to
    Contact c = lolContact.get(0);
    c = new Contact();it would not put anything into the list. That would just copy the first reference in the list and stick it into variable c, so that both c and the first list item point to the same object (remember, the list contains references, not objects--no object or data structure ever contains an object in Java), and then assigns a completely different reference to c, forgetting about the one to the object pointed to by the list. It would not affect the list in any way.
    4. You can't do get(0) until you've first put something into the list.

  • Problem with ALV list

    Hi friends,
                  I have created one program with alv list, but i am unable to add one header and footer, also i have to add one logo to the program. Plese some one tell me a easy procedure to add a header, footer and also a logo. If you can show me one with example that would be very helpful.
    This is my program, plz add the necessary parts.
    *& Report Y_BOM2_ALV
    REPORT y_bom2_alv LINE-SIZE 350 LINE-COUNT 350.
    *& Include YINCLUDE1
    TABLES : mast, stko, stpo.
    TYPE-POOLS : slis.
    DATA : BEGIN OF iall OCCURS 10,
    matnr LIKE mast-matnr,
    werks LIKE mast-werks,
    stlan LIKE mast-stlan,
    stlal LIKE mast-stlal,
    stlst LIKE stko-stlst,
    posnr LIKE stpo-posnr,
    idnrk LIKE stpo-idnrk,
    menge LIKE stpo-menge,
    meins LIKE stpo-meins,
    ausch LIKE stpo-ausch,
    lgort LIKE stpo-lgort,
    END OF iall.
    DATA : i_repid LIKE sy-repid,
    i_lines LIKE sy-tabix.
    DATA : int_fcat TYPE slis_t_fieldcat_alv.
    SELECTION-SCREEN BEGIN OF BLOCK a1 WITH FRAME TITLE title1.
    PARAMETER : p_werks LIKE mast-werks.
    SELECT-OPTIONS : s_matnr FOR mast-matnr.
    SELECTION-SCREEN END OF BLOCK a1.
    INITIALIZATION.
    title1(50) = ' Bill Of Material Input Screen '.
    *& Include YINCLUDE2
    START-OF-SELECTION.
    SELECT mastmatnr mastwerks maststlan maststlal stko~stlst
    stpoposnr stpoidnrk stpomenge stpomeins stpo~ausch
    stpo~lgort INTO TABLE iall FROM stpo INNER JOIN stko ON
    stpostlnr = stkostlnr INNER JOIN mast ON
    stpostlnr = maststlnr WHERE mast~werks EQ
    p_werks AND mast~matnr IN s_matnr.
    IF sy-subrc <> 0 OR p_werks EQ ' ' OR s_matnr EQ ' '.
    CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
    EXPORTING
    titel = 'ERROR MESSAGE ( INPUT ERROR / WRONG INPUT ) '
    textline1 = ' PLANT / MATERIAL Invalid or Empty '
    textline2 = ' Plese enter plant no / material no again '
    start_column = 20
    start_row = 5.
    EXIT.
    ENDIF.
    CLEAR i_lines.
    DESCRIBE TABLE iall LINES i_lines.
    IF i_lines LT 1.
    WRITE: /
    'No materials found.'.
    EXIT.
    ENDIF.
    END-OF-SELECTION.
    i_repid = sy-repid.
    *& Include YINCLUDE3
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = i_repid
    i_internal_tabname = 'IALL'
    i_inclname = i_repid
    CHANGING
    ct_fieldcat = int_fcat
    EXCEPTIONS
    inconsistent_interface = 1
    program_error = 2
    OTHERS = 3.
    IF sy-subrc <> 0.
    WRITE: /
    'Returncode',
    sy-subrc,
    'from FUNCTION REUSE_ALV_FIELDCATALOG_MERGE'.
    ENDIF.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    i_callback_program = i_repid
    it_fieldcat = int_fcat
    i_save = 'A'
    TABLES
    t_outtab = iall
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    WRITE: /
    'Returncode',
    sy-subrc,
    'from FUNCTION REUSE_ALV_LIST_DISPLAY'.
    ENDIF.

    Hi Tapodipta,
    See below example and modify ur code according to ur requirement..
    REPORT  ZTEST_ALV_CHECK        .
    TYPE-POOLS: SLIS.
    DATA: X_FIELDCAT TYPE SLIS_FIELDCAT_ALV,
          IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
          L_LAYOUT type slis_layout_alv,
          x_events type slis_alv_event,
          it_events type SLIS_T_EVENT.
    DATA: BEGIN OF ITAB OCCURS 0,
          VBELN LIKE VBAK-VBELN,
          POSNR LIKE VBAP-POSNR,
         END OF ITAB.
    SELECT VBELN
           POSNR
           FROM VBAP
           UP TO 20 ROWS
           INTO TABLE ITAB.
    X_FIELDCAT-FIELDNAME = 'VBELN'.
    X_FIELDCAT-SELTEXT_L = 'VBELN'.
    X_FIELDCAT-TABNAME = 'ITAB'.
    X_FIELDCAT-COL_POS = 1.
    APPEND X_FIELDCAT TO IT_FIELDCAT.
    CLEAR X_FIELDCAT.
    X_FIELDCAT-FIELDNAME = 'POSNR'.
    X_FIELDCAT-SELTEXT_L = 'POSNR'.
    X_FIELDCAT-TABNAME = 'ITAB'.
    X_FIELDCAT-COL_POS = 2.
    APPEND X_FIELDCAT TO IT_FIELDCAT.
    CLEAR X_FIELDCAT.
      x_events-NAME = SLIS_EV_END_OF_PAGE.
      x_events-FORM = 'END_OF_PAGE'.
      APPEND x_events  TO iT_EVENTS.
      CLEAR x_events .
      x_events-NAME = SLIS_EV_TOP_OF_PAGE.
      x_events-FORM = 'TOP_OF_PAGE'.
      APPEND x_events  TO iT_EVENTS.
      CLEAR x_events .
      x_events-NAME = slis_ev_end_of_list.
      x_events-FORM = 'END_OF_LIST'.
      APPEND x_events  TO iT_EVENTS.
      CLEAR x_events .
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
      EXPORTING
        I_CALLBACK_PROGRAM       = SY-REPID
        IS_LAYOUT                = L_LAYOUT
        IT_FIELDCAT              = IT_FIELDCAT
        it_events                = it_events
      TABLES
        T_OUTTAB                 = ITAB
      EXCEPTIONS
        PROGRAM_ERROR            = 1
        OTHERS                   = 2.
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    FORM TOP_OF_PAGE.
    * BREAK-POINT.
      WRITE: / 'TOP_OF_PAGE'.
    ENDFORM.
    FORM END_OF_LIST.
    * BREAK-POINT.
    "here you can use this for footer
      WRITE: / 'FOR FOOTER'.
    ENDFORM.
    FORM END_OF_PAGE.
    * BREAK-POINT.
      WRITE: / 'END_OF_PAGE'.
    ENDFORM.
    Go through the link as well..
    Re: ALV  Footer
    Hope it will solve ur problem..
    <b>Reward points if useful..</b>
    Thanks & Regards
    ilesh 24x7

  • Problem with contact list in email w/ 3.0

    After upgrading to 3.0 I'm having a problem with the "To" in emails. I start typing in a name in the "To" field and it does not bring up matching entries in my contact list (it used to do so with the previous version SW).
    I have to try to send the email at which time an error message comes up. I have to cancel the send, delete the name in the "To" field and type the name in again. The second time it brings up the contact list and eveything works fine.
    Anyone else having this problem?

    Jackson_Bill wrote:
    What IDE are you using and what platform?Read first.
    Moh Bob wrote:
    I'm using J2ME platform SDK 3.0
    db

  • Problem with Linked List

    i have make a database with linked list for a School student counselor.
    The to be store is
    student name, ID, Counseling Date, Progress
    In there there will be record for a student and the Date and progress has to be stored for 4-weeks as the counseling is on weekly basis. These data items will be multivalued(what u say in Databases) how i can store this repetitive data in linked list for one student.

    By capsulating the data in objects and adding the objects to a linked list.

  • Problems with Smart List in Forms.

    Hi,
    I set Smart List in my Account Dimension.
    In HP Documentation (9.2 and 9.3.1) I read that is posible to allow or not allow a user using Smart List for a specific member of account through a form option.
    I already used this option in HP 9.2, but in 9.3.1 it do not exist this option in dataform, even so in 9.3.1 documentation says that it's posible.
    I wanna Know if someone have used this option in 9.3.1.
    I have been thinking in re install Planning or duplicate member that I need use sometimes with Smart List and sometimes writing a number.
    Any idea???
    Thanks

    tbian wrote:
    John,
    That is true, it states that there is an option to turn Smart List off and on for any data form. It does state within the admin guides but I don't see the option when I edit the data forms.
    Am I missing something?
    Best Regards,
    Tammy Bian CarlileI think the documentation is saying you can either have all the forms displaying smart lists or the other choice is not to have them, this is defined by using the evaluation order.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Problem with REUSE LIST DISPLAY , need to add std button in list.

    HI All,
    I make a ALV report with the use of ALV_GRID_DISPLAY after that if we click on perticular column then secondry list should be display for that i use :
                CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
                  EXPORTING
                    i_callback_program    = sy-repid
                    is_layout             = w_gs_layout1
                    it_fieldcat           = w_gs_fieldcat[]
                    i_save                = c_x
                    i_screen_start_column = c_start_column
                    i_screen_start_line   = c_start_line
                    i_screen_end_column   = c_end_column
                    i_screen_end_line     = c_end_line
                  TABLES
                    t_outtab              = tl_nonlabor_comb[]
                  EXCEPTIONS
                    program_error         = 1
                    OTHERS                = 2.
                IF sy-subrc <> 0.
                  MESSAGE text-072 TYPE c_s DISPLAY LIKE c_e.
                  LEAVE LIST-PROCESSING.
                ENDIF.
    data is comming perfectly but i need one std button in secondrly alv for EXCEL DOWLOAD , so how can i include?
    Thanks ,
    jaten

    Hi,
    Create a copy of PF-STATUS of the screen of the ALV grid which is displayed to your program.
    Add the new button in the  PF-STATUS.
    Create a subroutine within your program.
    In this subroutine SET PF-STATUS (copied pf-status).
    Pass the form routine name for setting the copied  PF-STATUS to the parameter I_CALLBACK_PF_STATUS_SET.
    Create a new subroutine in your program to handle the oK_CODE for the new button.
    Pass this subroutine name to the parameter I_CALLBACK_USER_COMMAND of the FM.
    Pass the value of call back program (sy-repid) to the parameter I_CALLBACK_PROGRAM.
    Regards,
    Ankur Parab

  • Problem with the List/Album List/Cover Flow/Grid view buttons

    Is anyone else having this problem?
    I have each playlist/media in different views. I have my music in List view, my podcasts, TV shows, and certain playlists in Album List view, and my movies and music videos in grid view. But now, any view that I select makes it the same for each playlist/media and I have to manually change it everytime I go to one of those lists. I figure this is a glitch with 10.5.3. Anyone else experiencing this?

    I'm also having that problem.
    It seemed to happen after iTunes 10.5 updates.
    I like my music in album list view and my apps in grid form.  However, now it's just one view for all lists.  Any fixes for this or is this a bug that needs to be ironed out by Apple?

  • Problem with DropDown List and ValueChange

    Hi,
    I have the following problem (I use NetBeans 6.1): I have a page, made with the Visual Web Designer, where there is a DropDown List component. The expected behaviour is once I select an item from the dropdown list, something (depending on the item I clicked) appears or happens (so, without any submit button or action link).
    This is the code I have at the moment:
    JSP (Pagina1.jsp):
    <h:selectOneMenu binding="#{Pagina1.dataTypeDropDown}" id="dataTypeDropDown" immediate="true" onchange="return getSearchFields(this);" style="height: 24px; left: 192px; top: 24px; position: absolute; width: 744px" valueChangeListener="#{Pagina1.dataTypeDropDown_processValueChange}">
        <f:selectItems binding="#{Pagina1.dropdown1SelectItems}" id="dropdown1SelectItems" value="#{Pagina1.dropdown1DefaultItems}"/>
    </h:selectOneMenu>
    Bean (Pagina1.java):
    public void dataTypeDropDown_processValueChange(ValueChangeEvent vce)
        String selectedValue = (String)vce.getNewValue();
        System.out.println(selectedValue);    // nothing happens!
        System.out.println("Hello");    // nothing happens!
    [...]My problem is that, whenever I select an item form the dropdown list, ehm... nothing happens.
    What could I do? Isn't that a kind of "change of value"? JavaScript events work fine, but no way with the ValueChange.
    And please consider that I'd like to obtain the same result with both Standard Components and Woodstock Components.
    Any help would be greatly appreciated!
    Thanks!

    try adding "*this.form.submit();*" to your on change attribute of select menu.
    Your on change will look like onchange="return getSearchFields(this);this.form.submit();"
    This should work.

  • New moto e 2nd gen problem with contact list,. all email in my contacts

    Please help. I just switched phones to the new Moto E 2nd gen AT&T from virgin mobile.  My contacts are over 1500, it grabbed in to my contact list any email contact i ever received or sent. I only want phone numbers my contacts. I tried deleting them but doing one at a time would take weeks.  How do I get just my contact PHONE list off my old galaxy 3 to my new moto e phone and not the email address??

    Try viewing your contacts with the steps below!  Hope this helps!
    From the home screen, touch the applications tab (located at the bottom of the display).
    Touch Contacts. 
    Press the Menu button.
    Touch Display group. 
    Select the contact group to display (i.e. All contacts, Favorites, Google, Phone Contacts, etc.).

  • RH8 for HTML: Problem with Multilevel List in published topic(s)

    I have discovered that working with the multilevel list and reapplying it (changing a level 2 to a level 1, for example) inserts numerous <span style margin> tags that don't show up in RH design view nor in an IE view of the published content, but the published help renders badly in Firefox (like a "justified" paragraph style that inserts broad spacing between words).
    The bad thing is that broad spacing is added to a command where no spaces should be, which looks fine in IE, but renders like this in Firefox:
    sqlplus XBRLDB/[email protected]:1521/ubmatrix
    @C:\xbrl_database\database\Oracle\       verify_registration        _v1_0        _1        .sql
    The "source" for published content looks like this:
    <p class="CodeSample" style="margin-left: 24px;">sqlplus XBRLDB/[email protected]:1521/ubmatrix
    @C:\xbrl_database\database\Oracle\<span style="margin-left: 40px;">verify_registration</span>
    <span style="margin-left: 40px;">_v1_0</span><span style="margin-left: 40px;">_1</span>
    <span style="margin-left: 40px;">.sql</span></p>
    How do I prevent the <span> tags from getting added to the RH project files? How do I remove them using the RH interface?
    Why are they getting added in such wierd places?
    PS: I have kept the paragraph style Numlist (which is how I define numbered procedures). I just apply the multilevel list to paragraphs tagged with this style. It's been working OK, except for the newly discovered problem above.
    I'm using Verdana family and the numbers look good. I've only looked at the published HTML which looks like this: I
    <p class="Numlist">1<span style='font:6.0pt "Times New Roman"'><font size="1" style="font-size:6pt;">        </font></span>Do this</p>
    looks like this in a broser view:
    1 Do this
    Is this the 'expected' HTML code for numbered procedures (all this to precede a paragraph with a number), or is there a more efficient way to render numbered/mutilevel lists?

    Hi there
    I just created a small video that may be helpful for this.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Problem with resource list filter in SP15

    Hi Gurus,
    I modified a standard SAP provided layoutset to provide a filtering service exactly like explained in this blog:
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2102
    It's working properly in EP6.0 SP09, but unfortunately it doesn't work in SP15 (with the same KM configuration).
    The problem seems this:
    after click on "Filter" button, the runtime environment correctly calls "onSetFilters" event handler, but at the end of this method, the execution flow doesn't invoke "filterResourceList" method in the "SimpleResourceFilter" class.
    Have you any ideas for this behavior?
    Please, i need urgent help.
    Thanks in advantage.
    Regards,
    Alfio Nucifora.

    Yes, i solved my problem.
    I changed the resourcetype property of "MemoryOptimizedHierarchicalStatus" Renderer Status (System Administration/System Configuration/
    Knowledge Management/User Interface/Mapping/
    Renderer Status) from MemoryOptimizedHierarchicalStatus to
    none.
    Regards,
    Alfio Nucifora.

  • Problems with Student List Part 1

    i have tried a lot of things to make this program run, but it doesn't.. so guys, i really need your help.. the following codes are to be saved as: StudentList.java, Student.java, Person.java, MyListArray.java and MyList.java.. the program will run through compiling and running StudentList.java.. this program adds Student Lists.. the problem is that it does not delete and insert item lists after is has been displayed.. so guys, i hope you can help me with this one..thanks in advance
    * @(#)StudentList.java
    * @author
    * @version 1.00 2009/1/13
    import java.util.*;
    public class StudentList extends MyListArray
         public static void menu()
              String [] menu = {"...Student List...",
                                    "1. Create List",
                                    "2. Add Student",
                                    "3. Delete Student",
                                    "4. Insert Student",
                                    "5. Display Student",
                                    "6. Quit"};
              for(int i = 0; i < menu.length; i++)
                   System.out.println(menu);
         public static void main(String[] args)
              MyListArray list = null;
              Scanner con = new Scanner(System.in);
              String idno = null;
              String familyName = null;
              String givenName = null;
              String mi = null;
              String course = null;
              int option = 0;
              Student t = null;
              Student s = null;
              while(option != 6)
                   menu();
                   System.out.print("Select item from above: ");
                   option = con.nextInt();
                   switch(option)
                        case 1: System.out.println("Create List");
                                  System.out.print("Enter size: ");
                                       int size = con.nextInt();
                                       list = new MyListArray(size);
                                       break;
                        case 2: System.out.println("Add Student");
                                  System.out.print("ID Number: ");
                                       idno = con.next();
                                  System.out.print("Family Name: ");
                                       familyName = con.next();
                                  System.out.print("Given Name: ");
                                       givenName = con.next();
                                  System.out.print("Middle Intitial: ");
                                       mi = con.next();
                                  System.out.print("Course: ");
                                       course = con.next();
                                  list.addItem(new Student(idno,familyName, givenName, mi, course));
                                  break;
                        case 3: System.out.println("Delete Student");
                                  System.out.print("Enter ID Number: ");
                                       idno = con.next();
                                       s = new Student();
                                       s.setIdNo(idno);
                                       list.deleteItem(s);
                                       break;
                        case 4: System.out.println("Insert Student");
                                  System.out.print("ID Number: ");
                                       idno = con.next();
                                  System.out.print("Family Name: ");
                                       familyName = con.next();
                                  System.out.print("Given Name: ");
                                       givenName = con.next();
                                  System.out.print("Middle Intitial: ");
                                       mi = con.next();
                                  System.out.print("Course: ");
                                       course = con.next();
                                  s = new Student(idno, familyName, givenName, mi, course);
                                  System.out.print("Insert at ID Number: ");
                                       idno = con.next();
                                       t = new Student();
                                       t.setIdNo(idno);
                                       list.insertItem(t,s);
                                       break;
                        case 5: System.out.println("Student List");
                                  System.out.println("" + list);
    * @(#)Student.java
    * @author
    * @version 1.00 2009/1/13
    public class Student extends Person
              private String idno;
              private String course;
         public Student(String idno, String familyName, String givenName, String mi, String course)
              super(familyName, givenName, mi);
              this.idno = idno;
              this.course = course;
         public Student()
              super();
              this.idno = "___";
              this.course = "___";           
         public String toString()
              return idno + " " + getFamilyName() + " " + getGivenName() + " " + getMi() + " " + course;
    Edited by: jen_nard on Jan 23, 2009 4:33 AM
    Edited by: jen_nard on Jan 23, 2009 4:36 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    hi, i have added some methods in my program..but still, it does not work correctly..
    * @(#)StudentList.java
    * @author
    * @version 1.00 2009/1/13
    import java.util.*;
    public class StudentList extends MyListArray
         public static void menu()
              String [] menu = {"...Student List...",
                                    "1. Create List",
                                    "2. Add Student",
                                    "3. Delete Student",
                                    "4. Insert Student",
                                    "5. Display Student",
                                    "6. Quit"};
              for(int i = 0; i < menu.length; i++)
                   System.out.println(menu);
         public static void main(String[] args)
              MyListArray list = null;
              Scanner con = new Scanner(System.in);
              String idno = null;
              String familyName = null;
              String givenName = null;
              String mi = null;
              String course = null;
              int option = 0;
              Student t = null;
              Student s = null;
              while(option != 6)
                   menu();
                   System.out.print("Select item from above: ");
                   option = con.nextInt();
                   switch(option)
                        case 1: System.out.println("Create List");
                                  System.out.print("Enter size: ");
                                       int size = con.nextInt();
                                       list = new MyListArray(size);
                                       break;
                        case 2: System.out.println("Add Student");
                                  System.out.print("ID Number: ");
                                       idno = con.next();
                                  System.out.print("Family Name: ");
                                       familyName = con.next();
                                  System.out.print("Given Name: ");
                                       givenName = con.next();
                                  System.out.print("Middle Intitial: ");
                                       mi = con.next();
                                  System.out.print("Course: ");
                                       course = con.next();
                                  list.addItem(new Student(idno,familyName, givenName, mi, course));
                                  break;
                        case 3: System.out.println("Delete Student");
                                  System.out.print("Enter ID Number: ");
                                       idno = con.next();
                                       s = new Student();
                                       s.setIdNo(idno);
                                       list.deleteItem(s);
                                       break;
                        case 4: System.out.println("Insert Student");
                                  System.out.print("ID Number: ");
                                       idno = con.next();
                                  System.out.print("Family Name: ");
                                       familyName = con.next();
                                  System.out.print("Given Name: ");
                                       givenName = con.next();
                                  System.out.print("Middle Intitial: ");
                                       mi = con.next();
                                  System.out.print("Course: ");
                                       course = con.next();
                                  s = new Student(idno, familyName, givenName, mi, course);
                                  System.out.print("Insert at ID Number: ");
                                       idno = con.next();
                                       t = new Student();
                                       t.setIdNo(idno);
                                       list.insertItem(t,s);
                                       break;
                        case 5: System.out.println("Student List");
                                  System.out.println(" " + list);
    * @(#)Student.java
    * @author
    * @version 1.00 2009/1/13
    public class Student extends Person
              private String idno;
              private String course;
         public Student(String idno, String familyName, String givenName, String mi, String course)
              super(familyName, givenName, mi);
              this.idno = idno;
              this.course = course;
         public Student()
              super();
              this.idno = "___";
              this.course = "___";           
         //setters
         public void setIdNo(String idno)
                   this.idno = idno;
         public void setCourse(String course)
              this.course = course;
         //getters
         public String getIdNo()
              return idno;
         public String getCourse()
              return course;
         public boolean equals(Object obj)
              boolean okey = false;
              if(obj instanceof StudentList)
                   Student s = (Student)obj;
                   if(s.getIdNo().equals(idno))
                        okey = true;
              return okey;
         public String toString()
              return idno + " " + super.toString() + " " + course;

Maybe you are looking for