No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I have this section of code that keeps giving a vector subscript out of range error, but I cant figure out why. the vector is defined as [CODE]vector< vector<double> > distance;[/code] for the test I am doing, point->size() = 3, and through the debugger I have verified that the matrix … |
|
delete this, solved, had to do with how a variable was declared |
|
I have a project set up using a JLayeredPane with a number of JLabel objects. Some are gray images, and others are images of cards. The cards are drag-able, but I'm trying to make them so they can only be dropped onto the blank spots, if its not one of … |
|
I have a drag-able JLabel that I'm trying to set that object to be above all other JLabel objects when its dragged. The only method I can find that sets the order is setComponentZOrder(Component,int)' But when I Try to use it, I get a large amount of errors printed to … |
|
I am having trouble making use of a MouseMotionListener to make some card images be able to be dragged around the screen. What this program does is show a table of cards in a random order. The user will be able to drag any of the card images and move … |