)
}
public static void doThisOne() (
javax.swing.JOptionPane.showMessageDialog(null,"Ho w I wonder what you are");
javax.swing.JOptionPane.showMessageDialog(null,"Up above the world so high");
}

-----------------------------------------------------------------------
is it because doThisOne and doThis isn't given a value?

02-25-2009, 04:00 AM

CJSLMAN

huh... what is the problem or question?

Luck, CJSL

02-25-2009, 04:51 AM

DrKush

I imported the whole java.lang, dont know if you need all that, but it works on my end. also note some of the bracers were ( or ). What exactly are you trying to do with this program?
import java.lang.*;
public class DoThisOneTwinkle //need to define public or privte class
{
public static void main(String[] args)
{ //bracer was (
javax.swing.JOptionPane.showMessageDialog(null,"Tw inkle Twinkle little star");
doThis();
javax.swing.JOptionPane.showMessageDialog(null,"Li ke a diamond in the sky");
}
public static void doThis()
{
javax.swing.JOptionPane.showMessageDialog(null,"Ho w I wonder what you are");
javax.swing.JOptionPane.showMessageDialog(null,"Up above the world so high");

}//bracer was )

public static void doThisOne()
{//bracer was (
javax.swing.JOptionPane.showMessageDialog(null,"Ho w I wonder what you are");
javax.swing.JOptionPane.showMessageDialog(null,"Up above the world so high");
}
}