this is my window class
Im using a tutorial on youtube by a guy called gametut
import java.awt.Canvas;
import java.awt.Dimension;
import javax.swing.JFrame;
Type: Posts; User: scriptKing
this is my window class
Im using a tutorial on youtube by a guy called gametut
import java.awt.Canvas;
import java.awt.Dimension;
import javax.swing.JFrame;
Hello,
im in the thick of trying to make a game with a rotating ship i got along way with it but got stuck just on rotation now im just trying to figure out how to get a shape to rotate in java....
good point lots to learn with this stuff
Hi I have just made a new class
package main;
import java.awt.*;
public class Window extends Canvas {
thanks norm
Hi i did a exersize and you needed to get the following result
1 2 3 4 5 6 7 8 9 10
2 4 6 8 10 12 14 16 18 20
3 6 9 12 15 18 21 24 27 30
4 8 12 16 20 24 28 32 36 40
5 10 15 20 25 30 35 40...
Thankyou will keep this in mind,
On another note i was going well in eclipse but now was going to try this free MOOC java course and they wanted netbeans and TMCbeans but for some reason on...
Once again im back trying to learn programming i love the idea but i can never seem to get off the ground.
my journey so far has been 10 step forward 15 steps back. anyway i am just going to keep...
Hello,
Anyone recently try the tutorials https://www.mooc.fi/en#courses
Looks promising however when i try to run the TMCBeans it just crashes on importing modules.
Tried a few things like...
good point, i assumed that when a user typed something in consol it would be a string but now your making me think its an integer im going to try change now to use an int
brb
--- Update ---
...
Norm.......you are one clever cookie!
thanks
ok now i have got this working but when i input the correct number it still says its wrong
hmmmm
import java.util.Random;
import java.util.Scanner;
public class Game {
Hello,
im trying to make a simple guessing game in ecclipse
i have the error "c connot be resolved to a variable.
import java.util.Random;
import java.util.Scanner;
Hi Norm,
Thanks for your help with this,
I have ended up going
protected void createContents() {
shell = new Shell();
it is on
n1++;
Ok, I have used window in eclipse workspace to build a basic calculator GUI,
I then have the buttons i want to now add onclick events or however you say that in JAVA that when i click it displays...