Forum: Java Aug 12th, 2009 |
| Replies: 4 Views: 304 So what really you want from us??
Do you expect us to write complete code for you? |
Forum: Java Aug 10th, 2009 |
| Replies: 1 Views: 360 No body is here to spoon feed, so no body is going to provide you source code.
First try it yourself, if you face any problem.....................every body is here to help you, ... |
Forum: Java Aug 5th, 2009 |
| Replies: 6 Views: 407 try for your self.
if you face problem while trying post here. |
Forum: Java Aug 5th, 2009 |
| Replies: 3 Views: 420 use class for this.
store all the info in class.
store class in to array. |
Forum: Java Aug 3rd, 2009 |
| Replies: 1 Views: 187 Hi,
this question has been asked many times earlier.
See this (http://www.daniweb.com/forums/thread146390.html). |
Forum: Java Feb 25th, 2008 |
| Replies: 4 Views: 1,181 i think .jar will be good option |
Forum: Java Feb 25th, 2008 |
| Replies: 12 Views: 1,400 use array to store the result, and at last show the result. |
Forum: Java Feb 22nd, 2008 |
| Replies: 1 Views: 429 hi
try this (http://java.sun.com/developer/JDCTechTips/2001/tt0109.html)
hope this will help |
Forum: Java Feb 19th, 2008 |
| Replies: 13 Views: 1,254 dont use loop for it,
you can do the same job with pattern (http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html#field_summary)
or regular expression... |
Forum: Java Feb 15th, 2008 |
| Replies: 1 Views: 1,026 try this (http://java.sun.com/docs/books/tutorial/uiswing/TOC.html)
or this (http://zetcode.com/tutorials/javaswingtutorial/)
or the best (www.google.com) |
Forum: Java Feb 15th, 2008 |
| Replies: 3 Views: 552 define a array of type double, store sorted value in it and the return the array. it will work. |
Forum: Java Feb 15th, 2008 |
| Replies: 7 Views: 1,623 try this (http://www.devarticles.com/c/a/Java/Database-Programming-With-Java-and-JDBC-Part-1/) |
Forum: Java Feb 15th, 2008 |
| Replies: 4 Views: 2,478 run server socket in separate thread. |
Forum: Java Feb 15th, 2008 |
| Replies: 4 Views: 2,776 loop through the array and get sum after that get average. |
Forum: Java Feb 15th, 2008 |
| Replies: 7 Views: 1,623 you can upload the file and also can retrieve the whole file from database.
but if you want to retrieve some content or field then save the content of file in multiple fields |
Forum: Java Feb 15th, 2008 |
| Replies: 7 Views: 1,623 u can save file in data base as binary data type. |
Forum: Java Feb 15th, 2008 |
| Replies: 5 Views: 984 for 2nd:
for(int j=0; j< 2*triangleSize+1; j++)
{
int i=j;
if(j>triangleSize)
i=2*triangleSize-(j+1);
for (int k=0; k<i; k++) |
Forum: Java Feb 15th, 2008 |
| Replies: 5 Views: 984 for 1st:
use quitYesNo.compareToIgnoreCase("q");
see the doc (http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html) |
Forum: Java Feb 14th, 2008 |
| Replies: 8 Views: 1,152 try to put id element for each button but take care that id should be unique for each one.then using getElementById('id of button').onclick='funciton_name';
u can assign function to each button in... |
Forum: Java Feb 14th, 2008 |
| Replies: 5 Views: 9,428 use:
boolean b;
int iSomeValue;
b=true;
if(iSomeValue==0)b=false;
or use function |
Forum: Java Feb 14th, 2008 |
| Replies: 8 Views: 1,152 |
Forum: Java Feb 13th, 2008 |
| Replies: 1 Views: 2,015 run both as separate project and separate program.
but run server before running client. |
Forum: Java Feb 13th, 2008 |
| Replies: 4 Views: 675 try this (http://www.webreference.com/programming/javascript/ncz/) |
Forum: Java Feb 13th, 2008 |
| Replies: 1 Views: 446 suppose u want to put value of strText in to textbox
then u can do as:
//in jsp
String strRsp="<input type='text' value='"+strText+"' name='txt1'/>";
print strRsp string as response string.
... |
Forum: Java Feb 8th, 2008 |
| Replies: 4 Views: 1,135 Hi
From u'r problem it seems that u need to call some os api, which cant be done directly through Java, since java does not touch OS.
For calling any OS api u need to call native library call,... |
Forum: Java Feb 7th, 2008 |
| Replies: 2 Views: 875 go for java media framework |
Forum: Java Feb 7th, 2008 |
| Replies: 4 Views: 1,135 u'r question is not clear
i think u can do it by File class of java. |
Forum: Java Feb 7th, 2008 |
| Replies: 2 Views: 953 inside UserListIn.add u put the validation code which will loop through the database and see whether id has been taken by some one or not if id is found it should give error msg
you can also... |
Forum: Java Feb 7th, 2008 |
| Replies: 3 Views: 503 u'r all if statments contain return at last so no need to put else it will solve u'r prob |
Forum: Java Feb 7th, 2008 |
| Replies: 12 Views: 1,375 hi
use gu.getID().equals(ID)
in place of gu.getID() == ID, here u r comparing string not nums. |
Forum: Java Feb 7th, 2008 |
| Replies: 12 Views: 1,375 UserListIn.size() will return total no. of element in array(not index of last item), so put i< not i<= in for statement. |
Forum: Java Feb 7th, 2008 |
| Replies: 12 Views: 1,375 do this:
inside removeMember get one member like this-
GymUser gu= UserListIn.get(i);
use this gu in place of UserListIn; |
Forum: Java Feb 7th, 2008 |
| Replies: 12 Views: 1,375 UserListIn.get(i) will return object of i'th position in this list
for more info see this (http://www.javadoconline.com/search.jsp?from=main&class=ArrayList&action=search) |
Forum: Java Feb 7th, 2008 |
| Replies: 9 Views: 777 then again same strategy, make a global array or make a class MyArray which will handle all needed operation for u. either u can go for making global object of that class or u can declare static... |
Forum: Java Feb 6th, 2008 |
| Replies: 9 Views: 777 either define a global variable count
or pass it to the recursive function by defining it global
or make a separate class who will take care of counter where counter will be static member... |
Forum: Java Feb 5th, 2008 |
| Replies: 4 Views: 3,202 Hi
try this:
http://www.cut-the-knot.org/Curriculum/Combinatorics/JohnsonTrotter.shtml
http://www.merriampark.com/perm.htm
http://home.att.net/~srschmitt/script_permutations.html |