Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » 'JOptionPane' class(unable to use 'JOptionPane' class)
'JOptionPane' class [message #1861238] Sun, 01 October 2023 20:38 Go to next message
Nnabuike David Agboja is currently offline Nnabuike David AgbojaFriend
Messages: 1
Registered: October 2023
Junior Member
A beginner here, I was following a video tutorial, and the narrator was able to use the class but I'm not, there must be something somewhere that I'm missing.
Re: 'JOptionPane' class [message #1861245 is a reply to message #1861238] Mon, 02 October 2023 08:06 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33258
Registered: July 2009
Senior Member
You have a module project. I see a package-info.java. In that case you need to import the module, in the package.info.java, that defines javax.swing package. Or you delete the package-info.java to not have a modular project.

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Open application using Eclipse Temurin OpenJDK
Next Topic:MacOS Installation: How to generailze?
Goto Forum:
  


Current Time: Thu Dec 05 04:56:37 GMT 2024

Powered by FUDForum. Page generated in 0.08610 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top