Answer the question
In order to leave comments, you need to log in
Why is Intelij Idea highlighted in red when importing swing, writes an error, although the program is running?
Intelij Idea when importing swing highlights in red,
that is, in "import javax.swing.*;" the word swing is red and the error "cannot resolve symbol 'swing' " appears in the margins. And, accordingly, further in the code, all "
JOptionPane
." are red with the same error in the margins.
as a beginner, they would be very useful to me)
Need advice
Answer the question
In order to leave comments, you need to log in
It's weird that IDEA doesn't usually do that, it's not Eclipse! If the code works, then it should usually disappear when the platform is restarted.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question