Search:

Type: Posts; User: Majora94

Search: Search took 0.09 seconds.

  1. Replies
    2
    Views
    1,383

    Exception when creating an array

    I'm losing the will to live now.

    I have created a class that simply initializes a number an then has a function that returns it. If I run the class normally it will return the number fine but...
  2. Replies
    2
    Views
    1,225

    Re: Help with Draw Program

    I'm guessing you mean this part?




    case LINE:
    switch(orientation)
    {
    case HORIZONTAL:
    page.drawLine(xValue, yValue + DRAW, xValue + length, yValue + DRAW);
  3. Re: can someone tell me what's wrong with my code

    Or you could just as easily use a while:



    while( i<10 && i>40)
    {
    //Get input method
    }
  4. Re: can someone tell me what's wrong with my code

    Make a function to get the user input. The use an if to see if the value is in the range. Then if the value is not in the wanted range say "Value must be: blah blah" and then run the function again
  5. Replies
    2
    Views
    1,655

    Does this look ok for a game layout?

    I wasn't sure where to post but this is the closest. I would just like to get some opinions on this game layout code before I start. Just in case I may have forgotten something important before I...
  6. Replies
    8
    Views
    1,721

    Re: Reading and writing files in a JApplet

    OK, does this mean that when the program is run through eclipse, it allows all permissions? But then when you run through the browser it is not allowed unless it is signed?
  7. Replies
    8
    Views
    1,721

    Re: Reading and writing files in a JApplet

    I need the directory to be created on the web server. There are no exeptions thrown when I run.

    When I run the applet through eclipse, it will create the directory fine, but if I run the applet...
  8. Replies
    8
    Views
    1,721

    Re: Reading and writing files in a JApplet

    But if I want to create a directory them I cant specify a file because the directory won't even exist. This will then throw an exception saying the file does not exist.

    The rest of the code is...
  9. Replies
    8
    Views
    1,721

    Reading and writing files in a JApplet

    I want to create a file manager for a web server that will run in the browser. I started by making a simple interface to create a directory in the folder that the java class is run.

    When run, the...
Results 1 to 9 of 9