Search:

Type: Posts; User: antnas

Search: Search took 0.25 seconds.

  1. Replies
    2
    Views
    427

    Re: Clueless on classes

    import java.util.Scanner;
    class AlbumTester
    {
    private static void printChoices()
    {
    System.out.println("add\nadd <0 or positive int>\nshow\nquit");
    }

    public static void...
  2. Replies
    2
    Views
    427

    Clueless on classes

    I have this project I have to do and I am completely lost.


    public class Album
    {
    private int nPictsInAlbum;
    private Picture[] pictArray;
    private int capacity;

    ...
  3. Replies
    5
    Views
    489

    Re: Replacing red with a picture

    Nevermind then, thanks anyway
  4. Replies
    5
    Views
    489

    Re: Replacing red with a picture

    I tried PMing with the assignement pdf for easier to read directions on what needs to happen. Sorry if it was confusing
  5. Replies
    5
    Views
    489

    Replacing red with a picture

    For this assignment I have a picture of myself with a green screen background. I have to take this picture of myself and replace the green screen background with another picture (IE: a beach is what...
  6. Replies
    1
    Views
    320

    Flipping a picture 180 degrees

    I made code so that I can copy a smaller picture into a bigger picture which is working but I need to add code to make it flip 180 degrees and I do not know how to go about that.
    This is my code so...
  7. Replies
    1
    Views
    292

    calling this method

    public void changeWhole(double amount)
    {
    Pixel[] pixelArray = this.getPixels();
    Pixel pixel = null;
    int value = 0;
    int i = 0;
    while( i < pixelArray.length)
    {
    ...
  8. Replies
    5
    Views
    594

    Re: Finding a Smallest Integer

    I dont get what you mean... I just want it to make another line under that would say in this case "Smallest Integer " " in LOCATION " " "
    I want to set up code that would be like...
  9. Replies
    5
    Views
    594

    Re: Finding a Smallest Integer

    Im getting no where with this. Can anyone start me out with a few lines of code giving me a hint?
  10. Replies
    5
    Views
    594

    Finding a Smallest Integer

    public class MixerUpper{
    public static void main(String[] args){
    int[] myArray = new int[5];
    printIntArray(myArray);
    }
    public static void printIntArray(int[] myParamVar)...
Results 1 to 10 of 10