Have you tried JOptionPane class
doesn't JOptionPane meant that i will be using a dialog box? if so, this is not what i want, i do not want to use dialog boxes....
what i am looking for is something simple, that will recieve a string from the console or a function call.
for example in C++:
cout << "Please enter a number:" ;
cin >> number;
here, there is no dialog box's, just a simple request and simple recive.
thx