Help : swing search by hi-light

Hi..
I need help, i working on search dictionary
if i search "www" then it must be HI-LIGHTED
by blue color
thankx in advance....

We had this issue which we found out was caused by a personal list being saved accidently by a user.  Therefore when ever they searched using a customer number that didnt match the 1 order on their personal list, no results would be shown.
The issue could be resolved as follows;
Transaction: VA02/VA03
Enter the customer number and right click on search.
Select the possible entries option or press F4.
At the top of the screen you will be able to see text that says how many orders are on the users personal list.
Select each search tab until one tab will show the orders saved on the users personal list.
You can then select the DELETE FROM PERONAL LIST ICON to remove the orders from your personal list.
You will then be able to do a proper search revealing all results matching the search criteria entered. 
The personal list only searches the orders saved within that personal lists and thats why no results are displayed.  Even though there might be orders on the systems for the customer you are searching for - the customers order may not be saved on your personal list.

Similar Messages

  • Encountered an error when attempting to open Lightroom for the first time. Went to Lightroom Help and searched for the error "An error occurred when attempting to change modules". Non of the solutions helped. what now?

    Encountered an error when attempting to open Lightroom for the first time. Went to Lightroom Help and searched for the error "An error occurred when attempting to change modules". Non of the solutions helped. What now?

    I am getting this error message as well. I have just downloaded Lightroom recently. I try to click on Lightroom / preferences....and nothing happens. I tried to uninstall and it is greyed out so I can't do that either. Suggestions? Please help?

  • URGENT HELP ! Search did not help !

    *URGENT HELP ! Search did not help !*
    I bought my new iPod classic three days ago and until yesterday it worked OK. Every time I plug iPod to my computer I get message "CONNECTED" and I hear that sound in Windows that is saying that something is connected, but almost amidiadly I get the message "EJECTING" and it ejects. I don't see anything in iTunes or My Computer and everything lasts for a few seconds. I reinstalled Windows, so I'm using a fresh copy without any bugs, well if you can call Windows bug free lol USB port to which I'm connecting iPod is 2.0...
    I can't even see iPod in My Computer - Properties - Hardware - Device Manager.. And when I leave this windows on and then connect iPod I can see that "xx Apple iPod" appears for a few seconds...
    I read that people had similar and same problems, but there is for instance no connected device in Device Menager for me to update and even Disk Mode does not work... I also did not read that someone solved this problem...
    Scould I call them and ask them to get another one or what ?
    PLEASE HELP ! And Thank You...
    Message was edited by: Samael54

    No I downloaded the fix, but it won't not even install.. I sow that that fix was replaced with a new one, so I subscribed to get that fix, but nothing so far, but I remember installing that fix yesterday and it did not help as well.. I will try to get it to some other computer and restore it without iTunes somehow, but I don't know if this is posible or if it does not work with my PC does not mean it will work on some other

  • 'Help cannot search for that phrase'

    I am getting the message 'Help cannot search for that phrase' while searching for 'xml' in a chm (generated using RH9). The old CHM (generated using RH8) shows the results for the keyword xml. Is this a known issue? Any workaround to resolve this issue?

    I just tried in a Rh10 project and got the same result in a CHM but not in WebHelp, there the search worked so I suspect it is something in the Microsoft Help Compiler.
    There is a solution if you can upgrade to Rh10. That allows you to generate WebHelp and then convert it to a skinned CHM. I just tried that and there the search worked in the CHM.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • SVS, EVS, and OVS, Value Help and Search Help

    what and how to use SVS, EVS, and OVS, Value Help and Search Help  in abap webdynpro...Can anyone please give example link or document...As i am able to get on ovs but unable to get rest of other

    SVS and EVS are Web Dynpro Java specific types of value help.  They do not exist in Web Dynpro ABAP.  In Web Dynpro ABAP we have Data Dictionary based Search Help, OVS, and Freely Programmed Value Help.  In WDA 7.02 we have the slight variant on DDic Search Help called Suggest Values.  It doesn't change the development model, just the runtime user experience. 
    You can read more about each of the types of WDA based value help in the online help:
    http://help.sap.com/saphelp_nw73ehp1/helpdata/en/47/9b298c66eb3376e10000000a421937/frameset.htm

  • Portal Help Article search only works english

    Hi!
    I know there are similar questions and answers but none helped me so far :(
    It's a new SCSM 2012 R2 install and all seems to be working.
    BUT when changing display language in SCSM SSP from english to finnish the knowledge article search does not work.
    I get this in the Portal server even log:
    An exception was thrown while processing GetManagedEntitiesByManagedEntityTypesAndCriteriaWithInstanceQueryOptions for session ID .
    Exception message: The creator of this fault did not specify a Reason.
    Full Exception: System.ServiceModel.FaultException`1[Microsoft.EnterpriseManagement.Common.UnknownDatabaseException]: The creator of this fault did not specify a Reason. (Fault Detail is equal to Invalid locale ID was specified. Please verify that the locale
    ID is correct and corresponding language resource has been installed.).
    Data Access Layer rejected retry on SqlError:
    Request: MT_Select_FullTextSearch_ca1410d8-6182-1531-092b-d2232f396bb8 -- (BlobJoin=True), (Status_BC4CF092_4309_1838_5E8F_C138367177060=761b8724-8307-8f26-3dc5-cf017922b603), (ObjectStatus_4AE3E5FE_BC03_1336_0A45_80BF58DEE57B0=47101e64-237f-12c8-e3f5-ec5a665412fb),
    (FTLiteral0=%outlook%), (FTLiteral1=%outlook%), (FTLiteral2=%outlook%), (FTLiteral3=%outlook%), (FTLiteral4=%outlook%), (FTLiteral5=%outlook%)
    Class: 16
    Number: 7696
    Message: Invalid locale ID was specified. Please verify that the locale ID is correct and corresponding language resource has been installed.

    Hi,
    and sorry for late response. I'm trying to user finnish language in the Portal.
    In the meantime I've updated the SCSM to UR3 but no help... the same help article problem persists.
    Help would be appreciated :)
    More info on configuration:
    - SCSM Datawarehouse Server (Windows 2012 R2)
    - SCSM Management Server (Windows 2012 R2)
    - SQL Server 2012 SP1 (Server 2012)
    - And a separate server containing SSP and Sharepoint Foundation 2010
    Okay, just tried adding swedish language pack to Sharepoint and Help Article search works also in Swedish but not Finnish. Could this be because SQL Server is missing Finnish support on Full Text Search?
    Thanks,
    Tommi
    Answer: added stemmer and word breaker info from swedish to sql server registry for Finnish locale ID 1035 and updated languages in sql management studio.

  • Help views ( search helps) in tables

    Hello Experts,
    we are creating customized infotypes.Can anyone tell me how to create help views ( search help ) in tables.
    Regards,
    Shilpa.

    Helli Shipa
    You can create the search helps via se11 transaction and then attach the seach help from the field in table
    Regards
    Sonu Gupta

  • Search help for search term field in xk01

    hi experts ,
    i searched for the search help fild search term 1/2 in xk01(vendor master data )   in sdn i get note  .
    i followed note done the three steps  sucessfully . now i tested  xk01 transcation  when i press f4 button on sort1 field its give   a message no in put data available .

    Sorry
    perhaps I haven't understood:, you've written:
    i searched for the search help fild search term 1/2 in xk01(vendor master data ) in sdn i get note .
    i followed note done the three steps sucessfully
    What do you mean?  Which steps?
    Max

  • How do I stop this please You are not sharing your location. Sharing your location helps provide searches that are geographicaly closer to you

    When I go to this website it's giving me this
    You are not sharing your location. Sharing your location helps provide searches that are geographicaly closer to you
    This pops up how do I stop it there is NO x
    Thank you

    You can set the default setting for Share Location for all sites on the about:permissions page.
    *https://support.mozilla.org/kb/how-do-i-manage-website-permissions
    The about: protocol is used to access special built-in pages.<br />
    You can open built-in about: pages via the location bar like you open a web page and in most cases you see a special orange Firefox icon on the location bar.

  • Help for search help and currency and quantity fields

    hi,
    please help me for creating search help and when the currency and quantity fields are used please expalin this with steps as i am a learner..
    regards
    raj.

    Hi Rachu,
    Welcome To SDN
    Help On Search Help
    Go to se11
    Select radio button Search help
    click on create
    and select elementary seacrh help
    selection method---->tablename or viewname
    press f1 in search help exit we will get a FM named as
    F4IF_SHLP_EXIT_EXAMPLE.copy that FM from se37 in to Zprogram.we have a record_tab for copying the view by using this tab we can restrict the values from the view or table.this values are populate into another table .Then ,
    come to se11
    and in our seacrh help we will pass components of the search help
    Source: https://forums.sdn.sap.com/click.jspa?searchID=14985345&messageID=5618016
    Help On Currency and Quantity Fields:
    Whenever you have to maintain fields for currencies and quantites u need to refer them to currency key and quantity key which also have to be present in the table.
    If suppose you are creating a table for Employee. And suppose that fields would be like :
    EMPID -
    employee id
    EMPNAME
    employee name
    DEPARTMENT --- department
    SALARY -- salary ( Data Type u2013 CURR )
    WEIGHT -
    weight of the employee ( Data Type -- QUAN )
    Now the fields SALARY AND WEIGHT fields should refer to currency and quantity keys. So you need to have two more fields like
    CURRKEY --- Data Type ( Cuky )
    Quantity --- Data Type ( Unit )
    Now we have to attach the field Currkey to the field Salary
    And the field Quantity to the field Weight
    So when u create a table you can see a tab Currency / Quantity fields.
    Here You can give the reference table and the reference field against the salary and weight fields.
    Source: https://forums.sdn.sap.com/click.jspa?searchID=14985456&messageID=5692074

  • OSX help menu search not activating menu items in Photoshop CC

    In Photoshop CS6, about 200 times a day I'd hit Command+Shift+/ to bring up the Help menu focused on the search field, just like I do in all of my apps. I'd type a couple letters from a menu item somewhere in the giant tangle of menu options, down arrow to the match, and hit Enter to action it.
    I can still do this in Illustrator CC (and everywhere), but it's gone in Photoshop CC – it all works up to hitting Enter, which just closes the menu without actioning anything.
    This is so much faster than mousing through the menu, so much more centralized and extensible than keyboard shortcuts. I miss it.
    Here's a quick, dumb screencast showing how this works in Chrome (or any app), but not in PS CC: http://f.cl.ly/items/1p273r0h3k3w202w3m00/screencast.mov
    I've contacted Adobe twice, on Photoshop.com (1) and on their support forums (2), and their engineer, Chris Cox, is drawing a line in the sand. He says their team hasn't done anything to provoke this bug, and that it's an Apple issue. Further, he says he can't (or he won't) deal with Apple's engineering directly, and that we users should do so through these forums. So, here's my swing.
    (1) http://feedback.photoshop.com/photoshop_family/topics/bring_back_osx_help_menu_s earch_support_in_photoshop_cc
    (2) http://forums.adobe.com/message/6145901#6145901

    Naw, I got nothing, I didn't even have a search field. Like, empty space, nothing to be found... HOWEVER. I reinstalled PS CC and got the search field back, then changed my shortcut to ⌘⇧+ system wide, and bam.. it worked.
    I'm happy.
    Greetings also from our mutual friend C. Cox from Adobe... Yeah, that's me.

  • Firefox highlights search boxes in light blue and I cannot see what I'm typing. How do I fix this?

    Recently firefox started highlighting the background color in search boxes/fields (ie. google) in a light blue color and I cannot see what I'm typing in the field. Please help.
    Thanks.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    See also:
    *[[/questions/870165]]

  • Help with searching database

    good morning.... could someone please help me with some coding for the following program... i need a text box that i can enter a customers name into that then will search the database and display the appropriate record.. i have written the following code for displaying the whole database but am having trouble with the text box and the searching of the database if anyone could point me to some helpfull links or anything else that would be great.. thanks..
    CODE SO FAR
    import java.sql.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    public class customer extends JFrame {
    private Connection connection;
    private JTable table;
    public customer()
    String url = "jdbc:odbc:Info";
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    connection = DriverManager.getConnection(url);
    catch (ClassNotFoundException cnfex){
    System.err.println(
    "Failed to load JDBC/ODBC driver.");
    cnfex.printStackTrace();
    System.exit(1);
    catch(SQLException sqlex){
    System.err.println("Unable to connect");
    sqlex.printStackTrace();
    getTable();
    setSize(450,200);
    show();
    private void getTable()
    Statement statement;
    ResultSet resultSet;
    try{
    String query = "Select * from custDetails";
    statement = connection.createStatement();
    resultSet = statement.executeQuery(query);
    displayresultSet(resultSet);
    statement.close();
    catch (SQLException sqlex){
    sqlex.printStackTrace();
    private void displayresultSet(ResultSet rs)
    throws SQLException
    boolean moreRecords = rs.next();
    if(!moreRecords){
    JOptionPane.showMessageDialog(this,
    "ResultSet contained no records");
    setTitle("No records to diaplay");
    return;
    setTitle("Customer Details Table from Customer");
    Vector columnHeads = new Vector();
    Vector rows = new Vector();
    try{
    ResultSetMetaData rsmd = rs.getMetaData();
    for(int i=1; i<=rsmd.getColumnCount();++i)
    columnHeads.addElement(rsmd.getColumnName(1));
    do{
    rows.addElement(getNextRow(rs, rsmd));
    }while (rs.next());
    table = new JTable(rows, columnHeads);
    JScrollPane scroller = new JScrollPane(table);
    getContentPane().add(
    scroller, BorderLayout.CENTER);
    validate();
    catch (SQLException sqlex){
    sqlex.printStackTrace();
    private Vector getNextRow(ResultSet rs,
    ResultSetMetaData rsmd)throws SQLException
    Vector currentRow = new Vector();
    for (int i=1; i<rsmd.getColumnCount();++i)
    switch(rsmd.getColumnType(i)){
    case Types.VARCHAR:
    currentRow.addElement(rs.getString(i));
    break;
    case Types.INTEGER:
    currentRow.addElement(
    new Long(rs.getLong(i)));
    break;
    default:
    System.out.println("Type was:"+
    rsmd.getColumnTypeName(i));
    return currentRow;
    public void shutDown()
    try{
    connection.close();
    catch (SQLException sqlex){
    System.err.println("Unable to disconnect");
    sqlex.printStackTrace();
    public static void main(String args[])
    final customer app = new customer();
    app.addWindowListener(
    new WindowAdapter(){
    public void windowClosing(WindowEvent e)
    app.shutDown();
    System.exit(0);
    }

    what is it that you actually want to do and what errors are u getting.
    cheers

  • Need help with search function in my program

    Hello all, some of you may remeber me from my previous inventory programs. Well I am finally on my last one and I need to add a search option to the code. Here is the class that will contain that option.
    import java.util.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    public class Inventory2 extends JFrame implements ActionListener {
    //Utility class for displaying the picture
    //If we are going to use a class/method/variable inside that class only, we declare it private in that class
    private class MyPanel extends JPanel {
    ImageIcon image = new ImageIcon("Sample.jpg");
    int width = image.getIconWidth();
    int height = image.getIconHeight();
    long angle = 30;
    public MyPanel(){
    super();
    public void paintComponent(Graphics g){
         super.paintComponent(g);
         Graphics2D g2d = (Graphics2D)g;
         g2d.rotate (Math.toRadians(angle), 60+width/2, 60+height/2);
         g2d.drawImage(image.getImage(), 60, 60, this);
         g2d.dispose();
    }//end class MyPanel
    int currentIndex; //Currently displayed Item
    Product[] supplies = new Product[4];
    JLabel name ;
    JLabel number;
    JLabel rating;
    JLabel quantity;
    JLabel price;
    JLabel fee;
    JLabel totalValue;
    JTextField nameField = new JTextField(20);
    JTextField numberField = new JTextField(20);
    JTextField ratingField = new JTextField(20);
    JTextField quantityField = new JTextField(20);
    JTextField priceField = new JTextField(20);
    JPanel display;
    JPanel displayHolder;
    JPanel panel;
    boolean locked = false; //Notice how I've used this flag to keep the interface clean
    public Inventory2() {
    makeTheDataItems();
    setSize(700, 500);
    setTitle("Inventory Program");
    //make the panels
    display = new JPanel();
    JPanel other = new JPanel();
    other.setLayout(new GridLayout(2, 1));
    JPanel picture = new MyPanel();
    JPanel buttons = new JPanel();
    JPanel centerPanel = new JPanel();
    displayHolder = new JPanel();
    display.setLayout(new GridLayout(7, 1));
    //other.setLayout(new GridLayout(1, 1));
    //make the labels
    name = new     JLabel("Name :");
    number = new JLabel("Number :");
    rating = new JLabel("Rating     :");
    quantity = new JLabel("Quantity :");
    price = new JLabel("Price     :");
    fee = new JLabel("Restocking Fee (5%) :");
    totalValue = new JLabel("Total Value :");
    //Use the utility method to make the buttons
    JButton first = makeButton("First");
    JButton next = makeButton("Next");
    JButton previous = makeButton("Previous");
    JButton last = makeButton("Last");
    JButton search = makeButton("Search");
    //Other buttons
    JButton add = makeButton("Add");
    JButton modify = makeButton("Modify");
    JButton delete = makeButton("Delete");
    JButton save = makeButton("Save");
    JButton exit = makeButton("Exit");
    //Add the labels to the display panel
    display.add(name);
    display.add(number);
    display.add(rating);
    display.add(quantity);
    display.add(price);
    display.add(fee);
    //add the buttons to the buttonPanel
    buttons.add(first);
    buttons.add(previous);
    buttons.add(next);
    buttons.add(last);
    buttons.add(search);
    //Add the picture panel and display to the centerPanel
    displayHolder.add(display);
    centerPanel.setLayout(new GridLayout(2, 1));
    centerPanel.add(picture);
    centerPanel.add(displayHolder);
    other.add(buttons);
    JPanel forAdd = new JPanel(); // add the other buttons to this panel
    forAdd.add(add);
    forAdd.add(modify);
    forAdd.add(delete);
    forAdd.add(save);
    forAdd.add(exit);
    other.add(forAdd);
    //Add the panels to the frame
    getContentPane().add(centerPanel, "Center");
    getContentPane().add(other, "South");
    this.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
    setVisible(true);
    private void makeTheDataItems () {
    Product p1 = new DVD("The one", 001, 200, 100, "The one");
    Product p2 = new DVD("Once upon a time in China V", 002, 500, 10000, "Once upon a time in China V");
    Product p3 = new DVD("Rat Race", 003, 100, 3000, "Rat Race");
    Product p4 = new DVD("The Man in the Iron Mask", 004, 3000, 9000, "The Man in the Iron Mask");
    supplies[0] = p1;
    supplies[1] = p2;
    supplies[2] = p3;
    supplies[3] = p4;
    //Utility method for creating and dressing buttons
    private JButton makeButton(String label) {
    JButton button = new JButton(label);
    button.setPreferredSize(new Dimension(100, 25));
    button.setActionCommand(label);
    button.addActionListener(this);
    return button;
    private void addItem() {
    panel = new JPanel();
    JPanel add = new JPanel();
    add.setLayout(new GridLayout(7, 2));
    JButton addIt = makeButton("Add Item");
    JLabel name = new JLabel("Name :");
    JLabel rating = new JLabel("Rating     :");
    JLabel quantity = new JLabel("Quantity :");
    JLabel price = new JLabel("Price     :");
    add.add(name); add.add(nameField);
    add.add(rating); add.add(ratingField);
    add.add(quantity); add.add(quantityField);
    add.add(price); add.add(priceField);
    panel.add(add);
    JPanel forAddIt = new JPanel();
    forAddIt.add(addIt);
    panel.add(forAddIt);
    displayHolder.remove(display);
    displayHolder.add(panel);
    //display = panel;
    this.setVisible(true);
    public static void main( String args[]) {
    new Inventory2().displayFirst(); //The main method should not have too much code
    } // end main method
    public void actionPerformed(ActionEvent event) {
      String command = event.getActionCommand(); //This retrieves the command that we set for the button
      //Always compare strings using the .equals method and not using ==
      if(command.equals("First")) {
       if(!locked) {
         displayFirst();
      else if(command.equals("Next")) {
       if(!locked) {
         displayNext();
      else if(command.equals("Previous")) {
       if(!locked) {
         displayPrevious();
      else if(command.equals("Last")) {
       if(!locked) {
         displayLast();
      else if(command.equals("Exit")) {
       this.dispose();
       System.exit(0);
      else if(command.equals("Add")) {
       if(!locked) {
         addItem();
         locked = true;
      else if(command.equals("Add Item")) {
       addItemToArray();
      else if(command.equals("Modify")) {
       if(!locked) {
         modify();
         locked = true;
      else if(command.equals("Update")) {
          if(!locked) {
         modifyItemInArray();
         locked = true;
      else if(command.equals("Delete")) {
       if(!locked) {
         DVD dvd = (DVD)supplies[currentIndex];
            int confirm = JOptionPane.showConfirmDialog(this, "Are you sure you want to delete item "+dvd.getItemNumber());
                if(confirm == JOptionPane.YES_OPTION) {
          removeItemAt(currentIndex);
          displayFirst();
    private void modify() {
    DVD dvd = (DVD)supplies[currentIndex];
    panel = new JPanel();
    JPanel add = new JPanel();
    add.setLayout(new GridLayout(7, 2));
    JButton update = makeButton("Update");
    JLabel number = new JLabel("Number :");
    JLabel name = new JLabel("Name :");
    JLabel rating = new JLabel("Rating     :");
    JLabel quantity = new JLabel("Quantity :");
    JLabel price = new JLabel("Price     :");
    add.add(number);
    numberField.setText(""+dvd.getItemNumber()); numberField.setEditable(false); add.add(numberField);
    add.add(name);
    nameField.setText(dvd.getItemName()); add.add(nameField);
    ratingField.setText(dvd.getRating()); ratingField.setEditable(false);
    add.add(rating); add.add(ratingField);
    add.add(quantity);
    quantityField.setText(""+dvd.getStockQuantity());
    add.add(quantityField);
    add.add(price);
    add.add(priceField); priceField.setText(""+dvd.getItemPrice());
    panel.add(add);
    JPanel forAddIt = new JPanel();
    forAddIt.add(update);
    panel.add(forAddIt);
    displayHolder.remove(display);
    displayHolder.add(panel);
    //display = panel;
          this.setVisible(true);
    private void addItemToArray() {
    Product p = new DVD(nameField.getText(), supplies.length + 1, Long.parseLong(quantityField.getText()),
    Double.parseDouble(priceField.getText()), ratingField.getText());
    //Extend size of array by one first
    Product[] ps = new Product[supplies.length + 1];
    for(int i = 0; i < ps.length-1; i++) {
    ps[i] = supplies;
    ps[supplies.length] = p;
    supplies = ps;
    displayHolder.remove(panel);
    displayHolder.add(display);
    displayLast();
    this.setVisible(false);
    this.setVisible(true);
    //Utility method to ease the typing and reuse code
    //This method reduces the number of lines of our code
    private void displayItemAt(int index) {
    DVD product = (DVD)supplies[index];
    name.setText("Item Name: "+ product.getItemName());
    number.setText("Item Number: "+ product.getItemNumber());
    rating.setText("Rating: "+ product.getRating());
    quantity.setText("Quantity In Stock: "+ product.getStockQuantity());
    price.setText("Item Price: "+ product.getItemPrice());
    totalValue.setText("Total: " + product.calculateInventoryValue());
    fee.setText("Restocking Fee (5%) :"+product.calculateRestockFee());
    locked = false;
    this.repaint();
    this.setVisible(true);
    private void modifyItemInArray() {
    Product p = new DVD(nameField.getText(), supplies.length + 1, Long.parseLong(quantityField.getText()),
    Double.parseDouble(priceField.getText()), ratingField.getText());
    supplies[currentIndex] = p;
    displayHolder.remove(panel);
    displayHolder.add(display);
         displayItemAt(currentIndex);
    this.setVisible(false);
    this.setVisible(true);
    private void removeItemAt(int index) {
    Product[] temp = new Product[supplies.length-1];
    int counter = 0;
    for(int i = 0; i < supplies.length;i++) {
    if(i == index) { //skip the item to delete
    else {
         temp[counter++] = supplies[i];
    supplies = temp;
    public void displayFirst() {
    displayItemAt(0);
    currentIndex = 0;
    public void displayNext() {
    if(currentIndex == supplies.length-1) {
    displayFirst();
    currentIndex = 0;
    else {
    displayItemAt(currentIndex + 1);
    currentIndex++;
    public void displayPrevious() {
    if(currentIndex == 0) {
    displayLast();
    currentIndex = supplies.length-1;
    else {
    displayItemAt(currentIndex - 1);
    currentIndex--;
    public void displayLast() {
    displayItemAt(supplies.length-1);
    currentIndex = supplies.length-1;
    }//end class Inventory2
    I am not sure where to put it and how to set it up. If you guys need the other two classes let me know. Thanks in advanced.

    Here are the other two classes:
    import java.util.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    class Product implements Comparable {
    String name;
    int number;
    long stockQuantity;
    double price;
    public Product() {
      name = "";
          number = 0;
          stockQuantity = 0L;
          price = 0.0;
    public Product(String name, int number, long stockQuantity, double price) {
      this.name = name;
          this.number = number;
          this.stockQuantity = stockQuantity;
          this.price = price;
         public void setItemName(String name) {
      this.name = name;
    public String getItemName() {
      return name;
    public void setItemNumber(int number) {
      this.number = number;
    public int getItemNumber() {
      return number;
    public void setStockQuantity(long quantity) {
      stockQuantity = quantity;
    public long getStockQuantity() {
      return stockQuantity;
    public void setItemPrice(double price) {
      this.price = price;
    public double getItemPrice() {
      return price;
    public double calculateInventoryValue() {
      return getItemPrice() * getStockQuantity();
    public int compareTo (Object o) {
      Product p = (Product)o;
      return name.compareTo(p.getItemName());
    public String toString() {
      return "Name :"+getItemName() + "\nNumber"+number+"\nPrice"+price+"\nQuantity"+stockQuantity + "\nValue :"+calculateInventoryValue();
    class DVD extends Product implements Comparable {
    private String rating;
    public DVD() {
      super(); //Call the constructor in Product
      rating = ""; //Add the additonal attribute
    public DVD(String name, int number, long stockQuantity, double price, String rating) {
      super(name, number, stockQuantity, price); //Call the constructor in Product
      this.rating = rating; //Add the additonal attribute
         public void setRating(String rating) {
      this.rating = rating;
    public String getRating() {
      return rating;
    public double calculateInventoryValue() {
      return getItemPrice() * getStockQuantity() + getItemPrice()*getStockQuantity()*0.05;
    public double calculateRestockFee() {
      return getItemPrice() * 0.05;
    public int compareTo (Object o) {
      Product p = (Product)o;
      return getItemName().compareTo(p.getItemName());
    public String toString() {
      return "Name :"+getItemName() + "\nNumber"+getItemNumber()+"\nPrice"+getItemPrice()+"\nQuantity"+getStockQuantity() +"\nRating :"+getRating()+"\nValue"+calculateInventoryValue();
    }You should be able to search through these items, and any other items that have been added to the program.

  • New to Fios - So confused how to find anything on!!! - Need help with search

    Been with Comcast for years and years and just switched to Fios.  With all the channels and various buttons on the remote I'm overwhelmed with trying to figure out what's actually on.
    I understand how to use the search feature to find a show or theme, but what I can't figure out is how do you see a list of results for just programs that are currently on?? 
    It seems the search results are listed in order of channel name and there is nothing on the list that I see that shows which ones are currently on.  I find myself going thru the list, constantly pushing the right arrow key on the remote just to then find out the show is on later in the day or another day.
    Please help!
    Thanks,
    Vince

    The best way to see what's on now is simply to press Up on the remote to bring up the half-screen guide, then use the Ch + and - buttons to quickly scan through it.
    Not the solution you wanted. Perhaps you should suggest it in the Ideas forum.

Maybe you are looking for

  • Mac stalls and runs slow in basement

    Our iMac worked fine in the kitchen when it was plugged into the modem. We remodeled and put the iMac in the basement as a wireless. It runs really slow (takes 5-10 minutes to get to site) and stalls. I bought an Airport Extreme and an Airport Expres

  • Relation between fi - isu

    Hello, i have to do a report which extract information like the transaction fbl3n but i have to add others informations which were in isu, like the partner, the anlage... what can i do to make link between bseg and isu tables? Now i select all inform

  • Picasa Web Album Playback Error

    I used QuickTime Pro to edit .mov files from my camera. No problems with playback in QuickTime or in Picasa resident on my machine, but when I upload the edited files to Picasa Web Album, the audio track is out of sync with the video or worse. In fac

  • WRT54GC wireless connection does not work

    When I try to connect wirelessly to the internet I get a message saying there was an error connecting to the network. My wired, ethernet connection through the same router works fine. After two annoying and useless calls to tech support and a chat se

  • IBook Snow, no OS. How can I get get it running?

    I got an iBook that had the HD wiped. When I turn on the iBook, all I get is a blinking folder/question mark. I have the restore disks from an eMac that ran Panther. So how can I get an OS on it and get it going?