Search:

Type: Posts; User: scriptKing

Search: Search took 0.18 seconds.

  1. Thread: rotating

    by scriptKing
    Replies
    3
    Views
    533

    Re: rotating

    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;
  2. Thread: rotating

    by scriptKing
    Replies
    3
    Views
    533

    rotating

    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....
  3. Re: Is there somethign im missing with serialization

    good point lots to learn with this stuff
  4. Is there somethign im missing with serialization

    Hi I have just made a new class



    package main;

    import java.awt.*;

    public class Window extends Canvas {
  5. Re: Hello need some advice to make this better

    thanks norm
  6. Hello need some advice to make this better

    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...
  7. Replies
    8
    Views
    607

    Re: Simple guess game

    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...
  8. Thread: Hello all

    by scriptKing
    Replies
    0
    Views
    1,380

    Hello all

    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...
  9. Thread: MOOC

    by scriptKing
    Replies
    0
    Views
    2,382

    MOOC

    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...
  10. Replies
    8
    Views
    607

    Re: Simple guess game

    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 ---
    ...
  11. Replies
    8
    Views
    607

    Re: Simple guess game

    Norm.......you are one clever cookie!

    thanks
  12. Replies
    8
    Views
    607

    Re: Simple guess game

    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 {
  13. Replies
    8
    Views
    607

    Simple guess 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;
  14. Replies
    4
    Views
    587

    Re: Java GUI button calculator

    Hi Norm,

    Thanks for your help with this,

    I have ended up going



    protected void createContents() {
    shell = new Shell();
  15. Replies
    4
    Views
    587

    Re: Java GUI button calculator

    it is on
    n1++;
  16. Replies
    4
    Views
    587

    Java GUI button calculator

    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...
Results 1 to 16 of 16