This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Cloud Application Architecture Patterns: Designing, Building, and Modernizing for the Cloud and have Kyle Brown, Bobby Woolf and Joseph Yodor on-line!
See this thread for details.

sonny kher

Ranch Hand
+ Follow
since Nov 06, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by sonny kher

I have a start method that looks something like this
void start(){

LayeredPane lp = new JLayeredPane();
lp.setvisible(true);
add(lp)
Graphics g = lp.getGraphics();
g.drawString("check", 20, 20);
}

This throws a NullPointerException, any action on lp.getGraphics returns a NullPointerException. I don't know why this is happening.
If I put the drawString inside paint(Graphics g)
everything else disappears and only the String shows.
22 years ago
what Classpath does the appletviewer use? i can compile the applet without a problem but I get NoClassDef (for one of the packages I'm importing) error when I run it in the appletviewer.
Funny part is if I put a main method inside and run it with java myClass, it is able to find and import those packages just not with appletviewer. Any suggestions?
-sonny
22 years ago
Hey , I work for GM in Detroit and we have an opening for a database developer in my group. If you are still looking send me a resume and I will forward it to my manager. My email is sonny_kher@hotmail
PS: MS is a MUST for this position
22 years ago
I was reviewing the demo questions at cert21.com and some of the questions seem like they are not part of the actual test objective. There are questions on
1. Tablespace
2. Datafile
3. Drop function command
Are these topics part of the real test?
-sonny
22 years ago
when I try to pipe output from a build file to less or to a file, it doens't always catch everything. Why so?
ant > tempFile only writes like a couple of lines when the screen stdout sees like 50
22 years ago
can I have two different versions of Java live on the same box and depending on the path settings for a user, use one over the other?
Because I don't see any common files, has anyone tried doing it. The Sun download site clearly says "Uninstall the previous version before installing the new version"
22 years ago
you are better of using a custom API for this. I did a similar application recently and to get binary data I used
this API
Check it out its pretty simple and cuts down on a lot of work you'd have to do otherwise.
-sonny
22 years ago
let me know if you don't understand any of this, its pretty straight forward really
22 years ago
people stop bitching. How come when you guys(americans) have so much and still every little thing seems to bother you?
THese are tough times and if you have friends who are unemployed its not because India took all the work away, its coz the domestic job market sucks.
I'll give you an example, Wipro is the biggest software comapany in India (i think) and the CEO of that company briefly had his personal fortune at $35 billion back in 2000 when he became the second richest man in the world. I am not sure, but I bet he is sitting at less than 10 billion now. So with ALL the outsourcing work that his company is getting, do you think the dude is happier now? or would he rather see it go back to the way it was. Ofcourse I'm not implying that it will....anytime soon.
22 years ago
Well the only thing that still makes me run Windows (I like the XP interface, tho still hate windows as a OS...whoever said XP doesn't crash as often must be crazy, that thing is like a house of cards, Windows Explorer and Media Player crash every 15 minutes or so and I've updated everything theere was to update). So why do I still use it?
File sharing for one, I think only Limewire is avaialable for linux (correct me if I'm wrong) and I like to mix music and I haven't stumbled upon something for linux. Any clues, I'd just love to dump XP and move to a linux distro....
22 years ago
perfect, thanks rene
one more thing. how do I start the oracle control center in unix/linux (thats whats its called right)
22 years ago
how do you edit the last command in sql* under unix? when i do ed i get into a mode that i can't get out of. How does it work, its a bitch since most of the del/backspace keys aren't working for me.
22 years ago
Congratulations John, I'm happy for you. Someday I hope to see the light at the end of the tunnel too...
Sometimes, I think a lot is made out of the uneven job market, you see ppl bitching on how they can't find a job and then they never come back to post when they DO find one. So if you read through the posts here or anywhere else on the net you tend to think that its worse than it really is out there. But I am NOT going to lose hope, I guess in times like this you tend to be more alert on how updated your skillset is and thats what it really is about for some of us isn't it? Hell all I ever wanted to do was code, and nobody is taking that away from me...just yet ...lol
22 years ago
If I were to return a boolean value from a method, and this value is false in case there is an exception thrown in the method(that is being called) how do i do it?
public boolean methodA(){
try{
...
}catch(Exception e){}
return true;
}
will this automatically return false when there is an exception inside the try...catch block?
[ October 21, 2002: Message edited by: sonny kher ]
22 years ago
Excellent strategy John.
There is a whole graduating class that could use this information. Job market is really tight, campus recruitment is slowest I've seen in years. Two years ago even a Freshman could find a paid internship position, now some of my friends are thinking of taking up unpaid positions after they graduate. There are companies that schedule interviews and the next day you get to read in the paper that the same company is laying of X number of employees. But then again there are jobs out there...I guess being positive and really going for it is all you can do...and hence the saying "when the going gets tough....
Do you think things might get better in a hurry? they sure went down south in a relatively short time....
[ October 20, 2002: Message edited by: sonny kher ]
22 years ago