Search Results

Showing results 1 to 40 of 99
Search took 0.01 seconds.
Search: Posts Made By: akulkarni
Forum: Java Oct 16th, 2009
Replies: 11
Views: 367
Posted By akulkarni
i did not get that..was that a link? just tell me how i can include both swings and jdbc classes in one program..sorry i have lost touch a bit
Forum: Java Oct 16th, 2009
Replies: 11
Views: 367
Posted By akulkarni
Can u please get me clear with how i should configure events like the button clicked and also how do i write two classes ..i mean one for swing and other for jdbc.May be a bad question for my level...
Forum: Java Oct 16th, 2009
Replies: 11
Views: 367
Posted By akulkarni
The question i have is: Create a java application which will add, modify,delete records from employee database.The database has 3 fields emp_id, empname and department location.All information...
Forum: Java Oct 16th, 2009
Replies: 11
Views: 367
Posted By akulkarni
I wish to create an application using swing to update data to the database. I will need three buttons add, modify and delete.
i have so far created JDBC connection with Ms acess. i have also created...
Forum: JSP Oct 14th, 2009
Replies: 6
Views: 571
Posted By akulkarni
yes i did it with the startup batch file through console(dos prompt) thanks
Forum: JSP Oct 9th, 2009
Replies: 6
Views: 571
Posted By akulkarni
i couldnt start the server...i tried using commands in dos like.."tomcat start".The url i used was http://localhost:8080/
Forum: JSP Oct 8th, 2009
Replies: 6
Views: 571
Posted By akulkarni
i am trying to learn servlets so i downloaded tomcat server.I learned that i have to do this...set path=c:\tomcat\lib\servlet.jar
or click the exe file tomcat6 in the bin folder. I tried to connect...
Forum: JavaScript / DHTML / AJAX Sep 25th, 2009
Replies: 12
Views: 332
Posted By akulkarni
Dear codeLion,

u gave me the solution thanks. But i might need such things regularly. I had shown u a link in which all this was there but i could not understand.Can u tell me how generally i can...
Forum: JavaScript / DHTML / AJAX Sep 25th, 2009
Replies: 12
Views: 332
Posted By akulkarni
ok i will go through it in a relax mood now that i know the format.
thanks anyways i will need it
Forum: JavaScript / DHTML / AJAX Sep 25th, 2009
Replies: 12
Views: 332
Posted By akulkarni
i tried the program using this


<html>
<body>

