Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags

6 Posted Topics

Member Avatar for jiten_raulo

I seen something rather interesting about a month ago about cross compiling open source software that can take a java class file decompile it and then recompiling it in a foreign language specifically Objective C which is the language that iphone runs on. Found it [URL="http://www.xmlvm.org/overview/"]http://www.xmlvm.org/overview/[/URL] there's also a vid …

Member Avatar for masijade
0
221
Member Avatar for bsewell

I believe it's because you never initialise your array. Try replacing lines 26 - 28 in your hearts class with this: [CODE=JAVA] deck[i] = new Card("d", i); [/CODE]

Member Avatar for armsracer
0
128
Member Avatar for pateldeep454

What you could do is take your input one letter at a time. Compare it in a loop to you alphabet. When a letter matches you increment your alphabet index by 13 and append that letter to your output variable. Be careful of index out of bounds exceptions which can …

Member Avatar for pateldeep454
0
903
Member Avatar for tariq1081

You could use a java.text.DecimalFormat object to help format your integer into a string with 3 decimal places. [CODE=JAVA] java.text.DecimalFormat threePlaces = new java.text.DecimalFormat("000"); strNN = threePlaces.Format(n) + threePlaces.Format(n); [/CODE]

Member Avatar for armsracer
0
113
Member Avatar for memo1

On lines 19 what you want to do is (seconds%3600)/60. On line 21 you want (seconds%3600)%60. Int or float it doesn't matter because integer devision rounds down.

Member Avatar for armsracer
0
107
Member Avatar for armsracer

I am making a calendar planner applet. When the user clicks on a date it displays a menu of the different activities that can be performed. Then when the user makes their decision for the activity the calendar is displayed again this time with an updated icon for that date. …

0
61

The End.