hey all

I have a program to write and I need to use the JOptionPane dialog box to use JOptionPane to say Yes_No_Option, all I would like to know what is the code to be used , how does it work and will it work in a program.

The API doc includes example code. The Oracle tutorials cover this as well.
Yes, it works in a program

hi j
do u all have it here on this site the oracle tutorials and api and where on this site i can find it and does integer.value0 worked also

They are on oracles site. Just google them.
What's integer.value()?

integer.value()
is a compile time error waiting to happen.

  • JOptionPane can returns number, date, image, string

  • as is mentioned read API/Oracle tutorial - How to use Dialogs - two-three parts about JOptionPane

thanks mkorbel and j

thanks stultuske

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.