Hello,
I have Eclipse 3.2.2 and jre 1.6 installed.
I have tried to insert new class, that use JOptionPane,
but I have written :
package javax.swing.JOptionPane and it's an unknows class in Java.
Are newer version ommited JOptionPane, and what is the alternative of
JOptionPane ?
Thanks :)
Eric Sosman - 27 Jun 2007 22:39 GMT
Mr. X. wrote On 06/27/07 17:24,:
> Hello,
> I have Eclipse 3.2.2 and jre 1.6 installed.
[quoted text clipped - 4 lines]
> Are newer version ommited JOptionPane, and what is the alternative of
> JOptionPane ?
Use
import javax.swing.JOptionPane;
Note "import" instead of "package".

Signature
Eric.Sosman@sun.com
IchBin - 28 Jun 2007 00:05 GMT
> Mr. X. wrote On 06/27/07 17:24,:
>> Hello,
[quoted text clipped - 11 lines]
>
> Note "import" instead of "package".
Just to let you know, since you are using Eclipse, you can automatically
let Eclipse resolve all of your imports. Just do one of the following:
- Ctrl+Shift+O
- Menu Source \ Organize Imports

Signature
Thanks in Advance... http://weconsulting.org
IchBin, Philadelphia, Pa, USA http://ichbinquotations.weconsulting.org
______________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Roedy Green - 28 Jun 2007 15:06 GMT
On Thu, 28 Jun 2007 00:24:46 +0300, "Mr. X."
<no_spam_please@nospam_please.com> wrote, quoted or indirectly quoted
someone who said :
>I have Eclipse 3.2.2 and jre 1.6 installed.
Start with HelloWorld. See
http://mindprod.com/jgloss/gettingstarted.html
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com