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: 33185
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: Sun Jul 21 14:52:00 GMT 2024

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

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

Back to the top