Archive for the 'question' Category
May 4, 2008
anyone have a cool java related program that can be useful?
I am working on a small Java program which will use a stack to reverse a line of input. Below is what I have so far and I can't seem to get any further. Any help is greatly appreciated!
Thanks in advance!
public class StackLine
{
String txtIn = "Stacks are pretty cool";
int p = txtIn.length()-1;
while(p > -1)
{
System.out.println(txtIn.charAt(p));
p--;
}
public static void main(String[] args)
{
StackLine stack = new StackLine( );
}
}
uring the update it asked me to remove some old files, i did, now me pc has major probs. i didnt remove the files on the other 2 computers in the house and they work fine. here are the problems:
compiz no longer works no matter what. i tried all tutorials
no opengl games work. like bzflag,vdrift,ect
( though i can still play netpanzer :)
screensavers no longer work
installing the nvidia-glx-new drivers does not work and i cant install the ones from nvidia's site
java doesnt work right ( cant launch geocities pagebuilder )
i have the xfx geforce 8600gt gddr3 256mb video card
everything used to work fine......
i am a pro to Linux for years and never had trouble like this. i do not want to reinstall, unless there is a way to reinstall while still keeping you stuff without having to mess with /home/user.
Hi. I just bought Microsoft Visula Studio Proffessional and I am a C and a Java programmer. Can anyone tell me to comiler C or Java programs using Microsoft Visual Studio Proffesional?
Last night I noticed my betta had a ( possibly quite acute. gah. ) case of Mouth Rot. I didn't notice before hand because he has woven a 'nest' persay within his java moss and was sleeping there, and thus, he being a very lazy fish, I didn't even think twice. ( He isn't lazy because the tank is cold. I have it at 75oF at all times. Nor because of lack of air or a dirty tank. His tank gets cleaned once a week ( so this came within the week ) and he has an air pump running usually from 7:00 to 21:00 )
I beleive the medication I'm looking for is Oxytetracycline? ( I may be wrong. ) I cannot give him the medicated food version due to the fact that he isn't eating. ( which is how I noticed. )
Would Tetracycline work just as well or should I get the Oxy for a heavier dose?
EDIT: I really nee dto knwo if Tetracycline would work just as well! I can't find the Oxytetracycline anywhere and my vets office is closed for the day.
A couple stores suggested bettafix, which is a general cure all, but I'm very iffy on that.
I have a text file containing nine integers. I want to fill an array with these nine integers using EasyReader to get the numbers from the text file.
Here's what I have, basically, to put integers into the array and output the array to see if it worked. But when I run it, I find that the array has nothing filled! It prints "0 0 0 0 0 0 0 0 0".
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
int values[] = new int[9];
EasyReader console = new EasyReader("my text file");
for(int x=0; x<9; x++)
{
while(!console.eof())
{
values[x] = console.readInt();
}
}
String output="";
for(int y=0; y<9; y++)
{
output += values[y] + "\t";
}
System.out.println(output );
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
I would be extremely thankful to anyone who helps me see what's wrong. Java is stressing me out big time XD
I am looking for developing applications for my office and totally new to computers. Also which would be a good carrier choice. I mean to choose .net or java technology. Please help me.
if i download java script off the internet so i can play games? i don't want to mess my computer up.
if i download java script off the internet so i can play games? i don't want to mess my computer up.
I am using an array(grades) to setLab, setPassFailExam, setEssay, setFinalExam, and a toString method that should return a string that contains the numeric scores and grades for each element in the array. Isn't there an easy way to allow Eclipse to generate the getters and setters for me???
Once I have generated getters and setters, how do I carry them over or call them in the demo program?
I am using an array(grades) to setLab, setPassFailExam, setEssay, setFinalExam, and a toString method that should return a string that contains the numeric scores and grades for each element in the array. Isn't there an easy way to allow Eclipse to generate the getters and setters for me???
Once I have generated getters and setters, how do I carry them over or call them in the demo program?
When I click out of that it says Several Java Virtual Machines running in the same process caused an error. I have uninstallled and reinstalled but it did not help
the setup is:
2.5 gal tank (no ruler but something like 12x5x7)
whisper internal filter/air pump (1-3gal)
25w incandescent bulb on lightstrip
small black gravel
java fern
small castle
two lily bulbs from walmart, has mold on it, has been 1 week
1 male betta
4 ghost shrimp
i do 50% percent water changes every saturday using tap water and tetra aquasafe. i have not vaccumed the gravel, nor replaced the filter cartridge. plz dont start yelling at me. my reason is because i have read a lot about beneficial bacteria and how they live on the filter, my concern was that if i replace the filter there would not be any BB to remove the ammonia.
ps. not as important, but the java fern is obviously taller than the tank. i just folded the leaves so that they touch the water. is that bad?
the setup is:
2.5 gal tank (no ruler but something like 12x5x7)
whisper internal filter/air pump (1-3gal)
25w incandescent bulb on lightstrip
small black gravel
java fern
small castle
two lily bulbs from walmart, has mold on it, has been 1 week
1 male betta
4 ghost shrimp
i do 50% percent water changes every saturday using tap water and tetra aquasafe. i have not vaccumed the gravel, nor replaced the filter cartridge. plz dont start yelling at me. my reason is because i have read a lot about beneficial bacteria and how they live on the filter, my concern was that if i replace the filter there would not be any BB to remove the ammonia.
ps. not as important, but the java fern is obviously taller than the tank. i just folded the leaves so that they touch the water. is that bad?
Can anyone help me here? I can't get Yahoo Games to load every time i wanna play. I do have Java installed and it's the updated version. I have uninstalled it and reinstalled it. I have also cleared out the Jave Cache folder. . . . . . What else can i do? . . Sometimes they load, sometimes they won't.
Can anyone help me here? I can't get Yahoo Games to load every time i wanna play. I do have Java installed and it's the updated version. I have uninstalled it and reinstalled it. I have also cleared out the Jave Cache folder. . . . . . What else can i do? . . Sometimes they load, sometimes they won't.
I developing an application that I need to perform some clean up on database entries. I cannot seem to get the OnUnload to call a proceedure or a file to perform this clean up. In addition I have tried to do the same in the global.asa OnEnd procedure. I don't use Java much and know less about than I use it. Could someone give me a hand in figuring this out?
I developing an application that I need to perform some clean up on database entries. I cannot seem to get the OnUnload to call a proceedure or a file to perform this clean up. In addition I have tried to do the same in the global.asa OnEnd procedure. I don't use Java much and know less about than I use it. Could someone give me a hand in figuring this out?
during the update it asked me to remove some old files, i did, now me pc has major probs. i didnt remove the files on the other 2 computers in the house and they work fine. here are the problems:
compiz no longer works no matter what. i tried all tutorials
no opengl games work. like bzflag,vdrift,ect
( though i can still play netpanzer :)
screensavers no longer work
installing the nvidia-glx-new drivers does not work and i cant install the ones from nvidia's site
java doesnt work right ( cant launch geocities pagebuilder )
i have the xfx geforce 8600gt gddr3 256mb video card
everything used to work fine......
i am a pro to Linux for years and never had trouble like this. i do not want to reinstall, unless there is a way to reinstall while still keeping you stuff without having to mess with /home/user.
during the update it asked me to remove some old files, i did, now me pc has major probs. i didnt remove the files on the other 2 computers in the house and they work fine. here are the problems:
compiz no longer works no matter what. i tried all tutorials
no opengl games work. like bzflag,vdrift,ect
( though i can still play netpanzer :)
screensavers no longer work
installing the nvidia-glx-new drivers does not work and i cant install the ones from nvidia's site
java doesnt work right ( cant launch geocities pagebuilder )
i have the xfx geforce 8600gt gddr3 256mb video card
everything used to work fine......
i am a pro to Linux for years and never had trouble like this. i do not want to reinstall, unless there is a way to reinstall while still keeping you stuff without having to mess with /home/user.
« Previous Page — Next Page »