Help please! (This should be easy)

Ok, so my father set up our printer on the wireless network yesterday. His windows based computer can print fine with it. I'm trying to get my Apple to work with it now. I have a word document up, and I select to add a new printer, I search for it, find it, add it, and then print. Everything seems okay so far, but instead of printing my document, it prints 12 blank pages, and 1 page with randomly assorted letters (code?) on it. Sooooooo.... what should I do? Thanks!!

Eh, getting help usually means someone has had a similar issue, and also makes forays into these discussion boards.
That being said, I've never had that problem, but I'll try to help...
So, I'm assuming the printer software is installed on your Mac? Or it's one that is already compatible with your computer. I guess you should check your printing options that pop up when you try to print. If everything seems ok there, I'd try downloading drivers from the printer company's website and reinstalling the drivers.
Hope this helps

Similar Messages

  • This should be easy! How can I change the background colour of my fields?

    Apologies if this has already been posted but nothing has come up via Google nor the Forum search.
    I'm sure this should be easy but it's really doing my head in!
    I have a number of textboxes, dropdown lists, etc within my form - I have set Custom backgrounds on each which are visible within Design View. However, in Preview PDF all the fields have a default blue colour and only change to my Custom backgrounds when you enter the field.
    Is there a way of removing the default colouring of fields so that it's the same as my Custom backgrounds? My Custom backgrounds are 'linear to bottom' so I don't want to just set border.fill.color to one colour.
    Thanks for any help,

    Hi,
    If you include this Javascript in the docReady event of the root node (default "form1").
    app.runtimeHighlight = false;
    This will turn off the field highlight. It doesn't prevent the user from turning back on the highlight, but it will mean that your form opens with the highlight off.
    Hope that helps,
    Niall
    Assure Dynamics

  • Is there a way to reset my messages account, I can't get iMessage to work on IPad nor Mac osx. Help please this is really frustrating.

    Is there a way to reset my messages account, I can't get iMessage to work on IPad nor Mac osx. Help please this is really frustrating.

    Hi,
    Is there an iPhone involved ?
    If not, what happens  if you remove the Apple ID on the iPad and then set it in Airplane Mode (allow a couple of minutes at this point) followed by re-adding the Apple ID ?
    What, if any error messages are appearing on the Mac when you try to launch the App or Login to the iMessages server ?
    Is the Apple ID linked to an iCloud account ?
    In Messages 7 (Mountain Lion) this did not seem to be important but it seems it is in Mavericks/Messages 8
    9:14 pm      Friday; April 11, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • The left side of my home button is screen is kinda feel like hollow when I tap it and it makes a sound too. It is bulge,a little. I thought every ipad is hard to touch but why mine is not? Help please,what should I do?

    The left side of my home button is screen is kinda feel like hollow when I tap it and it makes a sound too. It is bulge,a little. I thought every ipad is hard to touch but why mine is not? Help please,what should I do? Please I need your help.

    The damage has been done then
    Take it to Apple and pay for a replacement
    Here in the States a replacement cost $229
    Allan

  • HELP! I have a work deadline and this should be easy!

    I am at work-big presentation tomorrow-someone sent me an Indesign file and I can't cut and paste the image from indesign to power point. I am selecting the image-right clicking copy and pasting and nothing is working. I have tried to export the image and I can't even do that! I am NEW to indesign-anything that I am missing that is obvious-please let me know!
    Thanks!!!!!

    Thanks for the input. I know PowerPoint really well, but I'm trying to make InDesign documents now for the office. They want me to create great presentations, but Powerpoint is just a horrible application. I was trying to see if there was a way to convert between InDesign and PPT, just so I could use a better application to lay things out and then import it into PowerPoint so other users could work with it.
    Easier said than done.
    The best way I've seen is to follow these steps (I'm using InDesign and Illustrator CS2 and Powerpoint 2002):
    - First, you need to make an InDesign file (where you're doing your designing) and a blank Illustrator file set to the dimensions of a PowerPoint slide (which is 10 x 7.5)
    - After designing your presentation in InDesign, select all the elements on one page (CTRL + A)
    - Copy and paste those elements into your blank Illustrator file
    - Select File > Save For Web
    - Choose PNG and mark the checkbox for transparency
    - Click on the "Image Size" tab
    - Mark the checkbox for antialiasing
    - Increase the scale of the image to about 132%.
    - Save it
    - Paste it into PowerPoint (I like to drag it from my desktop and drop it into the slide)
    - The image you made should fit your powerpoint slide. I don't know why you have to increase the scale of the PNG file when your Illustrator file is the same size as the PPT slide, you just do. You will probably have to still reduce the size of your image slightly, but the resolution should be sharp.
    - Repeat these steps for all the other pages of your InDesign document
    The resolution, typography, and layout of everything is decent, however, there are a lot of drawbacks to this method. Your customer can't edit any text elements because they're all PNG files. You also can't animate each element separately (unless you only chose to export only a selection to PNG from Illustrator, then animate that piece).
    I'm pretty disappointed that there's not direct way to do this that will let the end users of PowerPoint regain control of the document to edit it or change animations, etc. I really hate PowerPoint.

  • I know this should be easy, BUT IT'S NOT!!  help!

    Hey everyone,
    I decided to swallow some pride and find some solution to my situation that should be simple. I've looked on many of the threads and still can't seem to find the solution.
    I am just trying to set up my Airport Express to my Powermac G5. Very simple... just want to run the ethernet through the Express from another room.
    I started by plugging in my Express. That was fine, I got a green light. Then when to Setup Assistant... it cannot find a network. After many attempts, still no network. I tried to reset my Express. No luck. I also configured my Express directly to my Powermac, all settings seemed just fine... except when I try to use it how it is supposed to be used, I get nothing. My G5 is reading my Extreme Card okay. So... what in the world am I doing wrong?
    Admittedly, I am no tech whiz when it comes to networking, so naturally, I assumed that this would be a simple and quick installation... that has seemed to last for hours and hours...
    Powermac Dual 2Gh G5, 4G RAM   Mac OS X (10.3.9)  

    Hi
    I had the same or similar problem when I first hooked up my airport. I took my computer to the Apple store to be sure my airport setup was correct. When they turned on my computer it immediately connected to their network. They had no idea why it wouldn't work at home. I was lucky that a person was standing there that had an idea what was wrong. He said it was possible that there was some interference in my home. So, the apple people suggested that I change from automatic to a specific channel. That was fine, except I asked them how could I do that if the computer didn't recognize the base station? So, we then tried hooking the base station up directly to the computer using an ethernet cable, and it worked (they had never tried this). When I got home I did this and changed the channel to 2 (you have about 10 or so channels you can try). I then put the base station back to the room where my cable is. The computer immediately recognized it. I now have three airport extremes in various rooms and they all work great, as long as I set them to a specific channel. You can try each channel and then check the strength of the signal to determine which is the best for your environment.
    Hope this helps.
    Larry

  • This should be easy ;O) How do I read the exif info in a JPG file?

    Hey all...
    I have been googling this for awhile now with not much luck.
    !st... Hi... I am a Flex AS3 newbie....  but... not a programming newbie...
    My learning project is to create my photoart gallery as a Before and After gallery. Part one is a Flex/Air app to gather the images, scale them to consistant display and thumbnail sizes and build and edit XML data files for the images and galleies. I have actually gotten most of that done..
    I am currently working on editing the XML files for the image information (photographer info, copywrite info, descriptions, gallery...etc.) and pulling in as much information that I can find in the image file itself. That being EXIF data.
    I have found a couple of examples but for the XResolution and Yresolution I just keep getting 72dpi... now the Jpg files that I am using from my camera.. when I look at the properties with Windows XP... it say 300dpi... when I load the image in Photoshop and look at image size it says 300dpi.. in Photoshop if I look at file information the EXIF says 300dpi....
    How can I access that data with Flex/AS3????? After all this is "Adobe" Flex Builder...
    This just seems like it should have been solved ages ago... Please.. point to the right path  ;O)
    I have searched this forum and have found one or two EXIF references, but no answers.
    Thanks for any guidance on the subject.
    Bob Galka

    Jean-Pierre
    Thanks very much for your quick response.
    One last point and we should drop this in favor of other more urgent issues we both ahve to deal with.
    The data is coming from a comma delimited (CSV) file using a comma ',' and optional quotes (") as field separators.
    The first column of 'good' data is read as an INTEGER EXTERNAL because of course it is a number. However, the 'bad' rows I want to eliminate have character text in them where I would normally find numbers and they all start with 'D','M' or 'S'.
    I don't have an actual column in the data file or resulting table definition that represents that first character that I'm trying to test on. Hence my use of (1) to reporesent the 1st character of data on the line regardless of whether its numeric or character.
    As I stated, the syntax works fine in SQL*Loader when I typed the WHEN clause in manually.
    I guess if there was a way to define a pseudo column that could be defined using the POSITION notation and everything else using the variable length delimited notation I could test on that psuedo column. I don't want the pseudo column to appear in my resulting table so that seems to be an issue. Enough.
    Since I've worked around it using external tables for this issue I'm not going to spend any more time on it today.
    As usual, many thanks for your help.
    Have a great day! I'll be back soon with another issue :-)>
    Gary

  • Help please, this issue has gotten me to the point of frustation!!!

    so i downloaded PC Companion from the SE website, and it installed in my computer just fine...i'm currently running android 2.1 on my xperia x10 and the phone connects to the computer just fine too. the problem is that when i load up the PC Companion the dashboard doesn't load, so all i get is a blank page (i've included an image if it helps you help me). I've spent quite the ammount of time on this forums reading, and i found that there's a lot of people with other problems related to the pcsuite software, and i've found other people have the same problem that i have with this software. As i said, i've read as much as i could before posting this, and i've tried most of the solutions people have posted but nothing have worked for me, so i've just given up and don't know what else to do. Any help would be much apreciated, thanks in advance.
    Attachments:
    sepcc.jpg ‏49 KB

    Hi all,
    Thanks to Frukttime10 we identified and find a way to solve the problem.
    For those who have the problem please do that:
    1) Go in the registry (open a dos command and type "regedit"):
         a) Go to "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0" and verify the key 1400 has value 0 (if not change to 0).
         b) Go to  "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet   Settings\Zones\" and verify that you don't have any "crappy folder"  name, as in the attached example http://rapidshare.com/files/454333853/registry.jpg).You should only see folder 0,1,2,3,4. If any other folder with strange name is present delete the folder.
         c) Go to  "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet   Settings\Zones\0" and verify the key 1400 has value 0 (if not change  to  0).
         d) Go to  "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet    Settings\Zones\" and verify that you don't have any "crappy folder"   name, as in the attached example http://rapidshare.com/files/454333853/registry.jpg).You should only see folder 0,1,2,3,4. If any other folder with strange name is present delete the folder.
    2) Close PC Companion using the option "exit" from systray (right click on PC Companion icon in systray).
    3) Re start PC Companion => Your dashboard should now be displayed.
    If some of you still have the problem, please export the following registry key and provide it:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet  Settings
    Hope it helps.

  • I need help!  This is really easy-  Urgent!!!!

    Hello,
    I am a beginner with Java, and C++. how can I parse the veritical bar? Could someone help me with this program please? It's due really soon Thank you very much (in ~ two days)
    TABLE:STUDENT
    | name | sid | class | degree |
    | ABC | 001 | SR | BS |
    | AAA | 002 | FR | BS |
    | BBBB | 050 | JR | BS |
    | CC | 033 | CL | MS |
    | ZZZZ | 201 | SO | BS |
    TABLE:COURSE
    | cname | cnum | prof | hrs |
    | DBMS | 157A | YAKLUR | 3.0 |
    | DS | 146 | PPP | 4.0 |
    Assignment 01 Due September 10th. (20 points)
    Write a program which will parse the above text file with
    tables and allow the user to select a table among the two
    and one or multiple columns of that table with a condition
    where the condition will be on a column with = or < or >.
    Example:
    SELECT (* or column name): name
    FROM (type a table name): STUDENT
    WHERE (give a condition ): degree = BS
    output:
    name
    ABC
    AAA
    BBBB
    ZZZZ

    Despite the honor conflicts cited here... I will give you two tips:
    1 - Try to read something about database acces in Java. A simple way is to use the free MySql associated with JDBC or access it over the web trough a servlet..... (complicated approach for begginers :^)) )
    2 - Can you modify the data file structure ? If yes, make a favour to yourself and eliminates all these bar lines and the headers... It will faciiltate the file parsing... If not, don�t worry, just look at the StringTokenizer usage and create some data structure containing the data of the student table ....
    * you may create the following class: (note I�m not optimizing the code due to your knowledge skill.. someone wil certainlly call it na�ve, but your teacher certainlly will accept it as right :^)) )
    class StudentTable
       String[][] data;
       Studenttable(String filename)
            // here you should parse the file containing the data
            String tableContent = parseFile(filename);
            StringTokenizer dataParser = new StringTokenizer(tableContent, "- |", false); // Note the necessary space inside the mask definition
            dataParser.nextToken(); // Use this line if the file starts with that header TABLE:STUDENTS. Otherwise delete it
            data = new String[dataParser.countTokens()/4][4]; // 4 is the default number of columns
            for(int i=0; i<data.length; i++)
                  for(int j=0; j<4; j++)
                       data[i][j] = dataParser.nextToken();
       // Now you have all data stored in a manipulable structure .. if you want to query this data structure to filter some criteria, you should loop over all it contents looking up for the info you want
    }I hope these few lines give you some help.. and as other guys had commented here.. Pay attention at your class :^)))
    Good luck,
    Felipe

  • Help Please (This KT3 is driving me crazy)

    Four weeks ago i got a KT3 Ultra 2 (MS-6380E) with RAID. I could never get it to boot up. It was stuck at "Initializing Hard Drive Controller". After a few days of reading threads here i get a new PSU (Future Power WIN-400PS) that what some people said it should have:
    +3.3v        +5v         +12v        -5v        -12v      +5VSB
      15A        30.0A       15.0A      0.6A       0.6A        2.0A  
    And the thing boot-up with no trouble. One week later i did something wrong trying to flash my bois and the board would not power up. I know the i need a new bois chip so i call MIS a the mailed me a new one. I put the new bios in and now the board is back to "Initializing Hard Drive Controller" with the same PSU that worked last time. I have tried many things to get this board to boot up. With and with-out hard drive, memory and even in and out the case. I have tried it with i AMD Duron 600 and 1200Mhz chip. What can and/or should i try to get this board to work right.  ;(

    OK, MSI said that they are sending me a new motherboard.  :D Here is where I need so info from you guru's out there. 1) What type of power supply are you using? 2) Tell me what you think of this PSU: http://www.systemcooling.com/modules.php?name=News&file=article&sid=216  and 3) How many watts do you think I need for the following items in my case. Any and all advice is very, very important.
    •   2 x 40GB ATA 133 Maxtor hard drives (Raid 0)
    •   2 x LG Goldstar 40x12x40 CD-RW   (Model GCE-8400B)
    •   LG Goldstar 16x DVD-Rom (Model DRD-8160B)
    •   2 x 512MB PC2700 DDRAM
    •   MSI Ti4200 128 AGP Video Card
    •   AMD 1800+ or 2200+
    •   Linksys 10/100 Nic
    •   A-Open 56k v.92 Fax/Model
    Thank you,
    Jixxi

  • I have a macbook pro and F3 for launchpad and I tried to restore it and its not working. Help please, what should I do?

    Plase help

    Not sure what you are asking here.
    Are you saying that pressing F3 no longer brings up Launchpad?
    If so check System Preferences > Keyboard > Keyboard Shortcuts
    Follow the instructions at the top of the box. (Double-click "Show Launchpad" and then press the F3 key on your keyboard.)
    Should start working again.
    Also, make sure that System Preferences > Keyboard > Keyboard "Use All F1, F2, etc, keys as standard function keys" is UNchecked.

  • Percentile in a collection. This should be easy but....

    I want to find the 80th percentile in the list of numbers in a collection.
    I have loaded data into a nested table:
    Type type_NumTable is TABLE OF Number;
    tbl_LocalScores type_numTable := type_numTable();
    I thought I could use Table() to accomplish this; however, the following comand
    select trunc(PERCENTILE_CONT(.80)) WITHIN GROUP (ORDER BY column_value DESC))
    into LocalTolerance
    from Table(tbl_LocalScores);
    gives me an error of
    320/52 PLS-00642: local collection types not allowed in SQL statements
    320/46 PL/SQL: ORA-22905: cannot access rows from a non-nested table item
    320/5 PL/SQL: SQL Statement ignored
    Can someone give me a hint as to what I'm missing or a suggestion on how to accomplish finding the 80th percentile within a collection.
    Thanks
    Larry

    user6282899 wrote:
    Can someone give me a hint as to what I'm missing or a suggestion on how to accomplish finding the 80th percentile within a collection.Well, hint is in the error message - do not use local collection types. Use SQL types. For example:
    CREATE OR REPLACE Type type_NumTable is TABLE OF Number;Or better use oracle defined type sys.OdciNumberList:
    declare
        tbl_LocalScores sys.OdciNumberList := sys.OdciNumberList(1,3,17,22,25,99,56);
        LocalTolerance number;
    begin
        select  trunc(PERCENTILE_CONT(.80) WITHIN GROUP (ORDER BY column_value DESC))
          into  LocalTolerance
          from  table(tbl_LocalScores);
          dbms_output.put_line(LocalTolerance);
    end;
    5
    PL/SQL procedure successfully completed.SY.

  • Trying to Create an Edit Form .... UGGGHHHHH ... this should be easy.

    I have been through about 5 iterations of this problem and can't find a successful solution. I have a list that contains everything I need. I want to allow users to edit only two fields in the list and look up a particular entry. It's a simple lookup in
    ASP.Net. I cannot find a way to do this that's successful. My boss wants to extremely limit what the user sees and can update. Here were my attempts:
    1. Dataview in SharePoint list - Problem - Too open for the user to have access to other list fields and no way to filter
    2. WebPart in SharePoint - Problem - The list is located in a sister site under the site collection and the gymnastics were too difficult
    3. InfoPath Form - Problem - This was the most promising, but since the list was located on another site, I could not get the list to update. I used this as a basis for the form. http://jaliyaudagedara.blogspot.com/2011/03/submitting-data-to-sharepoint-2010-list.html
    4. SharePoint Custom Edit - Problem - This worked well, but relied on multiple pages. Boss thought it was too complicated. But it worked. I liked it but the list edit opened a page and ... not simple enough.
    Is there a way I haven't thought of? I would like to use something like a simple drop down to choose the vendor display vendor name and number (read only) and be able to edit the email and portal info and update the record (see image). This has to be doable
    in a simpler way than I am doing. 
    Jef

    The first image is an InfoPath form that assigns values in code to the value. It says it works, looks like it works but the values don't get written. I'll include the code.
    What my boss doesn't like for option 4 is the attached image. He thinks it will confuse our users. I tend to agree. You can't type in the field either. I'm not sure how I can pass a value from a drop down list to the web part. If I knew that I'd be done.
    using Microsoft.Office.InfoPath;
    using System;
    using System.Xml;
    using System.Xml.XPath;
    namespace Sym
    public partial class FormCode
    // Member variables are not supported in browser-enabled forms.
    // Instead, write and read these values from the FormState
    // dictionary using code such as the following:
    // private object _memberVariable
    // get
    // return FormState["_memberVariable"];
    // set
    // FormState["_memberVariable"] = value;
    // NOTE: The following procedure is required by Microsoft InfoPath.
    // It can be modified using Microsoft InfoPath.
    public void InternalStartup()
    ((ButtonEvent)EventManager.ControlEvents["UpdateBtn"]).Clicked += new ClickedEventHandler(UpdateBtn_Clicked);
    public void UpdateBtn_Clicked(object sender, ClickedEventArgs e)
    // Write your code here.
    try
    XPathNavigator root = MainDataSource.CreateNavigator();
    XPathNavigator myNavigator = this.DataSources["Supplier Routing Receive"].CreateNavigator();
    // Retrieve the values for the separation list item
    string ListName = root.SelectSingleNode("/my:myFields/my:ListName", NamespaceManager).Value;//Setting the GUID
    string eTitle = myNavigator.SelectSingleNode("/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Title", NamespaceManager).Value;
    string eVName = myNavigator.SelectSingleNode("/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Vendor_x0020_Name", NamespaceManager).Value;
    string eWebPort = myNavigator.SelectSingleNode("/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Supplier_x0020_Web_x0020_Portal", NamespaceManager).Value;
    string eEmailDS = myNavigator.SelectSingleNode("/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Supplier_x0020_Email_x0020_Addre0", NamespaceManager).Value;
    //if ((eWebPort == "Yes") || (eWebPort == "No"))
    //else
    // MessageBox.Show("Supplier Web Portal must be either Yes or No");
    if (ListName == null)
    else
    //This is CAML xml file. it contains batch and method nodes
    XPathNavigator batch = DataSources["Submit"].CreateNavigator();
    batch.SelectSingleNode("/Batch/Method/Field[@Name='Title']", NamespaceManager).SetValue(eTitle);
    batch.SelectSingleNode("/Batch/Method/Field[@Name='Vendor Name']", NamespaceManager).SetValue(eVName);
    batch.SelectSingleNode("/Batch/Method/Field[@Name='Supplier Web Portal']", NamespaceManager).SetValue(eWebPort);
    batch.SelectSingleNode("/Batch/Method/Field[@Name='Supplier Email Address for Info Requests']", NamespaceManager).SetValue(eEmailDS);
    DataConnections["Web Service Submit"].Execute();
    // MessageBox.Show(batch.SelectSingleNode("/Batch/Method/Field[@Name='Supplier Email Address for Info Requests']", NamespaceManager).Value.ToString());
    catch (Exception ex)
    // MessageBox.Show(ex.Message.ToString());

  • Polymorphism -- This should be easy right --- or am I missing somthing obvi

    Hello from sunny Wales,
    I thought the polymorphic capabilities of Java would allow this. Am I doing something wrong.
    For the example below assume that value and value2 are strings representing some value be it a decimal (Double) or a String. That we have already worked out what data type resides in the strings value and value2 as stored in the variable type.
    With this code my compiler is telling me that the operator >= cannot be used on Object x. I thought that this object would now be handled as a Double due to polymorphism.
    This is possible right?? or am I missing something really obvious?
    Code:
    =============================
    Object x;
    Object y;
    if ( type.equals("double"))
    x = new Double (value);
    y = new Double (value2);
    else (type.equals("String"))
    x = new String(value);
    y = new String(value2);
    boolean b = x >= y;================================
    Thanks
    Andrew.
    Message was edited by:
    scottie_uk

    Hello.
    This is possible right?? or am I missing something really obvious?It's not possible. You are missing a number of things.
    * Polymorphism means that you can call a method that is defined in a superclass or interface that is the declared type (e.g. Object) and the implementation of the actual type (e.g. Double, String) gets called. For example, Object has a toString(), which means you can call that method on an Object and whichever actual implemention gets called. It does not mean that the compiler would allow you to call a method on an Object variable that is not defined in class Object. Otherwise, you could call anything on anything.
    * Object does not define operator >=, and in fact Java does not support operator overloading. String has some operator support (not >= though) but that's it. Class Double also does not support any operators.
    * In Java 1.5 however, there is a feature called autoboxing which converts primitives (e.g. double) to wrappers (e.g. Double), and because of this conversion it effectively appears you can use operators on these wrapper types.
    Now, there is a way to accomplish what you want, by using interface Comparable. Both Double and String implement this interface.
    Comparable x;
    Comparable y;
    if ( type.equals("double"))
    x = new Double (value);
    y = new Double (value2);
    else if(type.equals("String"))
    x = new String(value);
    y = new String(value2);
    int diff = x.compareTo(y);
    boolean b = (diff >= 0);
    http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Comparable.html
    Message was edited by:
    Loko

  • Need Help on what should be easy

    I'm supposed to make a random number generator between the values of 1-1000. All I can think of is how to get a single random number... How do I get 100?
    A program "RandomDataAnalyzer" that generates a hundred random numbers between 0-1000 and adds them to a "DataSet". Print the avg and the max.

    The average portion is added in here but I cannot figure out how to compare all the mins and maxs in an array to print the min and max. Sorry
    import java.util.*;
    public class RandomNumbers
         private int currentNumber;
         private int totalAmount;
         private double average;
         private int min;
         private int max;
         public void createRandomNumbers()
                   Random rg = new Random();
                   int[] numberStorage = new int[100];
                   int count = 1;
                   int arrayCount = 0;
                   do
                             currentNumber = rg.nextInt(1000);
                             numberStorage[arrayCount] = currentNumber;
                             System.out.println(count + ". " + currentNumber);
                             totalAmount = totalAmount + currentNumber;
                             count++;
                             arrayCount++;
                        }while (count <= 99)
                             currentNumber = rg.nextInt(1000);
                             numberStorage[arrayCount] = currentNumber;
                             System.out.println(count + ". " + currentNumber);
                             totalAmount = totalAmount + currentNumber;
                             System.out.println("All 100 nuumbers have been created");
                             average = totalAmount/100;
                             System.out.println("The average of the random numbers is: " + average);
         public static void main(String[] args)
                   RandomNumbers rn = new RandomNumbers();
                   rn.createRandomNumbers();
    }

Maybe you are looking for

  • "Document is not licensed for this device"

    I bought a law book through digital editions awhile ago and authorized it on my laptop at that time.  Since then, i have wiped the laptop and switched to a desktop computer.  When I tried authorizing the book on my desktop, it is saying the document

  • PGI - No Accounting Document

    My STO is picking rate from Material Master.But when i am doing PGI,it is not generating Accounting Document.Whether i hav to activate any configuration?? Please suggest me.Its important. Viru.

  • Update change to e-mail

    How do I remove the Reply All button from the bottom of my email display? I already prefer to use hot keys for handling email. The addition of a reply all button takes away from screen space for reading and viewing email images as well as the nightma

  • Itunes cuts all my song names down

    Can anyone tell me why or offer me a soloution to why whenever i add songs to itunes over a certain character length (36 chracters i think) It automatically shortens it down. This really is a royal pain in the arse as i have an extensive dance music

  • How to modify the SQL being generated from BC, to fix the issue

    Hi, We have seen a strange issue in our implementation.The issue is also reproducible in Vanilla environment. In Contact List Applet, if we Query in First Name or Last Name fields in UI, the Query being generated is,showing that, Siebel is Querying f