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
~8K People Reached
Favorite Forums

9 Posted Topics

Member Avatar for B33FALO

Simply implement the KeyboardListener. There is a lot of information on how to use this all over the internet.

Member Avatar for server_crash
0
7K
Member Avatar for dreyes67

sorry if this sounds harsh, it's not - from what I can tell, this isn't at all what you need your program to do. Right now, from the code in your last message, what happens is you click on the command button (clock), attempt to set the interval property of …

Member Avatar for dreyes67
0
200
Member Avatar for mcclth

Hi everyone I've been working on developing a web browser in VB6 similar in capability to IE and I would like to set it as the default browser. I have been unsuccessful in finding any way to A) change the default browser to mine with the program itself [the way …

Member Avatar for Comatose
0
171
Member Avatar for matt_5104

here's a site detailing changing the mouse cursor. [url]http://www.devdaily.com/java/edu/pj/pj_hourglass_cursor/[/url] just substitute whatever cursor you want it to be (there's a list down the page a bit of the cursor constants) in the code. I would recommend you then implement MouseListener to check that the cursor is/isn't ove the JLabel -tom

Member Avatar for mcclth
0
97
Member Avatar for mus_203

A simple yet effective way to solve this would be to use a for loop to compare the elements of each array to the other using the for loop's variable. If they were equal, increment a counter variable (but don't forget to reset it after each use)

Member Avatar for mus_203
0
115
Member Avatar for grifflyn

When you use .hasMoreTokens(), it returns a value and it seem to be that you aren't doing anything with this value - "while ( tTokens.hasMoreTokens() )" - so the while() never knows what is being satisfied or not. You need to make a condition in a while statement. Look up …

Member Avatar for mcclth
0
189
Member Avatar for vrc_sekhar

try this: public void update (Graphics page) { paint(page); } That way, instead of updating the whole page (which erases first), it just draws to it.

Member Avatar for mcclth
0
141
Member Avatar for mcclth

I am working on a program which creates an arraylist containg all of the cards in a 52 card deck and then randomly selects 20 of them. I would like to have the program display the images of the cards, but I lack knowledge and resoursces to figure out how …

0
64
Member Avatar for nevets56

I'm not sure what method you are using to do this program, but a simple way to count the vowels would be to use the String Tokenizer class and set the delimeters to vowels. Use a while structure that checks .hasMoreTokens and loops through until there aren't any left. I …

Member Avatar for mcclth
0
101

The End.