Ammy Singh

Ranch Hand
+ Follow
since Oct 17, 2008
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
4
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ammy Singh

August Lammersdorf wrote:Have a look here:

- Java 3D Programming, Daniel Selman : http://www.manning.com/selman/
- Killer Game Programming in Java, Andrew Davison : http://fivedots.coe.psu.ac.th/~ad/jg/
- Java 3D Books : http://wiki.java.net/bin/view/Javadesktop/Java3DBooks



Thanks August
12 years ago
Hi All, Greeting

I recently appeared for an interview for Java programmer. I was asked few questions as:
1> how java is a secure language as compare to c/c++ ?
2> Can java byte-code be decompile to the source code, if yes how can we avoid it ?

Please explain these questions. Thanks
12 years ago
Jesper de Jong thanks I have downloaded the files, i will try setting up the environment variables.
12 years ago

Tim Moores wrote:Java3D is dead; OpenGL and JOGL are the way to go: http://jogamp.org/jogl/www/



Thanks Tim for your suggestion of going with JOGL, i read about it, but seriously i do not know where to find its download and how to install it on Windows Vista, please help me man, thanks

12 years ago

Hi everyone, I am new with Java 3D, so can anyone please suggest me some good books to learn Java 3D. Thanks

12 years ago
Dear all i am new in the field of java web application, i am looking to write a program that allows a user of a web application to create new user account. what steps do i need to take for adding the new user in the database and add add encrypted password in database .
Please help, thanks in advance .
12 years ago

ok, i made few changes in the logic to erase the previous image plus some additional functionality to revert the ball back to its original position and it worked thanks for helping guys.
Dear Rob Spoor will you please help me how can i do this by using javax.swing.Timer instead of sleep() methd. thanks


Hear is the code:

12 years ago
Thanks for your reply Jesper de Jong

Rob Spoor, thanks for your help . I inserted super.paint(g) as first statement in for loop, it is making the old image disapear but only afetr for loop executes four times , i want to see only one image at one time , further help would be appreciated and thanks for suggesting javax.swing.Timer, i would try it.
12 years ago

Dear all i am trying to write a java program to move ball in Applet. i have written the code as following, its moving the ball but the behaviors is not as i want . There should only be one ball appearing. Thanks in advance.



12 years ago
Greetings I am trying to apply ActionListener Interface to a small swing based application. I have a cancel button, all i want is that when cancel button is hit the application should exit. i have used
Method for making the cancel button affective.

But i am getting the following error:


here is the complete code


Please help
13 years ago

Campbell Ritchie wrote:Too difficult a question for "beginning Java". Moving thread.



ok thank you next time i will take care about which thread to select.
if this is the case,then why get2() of Child class is being called and not of Parent ?

THen output should be

Parent get1 Parent get2



I am chnaging Child.get() to
to

Child ch = new Child();
ch.get();


Here we are calling get() on the instance of Child class which has its own get2(), so it prefers its own method and override it and not the one in parent class. If you remove the get2() in Child class then it will access the get2() of Parent.
as in following code


or you can access it on the instance of Parent class as:

Ram Narayan.M wrote:Port address is already in use...



Ok its fine that the port address is already in use, but how can i find an unused port, and note that i am running the program on a standalone server.

Campbell Ritchie wrote:And which line is the Exception thrown from?


The exception is trown at following:

and



And the console result is as : Not a priveleged Userjava.net.BindException: Address already in use: JVM_Bind
Exception in thread "main" java.lang.NullPointerException
at ServerSide.main(ServerSide.java:22)