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
~175 People Reached
Favorite Forums
Favorite Tags
java x 2
Member Avatar for peanutmeister

I don't know what's wrong with the following code. I keep getting the error: ']' expected Why can't I use boardsquare[k] and set it equal it to a graphic? What am I doing wrong? Thank you so much for your time and suggestions! [code] int k = 9; Piece[] boardSquare …

Member Avatar for verruckt24
0
81
Member Avatar for peanutmeister

I am having a problem with my code (see below). The problem is with the line whitePiece[0].setX(boardSquare[j].getX); and the one below it (towards the bottom). Can't I use whitePiece[] and boardSquare[j] as variables? I can't figure out how to write this any other way. boardSquare is a variable from another …

Member Avatar for BestJewSinceJC
0
94