Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Page 1 of 2 12 LastLast
Results 1 to 25 of 31

Thread: Copying Arrays

  1. #1
    Junior Member
    Join Date
    Sep 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Copying Arrays

    I am working with arrays and I am trying to figure out how to copy an array, using this website as help.http://download.oracle.com/javase/6/docs/api/java/util/Arrays.html#copyOf%28int[],%20int%29

    I will paste my code below, but what I have so far is an array declared, named it "book", did some loops to get some user input and then display the outcome, and that works fine. I was told when you are copying an array, you create a new object and that's where I am stuck. I don't understand how to create and initialize this new object in order to copy my array. I hope I have the right idea at least lol.

    import java.util.ArrayList;
    import javax.swing.JOptionPane;
    /* Exam Practice # 2
     * 10.20.2011
     * This file loads the array list with PhoneBookEntry objects, and displays the
     * content.
     */
    public class PhoneBookDemo
    {
     
        public static void main(String[] args)
        {   String name;
            String phoneNumber;
            String input;
            int inData;
            //Creates an array list that holds phonebookentrys, the name of it is called book
            ArrayList < PhoneBookEntry > book = new ArrayList < PhoneBookEntry > ();
     
            //bookPhone is my second object 
            PhoneBookEntry bookPhone;
            do//assure input is greater than 0
                {
                input = JOptionPane.showInputDialog("How many phone book listings to enter");
                inData = Integer.parseInt(input);
                }
            while(inData < 1);
            //load the array list
            for (int i = 0; i < inData; i++)
                {
                name = JOptionPane.showInputDialog(null,
                "Enter the name:", "Entry" + (i + 1) +
                JOptionPane.PLAIN_MESSAGE);
     
                phoneNumber = JOptionPane.showInputDialog(null,
                "Enter the phone number:", "Entry" + (i + 1) +
                JOptionPane.PLAIN_MESSAGE);
     
                //Primary phonebook object (named it book)
                book.add(new PhoneBookEntry(name, phoneNumber));
     
                }
           //Create a loop that gets objects from the other class file and maybe switch them around
           System.out.println("Name"  + "\tPhone Number" );
           for (int i = 0; i < book.size(); i++)
                {
     
                 System.out.println(book.get(i).getName() + "\t" + book.get(i).getPhoneNumber());
                }
     
     
                //Secondary phonebook object for switching
                //Use methods from the Array list to switch, or replace
                //Print out a paper for each one so you know they all work
                //Refer to Page 433 for "Copying Arrays"
                //http://download.oracle.com/javase/6/docs/api/java/util/ArrayList.html
                //http://download.oracle.com/javase/6/docs/api/java/util/Arrays.html
                  bookPhone.add(new PhoneBookEntry(name, phoneNumber));
     
     
     
    //**********************Secondary phonebook object****************************\\ 
     
            //PhoneBookEntry bookPhone;
            /*do//assure input is greater than 0
                {
                input = JOptionPane.showInputDialog("How many phone book listings to enter");
                inData = Integer.parseInt(input);
                }
            while(inData < 1);
            //load the array list
            for (int i = 0; i < inData; i++)
                {
                name = JOptionPane.showInputDialog(null,
                "Enter the name:", "Entry" + (i + 1) +
                JOptionPane.PLAIN_MESSAGE);
     
                phoneNumber = JOptionPane.showInputDialog(null,
                "Enter the phone number:", "Entry" + (i + 1) +
                JOptionPane.PLAIN_MESSAGE);
     
                //Secondary phonebook object (named it bookPhone)
                bookPhone.add(new PhoneBookEntry(name, phoneNumber));
                }
           //Create a loop that gets objects from the other class file and maybe switch them around
           System.out.println("Name"  + "\tPhone Number" );
           for (int i = 0; i < book.size(); i++)
                {
     
                 System.out.println(book.get(i).getName() + "\t" + book.get(i).getPhoneNumber());
                }*/
     
        }
     
    }


  2. #2
    Junior Member
    Join Date
    Oct 2011
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Copying Arrays

    I read through your code and I can't find where you're trying to copy an array. Also, the page you linked to is for Arrays, and you're program is using ArrayList, which is a different class.

    However, if I'm understanding your problem correctly, you'd copy an array with something like:
    PhoneBookEntry[] copiedBook = Array.copyOf(book, book.length);

    That first part, before the equals sign, is all that's meant by creating a new object. copyOf() returns an array, a NEW array, so you have to have a name to put it in, such as "copiedBook". As a general hint for using those method summary pages, always look at the far left column - it tells you what the method is going to return.

    That's for copying an ARRAY to an ARRAY, and what you have is an ArrayList, which might not work. So, now you have to work out how to turn an ArrayList into an Array. You might look here: ArrayList (Java 2 Platform SE v1.4.2)

  3. #3
    Junior Member
    Join Date
    Sep 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Copying Arrays

    Hmmm, I understand that more lol. I am only two months in, but I get what your telling me. I tried implementing that into my code and following it through with a loop. I will copy my code below.

    When I create a copy of an array, I need to run a loop after and display the info right? Otherwise...what's the point of copying something, and not showing it.

    import java.lang.reflect.Array;
    import java.util.ArrayList;
    import javax.swing.JOptionPane;
    /* Exam Practice # 2
     * This file loads the array list with PhoneBookEntry objects, and displays the
     * content.
     */
    public class PhoneBookDemo
    {
     
        public static void main(String[] args)
        {  String name;
            String phoneNumber;
            String input;
            int inData;
     
            //Creates an array list that holds phonebookentrys, the name of it is called book
            ArrayList < PhoneBookEntry > book = new ArrayList < PhoneBookEntry > ();
     
            do//assure input is greater than 0
                {
                input = JOptionPane.showInputDialog("How many phone book listings to enter");
                inData = Integer.parseInt(input);
                }
            while(inData < 1);
            //load the array list
            for (int i = 0; i < inData; i++)
                {
                name = JOptionPane.showInputDialog(null,
                "Enter the name:", "Entry" + (i + 1) +
                JOptionPane.PLAIN_MESSAGE);
     
                phoneNumber = JOptionPane.showInputDialog(null,
                "Enter the phone number:", "Entry" + (i + 1) +
                JOptionPane.PLAIN_MESSAGE);
     
                //Primary phonebook object (named it book)
                book.add(new PhoneBookEntry(name, phoneNumber));
     
                }
           //Create a loop that gets objects from the other class file and maybe switch them around
           System.out.println("Name"  + "\tPhone Number" );
           for (int i = 0; i < book.size(); i++)
                {
     
                 System.out.println(book.get(i).getName() + "\t" + book.get(i).getPhoneNumber());
                }
     
                //Copy of the primary object    This what you told me I needed, I just substitued a few words, and followed with a loop. I still get syntax errors though. :(
                PhoneBookEntry[] copiedBook = Array.copyOf(book, book.length);
     
                 System.out.println("Name"  + "\tPhone Number" );
           for (int i = 0; i < copiedBook.size(); i++)
                {
     
                 System.out.println(copiedBook.get(i).getName() + "\t" + copiedBook.get(i).getPhoneNumber());
                }
     
        }
     
    }

  4. #4
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: Copying Arrays

     PhoneBookEntry[] copiedBook = Array.copyOf(book, book.length);
    Well, you must look into ArrayList in detail. There is difference between arrays and arraylist.
    You are trying to actually copy two arrays, not arraylists and your book is an arraylist.
    Well, if you want to copy an arraylist into the other, you must use this;
    First_ArrayList.addAll(Second_ArrayList);

    I will recommend you to go through arraylist topic in detail.
    Good luck

  5. #5
    Junior Member
    Join Date
    Sep 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Copying Arrays

    I've been tinkering with my code some more, and here is what I got.

    import java.lang.reflect.Array;
    import java.util.ArrayList;
    import javax.swing.JOptionPane;
    /* Exam Practice # 2
     * This file loads the array list with PhoneBookEntry objects, and displays the
     * content.
     */
    public class PhoneBookDemo
    {
     
        public static void main(String[] args)         <----------main method
        {   String name;
            String phoneNumber;
            String input;
            int inData;
     
            //Creates an array list that holds phonebookentrys, the name of it is called book
            ArrayList < PhoneBookEntry > book = new ArrayList < PhoneBookEntry > ();   <--------------my array list that refers to another class file I am using
     
     
            do//assure input is greater than 0
                {
                input = JOptionPane.showInputDialog("How many phone book listings to enter");
                inData = Integer.parseInt(input);
                }
            while(inData < 1);
            //load the array list
            for (int i = 0; i < inData; i++)
                {
                name = JOptionPane.showInputDialog(null,
                "Enter the name:", "Entry" + (i + 1) +
                JOptionPane.PLAIN_MESSAGE);
     
                phoneNumber = JOptionPane.showInputDialog(null,
                "Enter the phone number:", "Entry" + (i + 1) +
                JOptionPane.PLAIN_MESSAGE);
     
                //Primary phonebook object (named it book)
                book.add(new PhoneBookEntry(name, phoneNumber));
     
                }
           //Create a loop that gets objects from the other class file and maybe switch them around
           System.out.println("Name"  + "\tPhone Number" );
           for (int i = 0; i < book.size(); i++)
                {
     
                 System.out.println(book.get(i).getName() + "\t" + book.get(i).getPhoneNumber());
                }
    //*****************************Copied Object*******************************\\       <--------Here is where I made a "second empty" array. I get errors in netbeans though.
                //Copy of the primary object
                 PhoneBookEntry[] copiedBook = ArrayList.copyOf(book, book.length);
     
                 System.out.println("Name"  + "\tPhone Number" );
           for (int i = 0; i < copiedBook.size(); i++)
                {
     
                 System.out.println(copiedBook.get(i).getName() + "\t" + copiedBook.get(i).getPhoneNumber());
                }
     
        }
     
    }

    My first array PhoneBookEntry works fine with my While loop, and if statement. Creating and copying my second arraylist is where I am having trouble. My understand is that, I create two array lists, I get info and fill one of them. The second one remains empty, until I want to copy and fill it in right? There should be some method for that I use, then I can create my while loop and if statement to display the contents of the second array. Is that all right?
    Last edited by AnnexTrunks; October 24th, 2011 at 03:39 PM.

  6. #6
    Member
    Join Date
    Jun 2011
    Location
    Rhode Island
    Posts
    69
    My Mood
    Bored
    Thanks
    11
    Thanked 7 Times in 6 Posts

    Default Re: Copying Arrays

    Quote Originally Posted by AnnexTrunks View Post
    I've been tinkering with my code some more, and here is what I got.

     
    //*****************************Copied Object*******************************\\       <--------Here is where I made a "second empty" array. I get errors in netbeans though.
                //Copy of the primary object
                 PhoneBookEntry[] copiedBook = ArrayList.copyOf(book, book.length);
     
                 System.out.println("Name"  + "\tPhone Number" );
           for (int i = 0; i < copiedBook.size(); i++)
                {
     
                 System.out.println(copiedBook.get(i).getName() + "\t" + copiedBook.get(i).getPhoneNumber());
                }
     
        }
     
    }

    1) My first array PhoneBookEntry works fine with my While loop, and if statement.

    2) Creating and copying my second arraylist is where I am having trouble.

    3) My understand is that, I create two array lists, I get info and fill one of them.

    4) The second one remains empty, until I want to copy and fill it in right?

    5) There should be some method for that I use,

    6) then I can create my while loop and if statement to display the contents of the second array. Is that all right?
    OK, first lets go through the words I broke up your par into thoughts.
    1) great

    2) to copy a list you need to Iterate through the list if its a primitive array then for each or for statement will work

    3) your thoughts here are absolutely correct.

    4) This you can do

    5) why does there have to be a method??? You can create one its easy...
    public void combineTwoArrays(ArrayList<name> first, ArrayList<name> second){
    iterator iter = first.iterator();
     
    for ( <Name>  theName : iter.next()){
     
    second.add(theName);
    System.out.println("the name is " + theName);
    }//end loop
     
    }// end method

    there you have it not hard.


    6) see above its in the copy method o.o


    Hope this helps...
    Last edited by william; October 24th, 2011 at 04:18 PM.

  7. #7
    Junior Member
    Join Date
    Sep 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Copying Arrays

    In my second for loop, the .size, and .get give me red squiggly lines. I just copied from my first for loop, but I substituted the array names. I then tried copying your provided code into mine to try it out and it was ALL red lol. Sorry if I am being difficult, but I am still earning. When I get errors, I don't know enough information to fix the problems lol.

  8. #8
    Member
    Join Date
    Jun 2011
    Location
    Rhode Island
    Posts
    69
    My Mood
    Bored
    Thanks
    11
    Thanked 7 Times in 6 Posts

    Default Re: Copying Arrays

    Quote Originally Posted by AnnexTrunks View Post
    In my second for loop, the .size, and .get give me red squiggly lines. I just copied from my first for loop, but I substituted the array names. I then tried copying your provided code into mine to try it out and it was ALL red lol. Sorry if I am being difficult, but I am still earning. When I get errors, I don't know enough information to fix the problems lol.

    Sometimes difficult is frustrating, however you never learn unless you ask the question.

    Ok lets go over some of the Array info
    double[] d = new double[5]; //<-- you have to declare a [b]size[/b]
     
    ArrayList<Double> d = new ArrayList<Double>(); //<---- here you dont have to declare a size but you call [b] d.length[/b]
    also Double is a Object
    double is a primitive.

    to get the data from a Double you have to parse it double value = Double.parseDouble( Obj.class ) ;

    double[] d needs a loop of some sort example for loop,
    for(int i =0 ; i < d.getSize() ;i++){
    System.out.println( " in my array my double is : " + d[i]; // notice the i is the counter in this array you have to have it...
    }// end for loop
     
    Iterator iter = d.iterator();// my netbeans is shut down i pretty sure this is right for ArrayList Class
    here you can have different loops
    while(iter.hasNext())
    for each
    for ( Double doub : iter.next())

    the code i wrote before is just an example and was not intended for copy paste.

    now all you really have to do is to make a loop and assign the data in the first ArrayList to the second one in a single loop as well as use a print statement before middle and after to see what your doing...

    those println() are really helpful all the time. It gives you an idea what is happening.... I have so many println() in my code its hard to read but then again I also use the break and debug in netbeans to see values when i have a lot.

  9. #9
    Junior Member
    Join Date
    Sep 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Copying Arrays

    Why is this line giving me troubles? The red squiggly line is below the "copyOf". Netbeans says it does not seem to be recognized. I am having so much trouble with this lol. Java is hard.

    PhoneBookEntry[] copiedBook = ArrayList.copyOf(book, copiedBook.length);
    Last edited by AnnexTrunks; October 24th, 2011 at 06:54 PM.

  10. #10
    Grand Poobah
    Join Date
    Mar 2011
    Posts
    1,545
    My Mood
    Grumpy
    Thanks
    0
    Thanked 167 Times in 158 Posts

    Default Re: Copying Arrays

    Go to the Java API, find the copyOf method, then copy and paste what it says here.
    Improving the world one idiot at a time!

  11. The Following User Says Thank You to Junky For This Useful Post:

    william (October 24th, 2011)

  12. #11
    Member
    Join Date
    Jun 2011
    Location
    Rhode Island
    Posts
    69
    My Mood
    Bored
    Thanks
    11
    Thanked 7 Times in 6 Posts

    Default Re: Copying Arrays

    Quote Originally Posted by AnnexTrunks View Post
    Why is this line giving me troubles? The red squiggly line is below the "copyOf". Netbeans says it does not seem to be recognized. I am having so much trouble with this lol. Java is hard.

    PhoneBookEntry[] copiedBook = ArrayList.copyOf(book, copiedBook.length);
    what is PhoneBookEntry[]
    your trying to use primitives.... with out defining
    look at what wiki says about primitives

  13. #12
    Junior Member
    Join Date
    Sep 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Copying Arrays

    If you scroll up in my original post, you will see an Array declared, and PhoneBookEntry is the other class file I am referencing to. That file in itself is complete and functional. So is the original array and all my loops. My editor and myself does not run into problems until I start trying to make a copy of the array.

    I feel like I'm so close to this, but it's so frustrating. I can't stop messing with it either because tomorrow I go in for testing lol. A break is needed but I don't have time.

    I just need to somehow make a copy of my first array, and display the information. What sucks is that the problem I am having is probably SO small to you guys, and I'm going to feel like a putz for not seeing how to fix it.

  14. #13
    Member
    Join Date
    Jun 2011
    Location
    Rhode Island
    Posts
    69
    My Mood
    Bored
    Thanks
    11
    Thanked 7 Times in 6 Posts

    Default Re: Copying Arrays

    Quote Originally Posted by AnnexTrunks View Post
    If you scroll up in my original post, you will see an Array declared, and PhoneBookEntry is the other class file I am referencing to.
    problem one PhoneBookEntry is not a array its a Class
    PhoneBookEntry can be implemented as ArrayList<PhoneBookEntry> book = new ArrayList<PhonebookEntry>();


    now fix the logic from this and then we'll continue. I am staying online for this so feel special....

  15. #14
    Junior Member
    Join Date
    Sep 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Copying Arrays

    Quote Originally Posted by william View Post
    problem one PhoneBookEntry is not a array its a Class
    PhoneBookEntry can be implemented as ArrayList<PhoneBookEntry> book = new ArrayList<PhonebookEntry>();


    now fix the logic from this and then we'll continue. I am staying online for this so feel special....
    There is nothing wrong with that statement. It works fine with the while loop, and for loop. It's not until after all that, when I began coding my copying thingy, I start getting errors.

  16. #15
    Grand Poobah
    Join Date
    Mar 2011
    Posts
    1,545
    My Mood
    Grumpy
    Thanks
    0
    Thanked 167 Times in 158 Posts

    Default Re: Copying Arrays

    One thing you have to get clear is that copying an array does not automatically mean that you will have two unique arrays if objects are involved. Depending upon how you do it, both arrays probably refer to the same objects. Consider the following code:
    import java.util.Arrays;
     
    class Juju {
        private String value;
     
        Juju(String s) {
            value = s;
        }
     
        public String toString() {
            return value;
        }
     
        public void change(String s) {
            value = s;
        }
     
        public static void main(String[] args) {
            Juju[] one = {new Juju("one"), new Juju("two"), new Juju("three")};
            Juju[] two = Arrays.copyOf(one, one.length);
            one[0].change("ten");
            System.out.println(two[0]);
        }
    }
    Even though the code changes the value of the object in array one the output is "ten" because array two also refers to the same object.
    Improving the world one idiot at a time!

  17. #16
    Grand Poobah
    Join Date
    Mar 2011
    Posts
    1,545
    My Mood
    Grumpy
    Thanks
    0
    Thanked 167 Times in 158 Posts

    Default Re: Copying Arrays

    Quote Originally Posted by william View Post
    problem one PhoneBookEntry is not a array its a Class
    PhoneBookEntry can be implemented as ArrayList<PhoneBookEntry> book = new ArrayList<PhonebookEntry>();


    now fix the logic from this and then we'll continue. I am staying online for this so feel special....
    What the heck are you on about? OP has an array that will store PhoneBookEntry objects. There is nothing wrong with that and you are just muddying the waters.
    Improving the world one idiot at a time!

  18. #17
    Member
    Join Date
    Jun 2011
    Location
    Rhode Island
    Posts
    69
    My Mood
    Bored
    Thanks
    11
    Thanked 7 Times in 6 Posts

    Default Re: Copying Arrays

    give me a few now I am going to install netbeans on this computer.

    please post all the code for me thanks.
    Last edited by william; October 24th, 2011 at 07:45 PM. Reason: added post

  19. #18
    Grand Poobah
    Join Date
    Mar 2011
    Posts
    1,545
    My Mood
    Grumpy
    Thanks
    0
    Thanked 167 Times in 158 Posts

    Default Re: Copying Arrays

    WTF does installing netbeans have to do with it?
    Improving the world one idiot at a time!

  20. #19
    Grand Poobah
    Join Date
    Mar 2011
    Posts
    1,545
    My Mood
    Grumpy
    Thanks
    0
    Thanked 167 Times in 158 Posts

    Default Re: Copying Arrays

    William

    The issue is that OP is trying to call the copyOf method in the ArrayList class when that method does not exist. It has nothing to do with a PhoneBookEntry array.
    Improving the world one idiot at a time!

  21. #20
    Member
    Join Date
    Jun 2011
    Location
    Rhode Island
    Posts
    69
    My Mood
    Bored
    Thanks
    11
    Thanked 7 Times in 6 Posts

    Default Re: Copying Arrays

    Quote Originally Posted by Junky View Post
    William

    The issue is that OP is trying to call the copyOf method in the ArrayList class when that method does not exist. It has nothing to do with a PhoneBookEntry array.
    relax Junky answer his question then don't badger me.

  22. #21
    Grand Poobah
    Join Date
    Mar 2011
    Posts
    1,545
    My Mood
    Grumpy
    Thanks
    0
    Thanked 167 Times in 158 Posts

    Default Re: Copying Arrays

    I already have and then you come along and confuse the matter by making incorrect and irrelevant posts.
    Improving the world one idiot at a time!

  23. #22
    Member
    Join Date
    Jun 2011
    Location
    Rhode Island
    Posts
    69
    My Mood
    Bored
    Thanks
    11
    Thanked 7 Times in 6 Posts

    Default Re: Copying Arrays

    Quote Originally Posted by Junky View Post
    I already have and then you come along and confuse the matter by making incorrect and irrelevant posts.
    what ever help away I am going for my Martini. I am off work and I really don't need you.

  24. #23
    Junior Member
    Join Date
    Sep 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Copying Arrays

    There is too many people suggesting too many things. Sorry guys but I am more confused now then ever.

  25. #24
    Grand Poobah
    Join Date
    Mar 2011
    Posts
    1,545
    My Mood
    Grumpy
    Thanks
    0
    Thanked 167 Times in 158 Posts

    Default Re: Copying Arrays

    No need to be confused. Ignore william then go back and read replies 10 & 15.
    Improving the world one idiot at a time!

  26. #25
    Grand Poobah
    Join Date
    Mar 2011
    Posts
    1,545
    My Mood
    Grumpy
    Thanks
    0
    Thanked 167 Times in 158 Posts

    Default Re: Copying Arrays

    Don't send me private messages. Ask your questions on the forum so everyone can see them and try to help.

    The reason you cannot find any info about the copyOf method in the ArrayList class is because there isn't one. The copyOf methods belong to the Arrays class. There is an example of how to use it in reply 15.
    Improving the world one idiot at a time!

Page 1 of 2 12 LastLast

Similar Threads

  1. Copying Objects
    By MethodMan in forum Object Oriented Programming
    Replies: 3
    Last Post: November 15th, 2011, 03:41 AM
  2. copying and comparing stacks
    By colerelm in forum What's Wrong With My Code?
    Replies: 1
    Last Post: October 22nd, 2011, 01:22 AM
  3. [SOLVED] Problem copying an arraylist to an array
    By allhalf425 in forum Collections and Generics
    Replies: 4
    Last Post: September 20th, 2011, 10:25 AM
  4. Copying Array Problems.. Not what you think
    By xXRedneckXx in forum What's Wrong With My Code?
    Replies: 1
    Last Post: February 5th, 2011, 12:01 PM
  5. need help copying (what is in address bar)
    By 3ammary in forum Java Networking
    Replies: 0
    Last Post: January 8th, 2011, 09:32 AM