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...
Type: Posts; User: DaHappy
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...
How do i do that? :O
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...
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...
Thanks mate :) Have a lovely day! :D
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package javaapplication4;
import javax.swing.JOptionPane.*;
/**
*
* @author Joel
*/
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:...
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
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");
...
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...