srijan sharma

Ranch Hand
+ Follow
since Jan 24, 2001
Merit badge: grant badges
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 srijan sharma

Thanks kyle
But i have tried with this before and it gaves a null pointer exception and does not work.
regards
srijan
19 years ago
Hi all,
I am using a Jdesktoppane and i want when an action event is fired a JInternalFrame opens up on the top in such a way that the new frame(Jinternalframe) is maximized as soon as it comes up.Kindly help
regards
srijan
19 years ago
Thanks for the reply but the problem is i cannot use both maskformatter and a formatter on text field together.I mean when i make a textfield for decimal numbers it i need to use decimal format from numberformat which i need to set precision or other properties.So if i use decimal format with JFormattedtextfield then i cannot use a mask formatter as if set it using setFormatterfactory it does not show the desired effect as two things dunno work together.hope i made myself clear
19 years ago
Hi all,
I am using a JFormattedTextfield and setting a Format with the constructor.
my problem is i want to limit the charcters in my field too.I can limit the characters using JTexfield when i dunno use a JFormattedTextfield .I would like to get help that how should i limit number of charcters in a JFormattedTextfield.
regards
srijan
19 years ago
hi all,
i am not planning to write my j.c.p exam after buying the vouchers.anybody wanting to write the exam till january end
2002 is welcome to buy vouchers from me since they are expiring on jan 31 2002.i am in delhi ,india and they are valid all over india at any prometric center.i have put them for 5500rs
i will send them to u thru courier or post
regards
srijan
hi,
ya manish,since they have not been issued in my name from sun till now.i have paid the money to a institute who will
issue the sun voucher when i demand.so thats not a problem
srijan
hi,
anyone from chennai can have vouchers for scjp from me at a cheaper price,as i am not writing the exam
regards
srijan
hi,
anyone wants to have vouchers at lower price can conatct me
as i am not writing the exam after purchasing the vouchers.
preferably person should be in chennai
regards
srijan
hi
thanks for the reply. but is that true that the exam would be having a question on shift operators or byte operators.
also do we need to do and ,or xor operation for the exam.
i am planning to appear for the exam in july
regards
srijan
hi all,
there is a small piece of code
byte b = -4;
b=(byte)(b>>>2)
i fail to undestand that can shift operators be applied on byte type and how the output will come???

thanks in advance
srijan
hi,
i got the voucher for rs6975..
it has not been reduced nor it is increasing
srijan
hi all ranchers,
just have a look at the code
though it has been discussed before i could not get it..
the output is 10,0,20
but i feel it should be 10,0,10
as once refernce is being lost how it can have the old value
pl. guide
thanks in advance
class ValHold{
public int i = 10;
}
public class ObParm{
public static void main(String argv[]){
ObParm o = new ObParm();
o.amethod();
}
public void amethod(){
int i=99;
ValHold v = new ValHold();
v.i=30;
//System.out.println("Before another = "+ v.i);
another(v,i);
System.out.println("After another = "+ v.i);
}//End of amethod
public void another(ValHold v,int i){
i=0;
v.i = 20;
ValHold vh=new ValHold();
System.out.println("vh.i ="+vh.i);
v=vh;
System.out.println(v.i+" "+i);
}//End of another
}

regards
srijan
hi all ranchers,
just have a look at the code
though it has been discussed before i could not get it..
the output is 10,0,20
but i feel it should be 10,0,10
as once refernce is being lost how it can have the old value
pl. guide
thanks in advance
class ValHold{
public int i = 10;
}
public class ObParm{
public static void main(String argv[]){
ObParm o = new ObParm();
o.amethod();
}
public void amethod(){
int i=99;
ValHold v = new ValHold();
v.i=30;
//System.out.println("Before another = "+ v.i);
another(v,i);
System.out.println("After another = "+ v.i);
}//End of amethod
public void another(ValHold v,int i){
i=0;
v.i = 20;
ValHold vh=new ValHold();
System.out.println("vh.i ="+vh.i);
v=vh;
System.out.println(v.i+" "+i);
}//End of another
}

regards
srijan
21 years ago
thanks all for valuable suggestions but i would also
like to know which topics require mugging up and is
it required to mug up signatures of methods and constructors..\
regards
srijan
21 years ago