Dipu Krishnankutty

Greenhorn
+ Follow
since Oct 16, 2000
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 Dipu Krishnankutty

u can call an inner class only from within a class.but not from outside the class.
23 years ago
An applet can send e-mail via appletviewer but not through browser due to browser restriction.the same is the case with attachments.
23 years ago
[AbstractClass] b1;
This is just making a referance of the abstract class.There is no wrong in it.
b1=new [AbstractClass] ;
This statement initialises the Abstract class which is not permitted for it.
But suppose a class extends this class and overrides all its method(concrete class)the an abstract class can be to referance the sub class by the property of dynamic bynding.
23 years ago
compilation error in the program may be due to the following
1.not importing the io package.
2.not trying to catch an exception.
it is always preferable to do the stream operations with exception handling.
23 years ago
i didn't get the plain text field class.
The for the tooltip problem it will work only with the light weight swing components.
23 years ago
== is used to check the equality relation of premitive data types.like int,char,float etc.
.equals()is used to check the comparison of derived objects.
String can use both == and .equals(),but not in all casses.
23 years ago
while doing a java application program i would like to know how to give an output to the system to clear the screen.
23 years ago
RMI
A RMI program works fine with an applet in the client side in appletviewer.But when working with a IE browser directly it doesn't work.why?
When working with an Netscape browser through a webserver it works,but fails when working the same with IE.why?
23 years ago
Ur suggestion that "heavy weight components r developed in native os",but i think all the java packages r written in java itself.only the jvm(interpreter) is written in c++.
23 years ago
The solution seems to be good.
But what i would think better would be to take the number as a String.use the String.charAt(i)
eg:
String s=t1.getText();
int sum=0;
for(int i=0;i<s.length(;i++)>
{
sum+=Integer.parseInt(s.charAt(i));
}
t2.setString(Integer.toString(sum));
23 years ago