Forum: Java Oct 16th, 2009 |
| Replies: 11 Views: 367 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 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 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 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 yes i did it with the startup batch file through console(dos prompt) thanks |
Forum: JSP Oct 9th, 2009 |
| Replies: 6 Views: 571 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 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 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 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 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 quite good..checking..may need ur help even then:( |
Forum: JavaScript / DHTML / AJAX Sep 25th, 2009 |
| Replies: 12 Views: 332 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 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 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 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 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 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 the use is like this
if ((a % num2 ==0)&&(a%num1==0)) |
Forum: Java Sep 12th, 2009 |
| Replies: 3 Views: 1,159 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 Views: 240 have u got the correct output.. if yes..good |
Forum: Java Sep 12th, 2009 |
| Replies: 7 Views: 240 u have to write a function to convert 3.99999 into 4 .Thats ur job now |
Forum: Java Sep 12th, 2009 |
| Replies: 7 Views: 240 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 Views: 240 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 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 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 I got that.I'll try and let u know |
Forum: Java Sep 4th, 2009 |
| Replies: 19 Views: 452 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 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 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 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 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 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 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 Views: 424 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 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 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 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 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 use two fors for sort i=0 to n-1 j=i+1 to n |
Forum: Java Sep 2nd, 2009 |
| Replies: 23 Views: 678 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... |