Luckless's Profile User Rating: *****

Reputation: 293 Architect
Group:
Contributors
Active Posts:
1,152 (0.6 per day)
Joined:
31-August 09
Profile Views:
19,477
Last Active:
User is offline Feb 14 2014 01:31 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
AMD
Favorite Gaming Platform:
Playstation
Your Car:
Honda
Dream Kudos:
100

Latest Visitors

Icon   Luckless <rebooting>

Posts I've Made

  1. In Topic: Java Roomba program help

    Posted 14 Feb 2014

    Where is your RoombaBot class? Also, why does every Circle need to have an ActionListener if they move randomly? I think that your frame should have the ActionListener which moves your RoombaBot.
  2. In Topic: File output not working but no error messages.

    Posted 15 Dec 2013

    Without running your code, I know for certain you need to have a finally { } after the catch to .flush() and .close() the writer. Otherwise, the file is not closed. Contact is a complex object I assume--Does it have an overriden toString() method that returns its attributes (first and last name I presume) as a String?
  3. In Topic: File output not working but no error messages.

    Posted 15 Dec 2013

    Why doesn't your TreeSet have generics? TreeSet<String>(). Also, can we see your csv file content?
  4. In Topic: Just completed my first GUI project!

    Posted 15 Dec 2013

    You might look at other ways of implementing ActionListener. I typically use anonymous action listeners if the listener is used once. If it is used for more than one component, then I create a separate Action listener class. You can create it in it's own file or make an inner class.

    Other than that, I think you format your code well, group things logically, and pay attention to scope of variables well. From the standpoint of a GUI, I would try to make the radio buttons a little less verbose. Try out a something a little more succinct:

    Level of exercise:

    1-3 days per week
    3-5 days per week
    6-7 days per week

    This is a perfect time to use a JComboBox =)
  5. In Topic: Guessing game issue - Limit number of guesses

    Posted 2 May 2013

    You could set a boolean variable isRight to false. If they guess, flip it to true, then after the for loop, check the boolean and print if !isRight. See if you can make that work =)

My Information

Member Title:
</luck>
Age:
22 years old
Birthday:
May 1, 1992
Gender:
Location:
United States
Interests:
Anything outdoors. Swimming is by far my favorite activity, besides conjuring up some programs ;) I like to think of myself as a jack-of-all-trades and love to learn what makes things tick.
Full Name:
Dakota Brown
Years Programming:
3
Programming Languages:
Proficient in: C++, Java, Groovy, Spring, Camel

Dabble in: HTML & CSS, SQL, PHP

Contact Information

E-mail:
Click here to e-mail me
Website URL:
Website URL  http://dakotalovesjava.blogspot.com/

Comments

Page 1 of 1
  1. Photo

    ATAC_2000 Icon

    05 Dec 2013 - 16:30
    hi my friend...could you send me the full java code with the hotel reservation(http://www.dreamincode.net/forums/topic/200725-an-array-of-objects-with-a-program-with-two-classes/)
    ...please send me at tst12125@uop.gr
  2. Photo

    Frinavale Icon

    28 Jun 2010 - 12:13
    When I read your signature I had this urge to respond with "If the only tool you have is a hammer, you will see every problem as a nail..."
    :)
Page 1 of 1