Used for information messages. Shows a dialog requesting input from the user parented to. Sign up using Facebook. Bound property name for inputValue. Sign up or log in to customize your list. JTextField will be used. All Places Oracle Community OTN Archived Forums Swing [Archive].
Learn more about hiring developers or posting ads with us. Join the Stack Overflow Community. Stack Overflow is a community of 7. Join them; it only takes a minute:. The error was "The method showOptionDialog Component, Object, String, int, int, Icon, Object, Object in the type JOptionPane is not applicable for the arguments null, String, int, int, null, Object, Object ". Here's my code below. Inverse of a String" . Dec 3 '14 at BartHofma I tried that but it didn't work. I also tried to match the arguments still didn't work.
You don't have the right number of arguments. Here's the structure for showOptionDialog Sign up or log in. Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest. Podcast Data Team Assemble!
Java Swing #1 "JOptionPane" Tutorial
Apr 18, · Apr 17, 44 PM (in response to ) right i meant is there some sort of JOptionPane. showInputDialog. Apr 18, AM. A collection of JOptionPane showInputDialog examples, including simple textfield examples and a combo box example, plus, how to control the dialog title and icon. In this tutorial, you will learn how to create simple dialogs by using JOptionPane class with code example.