Search Results

Showing results 1 to 36 of 36
Search took 0.01 seconds.
Search: Posts Made By: DangerDev ; Forum: Java and child forums
Forum: Java Aug 12th, 2009
Replies: 4
Views: 304
Posted By DangerDev
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
Posted By DangerDev
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
Posted By DangerDev
try for your self.
if you face problem while trying post here.
Forum: Java Aug 5th, 2009
Replies: 3
Views: 420
Posted By DangerDev
use class for this.
store all the info in class.
store class in to array.
Forum: Java Aug 3rd, 2009
Replies: 1
Views: 187
Posted By DangerDev
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
Posted By DangerDev
i think .jar will be good option
Forum: Java Feb 25th, 2008
Replies: 12
Solved: Output Problem
Views: 1,400
Posted By DangerDev
use array to store the result, and at last show the result.
Forum: Java Feb 22nd, 2008
Replies: 1
Views: 429
Posted By DangerDev
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
Posted By DangerDev
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
Posted By DangerDev
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
Posted By DangerDev
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
Posted By DangerDev
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
Posted By DangerDev
run server socket in separate thread.
Forum: Java Feb 15th, 2008
Replies: 4
Views: 2,776
Posted By DangerDev
loop through the array and get sum after that get average.
Forum: Java Feb 15th, 2008
Replies: 7
Views: 1,623
Posted By DangerDev
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
Posted By DangerDev
Forum: Java Feb 15th, 2008
Replies: 5
Views: 984
Posted By DangerDev
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
Posted By DangerDev
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
Posted By DangerDev
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
Posted By DangerDev
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
Posted By DangerDev
Forum: Java Feb 13th, 2008
Replies: 1
Views: 2,015
Posted By DangerDev
run both as separate project and separate program.
but run server before running client.
Forum: Java Feb 13th, 2008
Replies: 4
Views: 675
Posted By DangerDev
try this (http://www.webreference.com/programming/javascript/ncz/)
Forum: Java Feb 13th, 2008
Replies: 1
Views: 446
Posted By DangerDev
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
Posted By DangerDev
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
Posted By DangerDev
go for java media framework
Forum: Java Feb 7th, 2008
Replies: 4
Views: 1,135
Posted By DangerDev
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
Posted By DangerDev
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
Posted By DangerDev
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
Posted By DangerDev
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
Posted By DangerDev
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
Posted By DangerDev
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
Posted By DangerDev
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
Posted By DangerDev
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
Posted By DangerDev
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
Posted By DangerDev
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
Showing results 1 to 36 of 36

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC