Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #72.8K
~2K People Reached
Favorite Forums
Favorite Tags
java x 2

2 Posted Topics

Member Avatar for shiv0013

This is a fairly common mistake with arrays in Java. The line R obj[] = new R[100]; creates an array to hold objects of type R. However, no actual objects of type R are created yet. You need some code such as [code] for(int i=0; i<100; i++) obj[i] = new …

Member Avatar for PersonalIT
0
1K
Member Avatar for conspiracy_dawg

To have a mouseDown procedure, one must implement a MouseListener interface (in java.awt.event). mouseDrag is similarly implemented via a MouseMotionListener, also in java.awt.event. However, to have the ability to both detect clicks and movement (quite helpful, really), one must use a different interface. include javax.swing.event.MouseInputListener [URL="http://java.sun.com/javase/7/docs/api/javax/swing/event/MouseInputListener.html"](details here)[/URL] Note that this …

Member Avatar for PersonalIT
0
476

The End.