Search:

Type: Posts; User: bardd

Search: Search took 0.25 seconds.

  1. Thread: Printer control

    by bardd
    Replies
    4
    Views
    978

    Re: Printer control

    Yes. I suspect it prints less than the hight of a chacarter, so the action might have to be more complicated than that, but basically yes.
  2. Thread: Printer control

    by bardd
    Replies
    4
    Views
    978

    Printer control

    I want to make a program that turns a printer to a typewriter: you type a character, it is printed immediately, the page only goes up when a line is finished and only a bit etc.
    The question is, is...
  3. Replies
    11
    Views
    479

    Re: bricks wierd problem

    the ball doesn't hit the 3 bottom rows.
    what do you mean by correlation?
  4. Replies
    11
    Views
    479

    Re: bricks wierd problem

    what i ment was for some reason the ball hits the bricks on the upper rows of bricks but goes through the lower ones.
  5. Replies
    11
    Views
    479

    Re: bricks wierd problem

    what other options do i have?
  6. Replies
    11
    Views
    479

    Re: bricks wierd problem

    i changed it. you shouldn't have a poblem editing now. both width and height are defined in the constructor.
  7. Replies
    11
    Views
    479

    Re: bricks wierd problem

    i forgot the imports. it should work now.
  8. Replies
    11
    Views
    479

    bricks wierd problem

    I am programming the game bricks, and i have a wierd problem: the ball only hits bricks above a curtain line.
    ball code:


    import java.awt.Graphics;

    public class Ball {
    private int r;...
  9. Thread: collections

    by bardd
    Replies
    1
    Views
    411

    collections

    what is the differance between a List, a LinkedList and an ArrayList?
  10. Thread: import question

    by bardd
    Replies
    1
    Views
    408

    import question

    how do I import a class from the default package of another project?
  11. Replies
    5
    Views
    1,218

    Re: need help with saving data

    I'm not sure.
    is there some sort of code that cant automatically create a file that saves the data and one that automatically retrives it?
  12. Replies
    5
    Views
    1,218

    need help with saving data

    How can I save data from previos runs?
    I need to save the data of object "player" that has the fields:
    String name
    int health
    int strength
    int speed
    I might create more fields

    p.s. I'm a...
  13. Thread: Math Problem

    by bardd
    Replies
    11
    Views
    1,211

    Re: Math Problem

    It prints these numbers next to each other, so if they're all 11.11 it'll print 11.1111.1111.11
    if you'll write it this way:
    System.out.println("Subtotal Tax: "+(firstTax + secondTax +...
  14. Replies
    5
    Views
    659

    Re: beginner's question

    I don't know what that means... as I wrote, I'm a beginner...
  15. Replies
    5
    Views
    659

    beginner's question

    what does "System.exit()" mean?
  16. Replies
    3
    Views
    432

    Re: need help with code

    I didn't really understand... can you put it in the code please?
  17. Is there an integer-type variable bigger than "long"?

    I need to make a code that handels enormous natural numbers. Is there a variable type I can use? "long" isn't big enough.
  18. Replies
    3
    Views
    432

    need help with code

    for (int c=1; c<=6; c++)
    {
    int a=(int)(Math.random()*37+1);
    int b=(int)(Math.random()*8+1);
    System.out.print (a+" ");
    if (c==6) System.out.println ("-...
Results 1 to 18 of 18