0

I want to use swing methods like Jframe,Jbutton etc.. But i am getting the code part but not the design part.

The first image shows the console output:

enter image description here

It show unable to import swing library:

enter image description here

Zabuzard
  • 25,064
  • 8
  • 58
  • 82
G.MAHESH
  • 120
  • 11
  • You already try to configure JRE in preferences, right? – rkosegi Oct 14 '18 at 09:57
  • @rkosegi i have jre 10.0.2 and jdk 10.0.2. they work perfectly when i use java for programming – G.MAHESH Oct 15 '18 at 11:13
  • See my answer here: https://stackoverflow.com/a/50267304/2849346 - It is a known problem, yet unsolved. :/ – MWiesner Oct 18 '18 at 14:26
  • Possible duplicate of [How to deal with 'Incompatible Java Versions running 0' in Eclipse Window Builder?](https://stackoverflow.com/questions/50191328/how-to-deal-with-incompatible-java-versions-running-0-in-eclipse-window-builde) – MWiesner Oct 18 '18 at 14:27

0 Answers0