Method jump

Hi

I am trying to write a method that displays a dialogue box that prompts the user for the number of times an object should jump the dialogue box has an initial answer of 3 then if it is on an even number of stones

on odd it should change colour to blue jump then change colour back again the string number should be converted to an integer this expression will return true or false (x % 2 !=0)

this is my effort

public void jumps()

x = number of jumps

int=3

owDialog.request.

Please dont be too critical it took 5 hrs of trying please help

[596 byte] By [Darena] at [2007-11-27 2:10:23]
# 1
I can't see a method in this code. I was also find it easier to understand what you are trying to say if you included things like full stops. I know this is picky and it takes time, but so does trying to work out what you are saying.
Tavea at 2007-7-12 2:02:21 > top of Java-index,Java Essentials,New To Java...