i am facing problem while taking input via...JOptionPane.showInputDialog()....plz tell me
what package i have to import for it.....:rolleyes:

Well, read the API doc. Which package does it say JOptionPane belongs to?

how can i have user input in objcet oriented language.plzzz tell me code with exaple.

tell me hoe to take input from user in object oriented language

Start your own thread rather than ressurecting zombies. And read the API docs, as already pointed out, as well as looking at the tutorials, as well as googling for a few examples (i.e. add the word "example" to your Google search) before you go begging for scraps on a forum. At least make it look like your trying.

Closing this thread now.