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 #2K
~16.1K People Reached
Favorite Forums

11 Posted Topics

Member Avatar for skimmpy

Since you cannot use split and StringTokenizer, one way is to check one by one of each character from the string if there are any delimiter, put the words inside an array, and then reverse them.

Member Avatar for stultuske
0
5K
Member Avatar for cecsFTL

[QUOTE=cecsFTL;1690683]Does anyone know how do i make the program pick a number between 100-999 instead of 0-999?[/QUOTE] 100 + random.nextInt(900)

Member Avatar for JamesCherrill
0
2K
Member Avatar for nchy13
Member Avatar for yoshio5908
Member Avatar for c.uetn

You can also use JLabel as the button and then add MouseListener to it.

Member Avatar for c.uetn
0
520
Member Avatar for TigerTeck
Member Avatar for leodash
-1
168
Member Avatar for dsoto

I don't know if it affects much but at line 41 in your Student class should be assigned to HealthCare variable. I'll try to look for more error.

Member Avatar for leodash
0
4K
Member Avatar for dennysimon

My suggestion: 1. Add ActionListener to textField. 2. When actionPerformed(), move the cursor to textArea using textArea.grabFocus(). 3. If you want to place the cursor at the end of the text of textArea, use select() method.

Member Avatar for dennysimon
0
194
Member Avatar for sike.mausa

As the compiler stated, you must return a data of type double for your getAverage() method at line 46. If you do not want to return any value, just change to public static [B]void[/B] getAverage() but that does not meet the purpose of creating accessor method if it does not …

Member Avatar for sike.mausa
0
623
Member Avatar for subone

Just use if else statement. EDIT: Sorry, my bad. I thought you want an input that is less than 5(1 digit). Here is my suggestion: 1. Take the input as string. 2. Check the length of it. 3. If it is less than 5, convert it into integer, and then …

Member Avatar for JamesCherrill
0
3K
Member Avatar for leodash

I've been knowing about this site long time ago, yet I didn't even registered, just become a silent reader. Now I decided to register just for fun, and hopefully I could learn a lots of things here and able to contribute something to the community.

0
43

The End.