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
~660 People Reached
Favorite Forums
Favorite Tags
Member Avatar for Chua_1

I am trying to create a quiz whereby user will key in their answer in a textfield. If the answer the user keys in matches with the answer in the array, the score will increase. However my $answer only returns the last value the user entered which does not allow …

Member Avatar for fearless359
0
232
Member Avatar for Chua_1

I am trying to get the text entered from jtf3 and jtf4 to show in the Message Dialog str1 and str2. Error states that the symbol fot str1 and str2 cannot be found. Please advice. class ChuaWeiheng extends JFrame { private final JLabel jl, jl1, jl2, jl3, jlimage; private final …

Member Avatar for JamesCherrill
0
112
Member Avatar for Chua_1

I am trying to sort my array to print it out according to the suits e.g. S10, S6, H11, C4, D10 etc. I have tried adding Arrays.sort but it doesnt work. Please advice. private void transfer2D(String[][] twoD, String[] strArray) { int i = 0; for( int suit = 0; suit …

Member Avatar for JamesCherrill
0
114
Member Avatar for Chua_1

I am trying to get my private void transfer method and pass it into a 2D array transfer2D method, after which I am able to print it out using the print2D_1 method. I am also trying to sort the array from the highest suit to the lowest suit followed by …

Member Avatar for JamesCherrill
0
202