<script type="text/javascript">
var patt1=new RegExp("@","!");// or even just @
Forum: JavaScript / DHTML / AJAX Sep 25th, 2009
Replies: 12
Views: 332
Posted By akulkarni
quite good..checking..may need ur help even then:(
Forum: JavaScript / DHTML / AJAX Sep 25th, 2009
Replies: 12
Views: 332
Posted By akulkarni
i saw this on http://docs.sun.com/source/816-6409-10/ but not working. I have to allow a username that will not contain special charachters that is only alphabets and numbers are allowed. here is the...
Forum: JavaScript / DHTML / AJAX Sep 25th, 2009
Replies: 12
Views: 332
Posted By akulkarni
thanks dude. i had little resources available with me. hope to be in touch with you that friend might come up with more doubts
Forum: JavaScript / DHTML / AJAX Sep 25th, 2009
Replies: 12
Views: 332
Posted By akulkarni
i am trying to help a friend on a program on client side scripting using javascript.
i have the following code but i am not getting the output desired.


<html>
<head>
<Script...
Forum: Java Sep 17th, 2009
Replies: 9
Views: 3,177
Posted By akulkarni
ya i did think of using string ; with for i found it tough.i thought i could get with it with for loops but i failed.
Forum: Java Sep 16th, 2009
Replies: 9
Views: 3,177
Posted By akulkarni
ok. I have solved your "0" problem


class newbie
{
public static void main(String args[])
{
int i,j;
for(i=0;i<6;i++)
{
Forum: Java Sep 13th, 2009
Replies: 3
Views: 1,159
Posted By akulkarni
u r welcome.i have no idea how u got it. But the method i have given can sort any number of numbers. If ur program is doing that..good
Forum: Java Sep 12th, 2009
Replies: 2
Views: 234
Posted By akulkarni
the use is like this


if ((a % num2 ==0)&&(a%num1==0))
Forum: Java Sep 12th, 2009
Replies: 3
Views: 1,159
Posted By akulkarni
use an array and do bubble sort..like this



for(i=0;i<totalnumbers-1;i++)
{
for(j=i+1;j<totalnumbers;j++)
{
if(array[i]>array[j]
{
Forum: Java Sep 12th, 2009
Replies: 7
Solved: Total Cubes
Views: 240
Posted By akulkarni
have u got the correct output.. if yes..good
Forum: Java Sep 12th, 2009
Replies: 7
Solved: Total Cubes
Views: 240
Posted By akulkarni
u have to write a function to convert 3.99999 into 4 .Thats ur job now
Forum: Java Sep 12th, 2009
Replies: 7
Solved: Total Cubes
Views: 240
Posted By akulkarni
i read in wikipedia and found 4 cube 64 is not a cube the list is 8,27,125 ...many others are giving a decimal values
this is how i counted the standard cubes upto 126


class cubes
{
public...
Forum: Java Sep 12th, 2009
Replies: 7
Solved: Total Cubes
Views: 240
Posted By akulkarni
Check out this Math.pow(8,1.0/3.0) does not give value 2.
use like this Math.pow(8,1.0/3).

sorry it gives i am working on it.....
Forum: C Sep 8th, 2009
Replies: 20
Views: 885
Posted By akulkarni
is it "a1","b1" ,"c1" or "a1,b1,c1"?
It is a simple concept of array if u have to compare every value u have to give both the entities an index ..[max_length].U have to modify accordingly if the two...
Forum: C Sep 4th, 2009
Replies: 20
Views: 885
Posted By akulkarni
If u say append_test_data is a String array i dont find an index append_test_data[index] while comparing?
Forum: Java Sep 4th, 2009
Replies: 23
Views: 678
Posted By akulkarni
I got that.I'll try and let u know
Forum: Java Sep 4th, 2009
Replies: 19
Views: 452
Posted By akulkarni
is this it?(sorry if not)


class searche2
{
public static void main(String args[])
{
int result=0;
String []mylist= {"tangerine","apple","blueberry","mango","jicama"};
...
Forum: Java Sep 3rd, 2009
Replies: 19
Views: 452
Posted By akulkarni
or is this what u want


class searche1
{
public static void main(String args[])
{
int result=0;int i,j;
String [] str={"tangerline","apple","mango","lime","carrot"};
...
Forum: Java Sep 3rd, 2009
Replies: 23
Views: 678
Posted By akulkarni
ok.thanks.

I am planing to use the getrandom method to generate random numbers upto 20 and put a switch case statement with different strings for each number. i also need to add 3 levels to the...
Forum: Java Sep 3rd, 2009
Replies: 19
Views: 452
Posted By akulkarni
i am not clear with what u want. You have taken a list of strings ...what do u want to do with them ..please be specific..match the words (with matching position of e?) is that what u want?
Forum: Java Sep 3rd, 2009
Replies: 7
Views: 388
Posted By akulkarni
import java.util.Scanner;
public class listProduct {
public static void main (String[] args){

int productChoice;{
Scanner scanAnything = new Scanner(System.in);
System.out.print("Processed...
Forum: Java Sep 3rd, 2009
Replies: 23
Views: 678
Posted By akulkarni
yes i was actually noticing it.It was a typo i guess.

is this ok now

import java.io.*;
class bullstest2
{
public static void main(String args[])throws

IOException
Forum: Java Sep 3rd, 2009
Replies: 19
Views: 452
Posted By akulkarni
check this out



class searche
{
public static void main(String args[])
{
String s1="tangerine";
int d=s1.length();
Forum: Python Sep 3rd, 2009
Replies: 6
Solved: Beginners help!
Views: 424
Posted By akulkarni
i find (as far as i saw) u need a change after a comma(,).We will read the file character by character .When we encounter a comma we will go back and print the word..'word',n..something like this
Forum: Java Sep 3rd, 2009
Replies: 7
Views: 388
Posted By akulkarni
Here is how i can explain loop within a loop(nested loop)


for(int i=0;i<4;i++)
{
for(int j=0;j<4;j++)
{
......
}
}
Forum: Java Sep 3rd, 2009
Replies: 23
Views: 678
Posted By akulkarni
Dear Vernon,

I hope u will kindly accept my thanks with a reply. I did the program just as u told. It was great. I wonder how u could think of such good string manipulation.Anyways, hope to be in...
Forum: Java Sep 2nd, 2009
Replies: 2
Views: 218
Posted By akulkarni
i think u will need a Jframe for the dialog box , a button and an action listener. U have ignored event handling functions


frame = new JFrame("Show Message Dialog");
JButton button = new...
Forum: Java Sep 2nd, 2009
Replies: 23
Views: 678
Posted By akulkarni
Yes i think i can do that. Thats quite smart.I will post the program as soon as possible.

thanks
Forum: C Sep 2nd, 2009
Replies: 2
Views: 291
Posted By akulkarni
use two fors for sort i=0 to n-1 j=i+1 to n
Forum: Java Sep 2nd, 2009
Replies: 23
Views: 678
Posted By akulkarni
for now i have given the user a condition that he shouldnt repeat letters in his guess.I checked in wikipedia about the game and i saw that the condition is ok

I did on paper but it looks tough.Do...
Showing results 1 to 40 of 99

 


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

©2003 - 2009 DaniWeb® LLC