public GuiPrototypeScreen1() {
GuiPrototypeScreen1Layout customLayout = new GuiPrototypeScreen1Layout();
Object[] possibleValues = { "Search", "Contribute" };
Object selectedValue = JOptionPane.showInputDialog(null,
"Do you want to ", "Welcome",
JOptionPane.INFORMATION_MESSAGE, null,
possibleValues, possibleValues[0]);
Hey guys
i need help because i am completly stuck. All i want is when a string is selected to redirect me to another Gui. I have no clue how Action listeners work on JOptionPane
Thanks in advance