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...
Type: Posts; User: Majora94
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...
I'm guessing you mean this part?
case LINE:
switch(orientation)
{
case HORIZONTAL:
page.drawLine(xValue, yValue + DRAW, xValue + length, yValue + DRAW);
Or you could just as easily use a while:
while( i<10 && i>40)
{
//Get input method
}
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
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...
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?
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...
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...
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...