Search:

Type: Posts; User: DaHappy

Search: Search took 0.07 seconds.

  1. Replies
    1
    Views
    1,436

    Using comboBox to add players

    Hello, i want to make a game where you play against the computer. All you do is tossing a dice and the plaer who gets the highest number gets a score.

    First of all, I made a ComboBox with 4...
  2. Replies
    3
    Views
    1,476

    Re: Need help with buttons

    How do i do that? :O
  3. Replies
    3
    Views
    1,476

    Need help with buttons

    Hello! My name is Joel and is kinda new to java programming. I got a problem. I want to make 4 buttons on a Panel that has 4 different timers. When i press the first one i want it to take 5 minutes...
  4. Replies
    1
    Views
    1,711

    Add button listeners to 4 buttons?

    Hello! My name is Joel and is kinda new to java programming. I got a problem. I want to make 4 buttons on a Panel that has 4 different timers. When i press the first one i want it to take 5 minutes...
  5. Replies
    2
    Views
    1,242

    [SOLVED] Re: whats wrong with my simple code?

    Thanks mate :) Have a lovely day! :D
  6. Replies
    2
    Views
    1,242

    [SOLVED] whats wrong with my simple code?

    /*
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    */
    package javaapplication4;
    import javax.swing.JOptionPane.*;
    /**
    *
    * @author Joel
    */
  7. Replies
    7
    Views
    1,107

    Re: String + Scanner!

    Line 10: The assigned value is never used
    ----
    Line 23: Cannot find symbol
    symbol: variable nextString
    location: variable scan of type Scanner
    ----
    Line 24:
    Cannot find symbol
    Symbol:...
  8. Replies
    7
    Views
    1,107

    Re: String + Scanner!

    But i can't copy those errors, do i have to write those down? :/

    --- Update ---

    Sry for spam, my internet went down and i pressed post some times :O
  9. Replies
    7
    Views
    1,107

    Re: String + Scanner!

    all errors!


    School = scan.nextString;
    symbol: variable nextString
    location: variable scan of type Scanner

    System.out.println(School == Good ? "How nice" : "Aww, that's sad");
    ...
  10. Replies
    7
    Views
    1,107

    String + Scanner!

    Okay, im using netbeans as my compiler. And don't judge me for my text. Im new and im just texting stuff. I can't get my Scanner to work with a String. last thing on the code, i got a School variable...
Results 1 to 10 of 11