Search:

Type: Posts; User: Cuju

Page 1 of 2 1 2

Search: Search took 0.23 seconds.

  1. Replies
    4
    Views
    436

    Re: Screwed up system variables

    Most common statement on these forums haha, love it :)
  2. Thread: help please

    by Cuju
    Replies
    3
    Views
    1,331

    Re: help please

    import java.util.LinkedList;
    import java.util.Queue;

    /**
    *
    * @author javadb.com
    */
    public class Main {

    /**
  3. Thread: help please

    by Cuju
    Replies
    3
    Views
    1,331

    Re: help please

    You can start off by creating your "random generator"


    Random generator = new Random();
    int RandomNumber = 0;
    RandomNumber = generator.nextInt(6)+1;


    Post your code though, we aren't going...
  4. Replies
    1
    Views
    4,899

    2D Collision Detection

    I'm trying to create hit boxes on a platform and an oval(I've accomplished this). But my method of doing this is checking if any of the 16 hit boxes on the oval touch any of the 12 hit boxes on the...
  5. Replies
    11
    Views
    4,649

    Re: Array of contacts (address book)

    You didn't give a very specific question, you asked people to explain your own code. ~X(
  6. Replies
    132
    Views
    20,781

    Sticky: Re: 500 Ways to Print 1 to 10

    8. Java


    public class OneToTen {

    public static void main(String[] args) {

    int c = 0;

    while(c<10) {
  7. Thread: HELP URGENT!!

    by Cuju
    Replies
    2
    Views
    595

    Re: HELP URGENT!!

    Could you maybe explain what you're supposed to do with the input from the file?
  8. Replies
    3
    Views
    12,546

    Practice Questions / Problems / Projects

    Just wondering if anyone on the forums had some interesting programming problems/projects etc. that they did in a first year university or senior high school programming class.

    I've looked at all...
  9. Replies
    2
    Views
    698

    Re: Please help with this code.....

    Go here: http://www.javaprogrammingforums.com/java-theory-questions/3870-random-letter-problem-please-help.html#post10390
    I don't know which thread you're using :S
  10. Replies
    1
    Views
    1,466

    Re: Random Letter problem please help!

    Took me some time, but I got it :)


    import java.io.*;
    import java.util.*;

    public class RandomLetter {

    public static void main(String args[]) {
  11. Re: reading string input then casting it to an int?

    I deleted it by accident lol, here it is again:


    import java.io.*;
    import java.util.*;


    public class ConvertString {

    public static void main(String args[]) {
  12. Thread: Playing .wav file

    by Cuju
    Replies
    1
    Views
    1,928

    Re: Playing .wav file

    I found an example of an audioinputstream, maybe you can mess with this to see whats wrong with yours!


    import java.io.File;

    import javax.sound.sampled.AudioInputStream;
    import...
  13. Thread: hey guys....

    by Cuju
    Replies
    2
    Views
    486

    Re: hey guys....

    Here's a simple GUI Template I have from last year. Hope it helps!


    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;


    public class GUITemplate extends JFrame
    implements...
  14. Replies
    3
    Views
    465

    Re: HELP! Input, numbers, nonsense

    Post your code dudeeee :P
  15. Thread: Snake Game

    by Cuju
    Replies
    6
    Views
    8,080

    Re: Snake Game

    I'm still a java noob so my knowledge of that stuff is pretty much nothing.

    I'm having a hard time understanding how to get the the tail pieces to follow the heads path. I've tried storing the...
  16. Thread: Snake Game

    by Cuju
    Replies
    6
    Views
    8,080

    Re: Snake Game

    Thank ya, and yeah that's what I thought I'd have to do ugh.

    Any suggestions on how to get the tails behind the lead cube to follow its path, this is my main concern atm?
  17. Thread: Snake Game

    by Cuju
    Replies
    6
    Views
    8,080

    Snake Game

    I'm working on creating a snake game for fun. I've got a rough version of it going now which is basically just the snake moving around and boxes appearing on the screen. I just revamped the whole...
  18. Replies
    1
    Views
    824

    Re: Why is Mary's code better

    From what I understand on this forum. People don't do your homework for you :)
  19. Thread: Eclipse on Mac

    by Cuju
    Replies
    6
    Views
    2,836

    Re: Eclipse on Mac

    Alright so bootcamp would be the way to go if I really wanted JCreator. Thanks for the help, very useful members on this site!
  20. Thread: Eclipse on Mac

    by Cuju
    Replies
    6
    Views
    2,836

    Re: Eclipse on Mac

    Is there a virtual machine that allows me to run JCreator on Mac? I have no experience with VM's so just wondering.
  21. Thread: Eclipse on Mac

    by Cuju
    Replies
    6
    Views
    2,836

    Re: Eclipse on Mac

    Thank you very much helloworld :)

    /edit

    Silly question, but I still need to install the JDK to use Eclipse? Even though the JDK is only for PC/Linux?
  22. Thread: Eclipse on Mac

    by Cuju
    Replies
    6
    Views
    2,836

    Eclipse on Mac

    I'm getting a Macbook Pro this summer for school. I was wondering if Eclipse on Mac is the same or close enough to JCreator on PC ?
  23. Thread: DOS board game

    by Cuju
    Replies
    5
    Views
    1,530

    Re: DOS board game

    Just thought Tic Tac Toe and the Peg game are pretty similiar to what you're trying to do. You can use the same idea to pick positions on the board.

    Tic Tac Toe
    -This was before I learned scanner...
  24. Thread: DOS board game

    by Cuju
    Replies
    5
    Views
    1,530

    Re: DOS board game

    I have a Tic Tac Toe game and a Peg game that runs in the CMD window if you'd like to see my code for that? :)
    & I also have a simple Tic Tac Toe GUI if you want to see that too?
  25. Thread: Hey Forums

    by Cuju
    Replies
    1
    Views
    463

    Hey Forums

    Hello to everyone on the forums, just wanted to say that I've taken a 6 month course in Java programming and I am attending university next year to further my studies. I'm enrolled in the Bachelor of...
Results 1 to 25 of 26
Page 1 of 2 1 2