Question: I don't know why the JOptionPane is not working? Eclipse File Edit Source Refactor Navigate Search Project Run Window Help * 70% CO Thu Oct

 I don't know why the JOptionPane is not working? Eclipse File

I don't know why the JOptionPane is not working?

Eclipse File Edit Source Refactor Navigate Search Project Run Window Help * 70% CO Thu Oct 4 11:52 AM Q : eclipse-workspace- GosselinExam 1Part2/src/GosselinExam 1Part2/part2a.java Eclipse IDE Quick AccessE Package Explorer | -a D "Entrypoint.java Dpart2a.java 3 inport javax swing. J0OptionPane:l 5 public class part2a Encapsulation GosselinExam1Part2 8 public part2a) JRE System Library [JavaSE-9] 10 Find String inputData; String outputMessage String carchoices"exitin-Henry nz sallyn Bonzoin4 -nothing" Gosse inExam1Part2 12 13 14 15 16 17 18 19 20 21 rnames; D module-info-Java int HenryRental0neOutputMessage948701; int HenryRentalOneInputMessage948785; int HenryRentalTwo0utputMes sage 940786 ; int HenryRentalTwonputMe int HenryRentaLThreeDutputMessage 940843; int HenryRentaLThreeInputMessage 940874; HelloWorld Helloworld2 Lab-4 sage948842; int SallyRentalOneOutputessage7476; int SallyRentalOneInputMessage int SallyRentalTwoOutputMessage7565 int SallyRentalTwoInputMessage int SallyRentalThreeDutputMessage7571; int SallyRentalThreeInputMessage7620; 23 24 25 7565 7566 27 28 29 30 31 32 GosselinEx: int BonzoRenta10neOutputMes sage = 36070; int BonzoRenta10neInputMessage 36106; int BonzoRentalTwooutputMessage-36110 int BonzoRentalTwonputMessage 36207; int BonzoRentalThreeDutputMessage 36213; int BonzoRentalThreeInputMessage 36279; part2a "part2a() returnAv displayA e returnA displayA e returnA 34 35 36 37 38 inputData-l0ptionPane.showInputDialog("Please choose a rental car "+carchoices); carnames Integer.parseInt( inputData); displayA , Problems @ Javadoc DeclarationConsole Coverage sterminated> Entrypoint Java Application Library Java/JavaVirtua Machinesjdk-9.0.4jk/Contents/Homebinjava (Oct 4, 2018, 11:50:19 AM) OPtion Pane cannot be resolved JOptionPane cannot be resolved JOptionPane cannot be resolved JOptionPane cannot be resolved at GosselinExam1Part2/GosselinExam1Part2.part2a.cinit>(part2a.java:34) at GosselinExam1Part2/GosselinExam1Part2.Entrypoint.main Entrypoint.java:9) Smart Insert3:32

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!