Amit kumar

Greenhorn
+ Follow
since May 09, 2003
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 Amit kumar

HI to all,

i wish to display the values from the table through BooleanCheckBox in the form,
but i am not able to do it......
16 years ago
JSF
Where i am going wrong???


this exception i am getting
i am placing the output
this is am receiving from my code



but with suggestion
i am getting type mismatch error,
16 years ago
Thanks and Sorry,

none of the above suggestion provided the output.

infact they are giving compile time error
16 years ago
hi Thanks for replying

what i wish to do is that i have created a seperate class .
--------------------------------------------------------------------------

-----------------------------------------------------------------------
i want to use the above to insert the values into the ArrayList
but not able to...............
-------------------------------------------------------------------------


Please guide to achieve this
as while running i am getting the hashcode.
[ August 16, 2007: Message edited by: Amit kumar ]
16 years ago
how to insert class objects into ArrayList,HashSet either of there,

please explain too....

Thanks
16 years ago
Overriding::
if want to know first understand what exactly is overriding
executing a method which you wish on account of a method which has been defined in the super class.
As you must be knowing that to implement overriding concept we need to inherit the class
the method defined in the subclass has the same signature as that in the super class, the subclass method overrides the superclass method

/*Here we have a class overRidingOne with a method display.
* we want to display the output according to our requirement.
*/
class overRidingOne
{
private int i,j;
overRidingOne(int a, int b)
{
i = a;
j = b;
}
void display()
{
System.out.println("i and j " + i + j);
}

}
/*the class overRidingTwo is extended to implement the display function of the super class i.e. overRidingOne*/

class overRidingTwo extends overRidingOne
{
private int k;
overRidingTwo( int a, int b,int c) //constructor to accept the values
{
super(a,b); //value of a&b are passed to the super class constructor
k = c;
}
/* as we want to implement the overriding attribute, so we need to declare the method with same return type, same name and same parameters.
*/
//this display will override the display method of overRidingOne class
void display()
{
System.out.println("k " + k);
}


}
public class OverRiding {

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
// instantiating the overRidingTwo class and assigning the values
overRidingTwo overObj = new overRidingTwo(5,6,7);
/* calling display method which will override the display of overRidingOne and provide the output of overRidingTwo*/

overObj.display();

}

}


Hope this helps to clear the doubt
could any1 plz help me to link 2 applets 2gether.
i had created 2 seperate applet.
suppose 1&2.
i is main applet.
2 i had made it a package.
i am calling 2 through click event. by making an object of it.
but not able to view.
20 years ago
have developed a web applet in java.
here i have created a table using swing package
through
[JTable table3 = new JTable(TestcolHeads);]
do i need to create object for the table to enter the values in database
what i am trying to do is that i have created a table which automaticaly generates serial no.
when user enters data through front-end i want his data to be store in file format on the name of the serial no which he is entering the data.
eg:= when he executes the applet and enters the value, at that time if the serial no is 2 then what he has entered should be stored in a file names 2.
i want to create a file with name that is the value of a particular field
i wish to povide the tool tip help to lablel
but unable to write
20 years ago
i am writing the data from the java designed frontend to the file. the front end is composed of several form.
i willing to write data to the file at completion of every form(means when the user presses done button then evey data of the form should be written to the file);
i am creating it but every time it is over writing the existing data.
please help
20 years ago
thanks for your help it provided some better option to me
20 years ago
i have developed a web applet in java.
here i have created a table using swing package
through
[JTable table3 = new JTable(TestcolHeads);]
when user enters the data in the table.
i want to enter the data to database table.
can anyone help me to write a query to enter the values