dorjee gyaltsen

Greenhorn
+ Follow
since Dec 29, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by dorjee gyaltsen

hi!
can anyone give me the basic java code to create a simple line graph for output of my java program.
thanks a lot in advance.
cheers!
19 years ago
hi!
can anyone give me the basic java code to create a simple line graph for my java program output.
thanks a lot in advance.
cheers!
19 years ago
Following are the codes i've used to output my sequence in the main() method. It does give me the sequence that i want, but since i'm not femiliar with Swing stuffs, can anyone help with how to get the sequence(String) in colored text. Your help would be greatly appreciated.

//a part of my code in the main() method.
for(int x=0; x<myseq.length(); x=x+60) {
if((x+60)<=myseq.length()){
System.out.print(myseq.substring(x, x+60)+ "\t");
System.out.println((myseq.substring(x, x+60)).length()+x);
}
else{
System.out.print(myseq.substring(x, myseq.length())+ "\t");
System.out.println(myseq.substring(x, myseq.length()).length()+x);
}
}
Thanks a lot in advance.
19 years ago
When I started writing my JDBC program, I have a problem while connecting to MySQL server using the following code

Class.forName("com.mysql.jdbc.Driver");

It throws an CLASSNOTFOUNDEXCEPTION

Can anyone list the possible ways to fix the error??


Many thanks in advance