If you're open to using different types of GUIs I can help you make a custom GUI that has multiple text fields where the user can enter text. Or, if you have to use JOptionPane, you'll have to wait and see if this is possible - maybe someone else here knows how to do it. Let me know.
No, it doesn't necessarily have to be a JOptionPane, but that was the easiest way when I was only taking one input text field, because of the showInputDialog option. I did see that suggestion about using an array for message, but I couldn't figure out how to get it to work. Could you give me an example of what they mean
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.
I am writing a java program that needs to execute shell commands, so I wrote a function that would take the command to execute as a string (ie: "mkdir ~/Folder1") and execute that command with the shell. Here is the function:
Runtime run = Runtime.getRuntime();
Process pr = ...
Hey, so I wanna ask how I need to create a method who will remove word if in that word is 2 same chars. Example: "Potato" in this word there is a 2 "o" chars so this word will need to be removed. "Forum" in this word there is no ...